1
0
forked from 0ad/0ad
Commit Graph

4257 Commits

Author SHA1 Message Date
cfeda2cbab #fixed minor bug with soundgroups
This was SVN commit r4798.
2007-01-20 04:23:08 +00:00
2840694629 #updated soundgroups
fixed a small formating issue in the xml files, and removed a unused
test file.

This was SVN commit r4797.
2007-01-20 04:20:42 +00:00
f1fe80211c slightly nicer fix for goto-skips-init trouble
This was SVN commit r4796.
2007-01-19 23:03:35 +00:00
22cc0bd595 #Rearranged audio folder and made room for groups.
refs #138 moved soundgroup files into audio/groups folder.

This was SVN commit r4795.
2007-01-19 19:49:56 +00:00
5abeaa5558 #Added ambient sound resources.
#refs #138 Added new audio/soundscapes/building folder to build and
added new .ogg and .xml files.

This was SVN commit r4794.
2007-01-19 19:34:16 +00:00
95a1abbcf3 # Fixed Linux build
Forgot that you can't initialise std::exception with a message.
Fixed invalid goto jumping over declarations that aren't POD types with
no initialiser.

This was SVN commit r4793.
2007-01-19 18:06:54 +00:00
153e607006 # fix in sound resource management
.. as mentioned in
http://www.wildfiregames.com/forum/index.php?showtopic=10719&hl=
thanks to matei and philip!

bonus: refs #164
tried to alleviate that by moving the OS error bit to the very end,
which usually means it's beyond the end of the little window unless
you're looking for it. does that help?
i'll venture that the OS error *might* be useful in rare cases and it
wouldn't be bad to have in there.

This was SVN commit r4791.
2007-01-18 22:59:44 +00:00
2d98baf8e5 # Sound file fixes.
JSI_Sound: Fixed problems with freeing sounds after they've been played.
Fixed non-working exception code when failing to load a file (and made
it throw an obvious std::exception instead of a hidden LibError).
Changed most functions to return false when called on a sound that has
been played already, instead of causing an invalid-handle error.
Consistentised whitespace.

This was SVN commit r4789.
2007-01-18 16:24:37 +00:00
8da71a84a7 # Fixed crash when saving in actor editor
This was SVN commit r4788.
2007-01-18 15:29:12 +00:00
ad204e16c9 This was SVN commit r4787. 2007-01-18 07:24:49 +00:00
7e8e268ae1 This was SVN commit r4786. 2007-01-18 07:06:09 +00:00
55e97b12a1 This was SVN commit r4785. 2007-01-18 07:05:52 +00:00
34a51429bd This was SVN commit r4784. 2007-01-18 07:05:23 +00:00
04c0199303 This was SVN commit r4783. 2007-01-18 07:05:10 +00:00
90c483f3a9 This was SVN commit r4782. 2007-01-18 06:20:54 +00:00
c065b6fc2a Fix VC2003 compilation (hopefully).
This was SVN commit r4780.
2007-01-17 03:41:23 +00:00
6cfb96855a # Added initial play-testing support in the scenario editor.
Atlas: Added simulation play/pause/reset controls; automatically plays
while recording cinematics.
FFmpeg: Fixed broken output files.
MapReader: Fixed entity loading.
ObjectHandlers: Made unit preview more robust when the preview unit gets
destroyed.
Various: Replaced manual matrix construction with SetYRotation call.
Turned some more CStr8 back into CStr.
h_mgr: Optimisation - don't calculate slow debug-output strings if
they're never going to be seen (since it takes a few hundred
milliseconds).
TerrainRenderer: Made more tolerant of accidental negative times.
Entity: Fixed m_refd being out of date when deleteAll is called. Fixed
problems when doing an initializeAll...deleteAll...initializeAll
sequence.
SCN: Removed non-useful AoE3Ed code that never did anything.
SVNLog: Made output more valid and made titles more descriptive, so it
works properly in FF's live bookmarks.

This was SVN commit r4779.
2007-01-17 03:25:20 +00:00
arissa_nightblade
bd2fc4f2f4 Put the Armor Points in the correct spot.
This was SVN commit r4778.
2007-01-17 01:27:08 +00:00
pyrolink
31d1e14912 #Cinematic improvements; trigger features
-Cinematic rotation shouldn't suck anymore
-Triggers still suck

This was SVN commit r4777.
2007-01-16 23:22:25 +00:00
3fa6d64063 forgot to add, sorry
This was SVN commit r4775.
2007-01-16 21:16:20 +00:00
5d05ef4ea8 # Experimental Atom feed output for public revision log
This was SVN commit r4774.
2007-01-16 00:46:09 +00:00
arissa_nightblade
62ccd531ed Added Armor and Damage values using the new config system.
This was SVN commit r4773.
2007-01-15 21:51:55 +00:00
94099e035a # housekeeping
. add note to HAVE_C99 as per last meeting.
. moved a few extern declarations to header (required for some code
analysis tools)
. tiny warning fix in SoundGroup

This was SVN commit r4772.
2007-01-14 23:13:08 +00:00
3f017c418c Removed some header files from header files.
Changed SoundGroupTable to use the right string type for the comparison.
Also changed from CStr8 to CStr because I prefer that spelling (and it's
more consistent with most other code).

