Commit Graph

4100 Commits

Author SHA1 Message Date
Ykkrosh 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
Ykkrosh 8da71a84a7 # Fixed crash when saving in actor editor
This was SVN commit r4788.
2007-01-18 15:29:12 +00:00
Mythos_Ruler ad204e16c9 This was SVN commit r4787. 2007-01-18 07:24:49 +00:00
Mythos_Ruler 7e8e268ae1 This was SVN commit r4786. 2007-01-18 07:06:09 +00:00
Mythos_Ruler 55e97b12a1 This was SVN commit r4785. 2007-01-18 07:05:52 +00:00
Mythos_Ruler 34a51429bd This was SVN commit r4784. 2007-01-18 07:05:23 +00:00
Mythos_Ruler 04c0199303 This was SVN commit r4783. 2007-01-18 07:05:10 +00:00
Mythos_Ruler 90c483f3a9 This was SVN commit r4782. 2007-01-18 06:20:54 +00:00
Ykkrosh c065b6fc2a Fix VC2003 compilation (hopefully).
This was SVN commit r4780.
2007-01-17 03:41:23 +00:00
Ykkrosh 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
janwas 3fa6d64063 forgot to add, sorry
This was SVN commit r4775.
2007-01-16 21:16:20 +00:00
Ykkrosh 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
janwas 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
Ykkrosh 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
Matei 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
Matei e505843bb6 Added some example sound definitions in template_unit_infantry.
This was SVN commit r4768.
2007-01-13 20:13:05 +00:00
Matei 2390a122fe Forgot to save some files last time..
This was SVN commit r4767.
2007-01-13 18:45:09 +00:00
Matei d5e5bb5e09 # Updates to the combat damage system.
This was SVN commit r4766.
2007-01-13 18:41:24 +00:00
janwas 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
Ykkrosh f5bcb031ff Fix for GCC
This was SVN commit r4764.
2007-01-13 18:32:03 +00:00
nd3c3nt 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
nd3c3nt 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
Wijitmaker e0a6c50ce1 fixed a wrong shield
This was SVN commit r4760.
2007-01-13 06:55:36 +00:00
Wijitmaker 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
Matei 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
Mythos_Ruler 5d3f85a7d0 #Committed rough draft of a map for cinematic testing.
This was SVN commit r4757.
2007-01-09 17:38:23 +00:00
Ykkrosh 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
Ykkrosh 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
janwas 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
janwas 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
lostchocolatelab 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
lostchocolatelab 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
Mythos_Ruler 3f8c636531 This was SVN commit r4749. 2007-01-06 23:14:18 +00:00
Mythos_Ruler afe3aa860e This was SVN commit r4748. 2007-01-06 22:15:36 +00:00
Mythos_Ruler b326054fba This was SVN commit r4747. 2007-01-06 22:11:05 +00:00
Mythos_Ruler ff1f05b4a9 This was SVN commit r4746. 2007-01-06 22:04:07 +00:00
Mythos_Ruler 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
Matei 3c8dd6869c Fixed an upgrade bug.
This was SVN commit r4743.
2007-01-06 05:10:48 +00:00
Ykkrosh d34ef783bf (Whoops, wrong version number)
This was SVN commit r4741.
2007-01-06 02:48:32 +00:00
Ykkrosh 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
Matei 667ae032ef Fixed a bug in the XML (charge action should be in actions.attack.charge).
This was SVN commit r4739.
2007-01-05 21:40:04 +00:00
Matei 5aba6861ae Updated entity script to work with traits.promotion.entity.
This was SVN commit r4738.
2007-01-05 19:16:11 +00:00
Elpea 25e0338dad Added traits.promotion.entity to unit entities that gain ranks, so that we don't have to use file names to find unit's upper ranks.
This was SVN commit r4737.
2007-01-05 05:36:16 +00:00
Ykkrosh 2d4f5478de Added ICC-Linux PCH support in Premake. (It's much more like the MSVC approach than the GCC one.)
Passed --have-std to CxxTest so it always adds the same code before
including precompiled.h, so that the PCH is usable.

This was SVN commit r4736.
2007-01-04 03:22:23 +00:00
Ykkrosh 0bdc1c22c8 # Made the Atlas scenario editor partly work on Linux.
- Made the canvas get shown before it's used.
 - Added some bits of SDL initialisation so that SDL_GL_GetProcAddress
is happy.
SnapSplitterWindow: fixed virtual override.

This was SVN commit r4735.
2007-01-03 15:45:13 +00:00
Ykkrosh fffc32f8ad Oops, bug. Fixed.
This was SVN commit r4734.
2007-01-02 18:55:24 +00:00
Ykkrosh 1926317975 # Linux/ICC fixes
- added "--icc" Premake flag, to disable PCH and set different warning
flags
 - added required headers
 - changed debug_warn to not generate constant-expression-in-conditional
warnings
 - changed FAM popup-warning into a log message, so it's not so
irritating
 - Atlas: pass around wxGLCanvas instead of wxGLContext, because the
context is sometimes just NULL

This was SVN commit r4733.
2007-01-02 18:11:00 +00:00