This was SVN commit r4771.
2007-01-13 22:44:42 +00:00
77f9d23d0f Added m_SoundGroupTable in CEntityTemplate to allow the soundgroup file for each animation to be specified in XML.
This was SVN commit r4769.
2007-01-13 20:14:03 +00:00
e505843bb6 Added some example sound definitions in template_unit_infantry.
This was SVN commit r4768.
2007-01-13 20:13:05 +00:00
2390a122fe Forgot to save some files last time..
This was SVN commit r4767.
2007-01-13 18:45:09 +00:00
d5e5bb5e09 # Updates to the combat damage system.
This was SVN commit r4766.
2007-01-13 18:41:24 +00:00
38755cc589 # improvements to app_hooks
thesis pointed out more dependencies that had to be stomped on.
0ad-specific apphooks are now in pyrogenesis.
added function AH_IS_DEFINED (useful for ogl_tex, which now has its own
default version of a hook)

This was SVN commit r4765.
2007-01-13 18:37:51 +00:00
f5bcb031ff Fix for GCC
This was SVN commit r4764.
2007-01-13 18:32:03 +00:00
edab93934e #added sound cone functionality for possible doplar effects, added ability to check if a sound is currently playing.
refs #138 added snd_set_cone and is_playing to snd_mgr.

This was SVN commit r4762.
2007-01-13 16:15:17 +00:00
0b150ee311 #Added Sound Group Manager, updated Sound Groups.
refs #138.  Added SoundGroupMgr.h and .cpp, revised loading and clean up
in SoundGroup class.

This was SVN commit r4761.
2007-01-13 16:00:52 +00:00
e0a6c50ce1 fixed a wrong shield
This was SVN commit r4760.
2007-01-13 06:55:36 +00:00
68e3f75195 # Six new Celtic heroes
Preliminary version, some are missing mounts and some props are yet to
be made

This was SVN commit r4759.
2007-01-13 06:30:36 +00:00
91db07faa2 Handle armour differently: Instead of having a value and percents for each type, just have a different value for each type. This makes it easier to upgrade *one* type of armour at once.
This was SVN commit r4758.
2007-01-12 16:18:20 +00:00
5d3f85a7d0 #Committed rough draft of a map for cinematic testing.
This was SVN commit r4757.
2007-01-09 17:38:23 +00:00
ec69bccb2c # Tidied up some code.
- Made some classes not be singletons, since there's no reason why they
should be.
 - Made them non-global too (because globals have unclear lifetimes, and
make it harder to test things, etc). They're now owned by CGameView and
CWorld, and mostly accessed via g_Game or arguments (vaguely trying to
avoid the graphics code calling into the game code).
 - Moved CGameView implementation into pimpl, so the header file isn't
so heavy.
 - Changed a few pointers into references, to indicate that they're
never NULL.

This was SVN commit r4756.
2007-01-08 01:56:46 +00:00
8094125b18 Avoided "unknown pragma" warning in VS2003.
restrict: Changed documentation to note that it can be used on member
functions to restrict 'this', since that seems to work in GCC and MSVC
(though undocumented in the latter). Removed ICC-specific keyword
spelling because it accepts the GCC/MSVC spellings too.

This was SVN commit r4754.
2007-01-07 18:09:14 +00:00
785694a4af small convenience requested by philip: file_stats_dump is now disabled by default (use debug_filter_add("FILE_STATS") to reenable)
This was SVN commit r4753.
2007-01-07 17:35:26 +00:00
95f8aa126f # fixes for overzealous vc8 optimization and housekeeping
these are required by thesis and improve 0ad code.
- sysdep/win init/shutdown mechanism is now better documented and
survives clever vc8 optimization
- moved some extern declarations from win_internal into separate headers

main: remove debug_filter_add("LOADER") - was for my debugging
convenience

This was SVN commit r4752.
2007-01-07 16:50:36 +00:00
ecb83f12f4 added mining sounds from kit challis/ browncoat and mining.xml, updated building/ambient with new file paths
This was SVN commit r4751.
2007-01-07 07:04:26 +00:00
4877afd443 added audio file folders, building ambiance ogg's and xml's
This was SVN commit r4750.
2007-01-07 06:45:54 +00:00
3f8c636531 This was SVN commit r4749. 2007-01-06 23:14:18 +00:00
afe3aa860e This was SVN commit r4748. 2007-01-06 22:15:36 +00:00
b326054fba This was SVN commit r4747. 2007-01-06 22:11:05 +00:00
ff1f05b4a9 This was SVN commit r4746. 2007-01-06 22:04:07 +00:00
e035d781df Quintus Fabius Maximus texture, actor, and entity committed to the game. Amazing texture done by Brendan. :)
This was SVN commit r4745.
2007-01-06 21:52:50 +00:00
3c8dd6869c Fixed an upgrade bug.
This was SVN commit r4743.
2007-01-06 05:10:48 +00:00
d34ef783bf (Whoops, wrong version number)
This was SVN commit r4741.
2007-01-06 02:48:32 +00:00
ab94e73385 Added 'restrict' support for non-GCC compilers (partly to benefit from the optimisation, partly to make it more likely that bugs will be found if restrict is ever used incorrectly).
Renamed to 'RESTRICT' so it doesn't conflict with __declspec(restrict)
in MSVC's standard headers.

This was SVN commit r4740.
2007-01-06 01:33:13 +00:00