Commit Graph

4089 Commits

Author SHA1 Message Date
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
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
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
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
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
fffc32f8ad Oops, bug. Fixed.
This was SVN commit r4734.
2007-01-02 18:55:24 +00:00
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
15e7bae0ba Extra fixes
This was SVN commit r4731.
2007-01-01 22:56:24 +00:00
ebfd7910cf fixes: (after testing on other machine)
- add newly added dirs to premake.lua
- self_test is in lowlevel project and thus doesn't have cxxtest include
path set => must not include self_test.h
- wposix: make each _CRTIMP declaration extern "C" (can't rely on
definition of _CRTIMP, nor that the header is wrapped in extern "C" {})

This was SVN commit r4730.
2007-01-01 22:54:42 +00:00
1df436f07f # GCC fixes
This was SVN commit r4729.
2007-01-01 21:55:38 +00:00
0bb0df5b2c # new year's cleanup (reduce dependencies, clean up headers)
- remove headers always included from PCH
- nommgr.h is only included ifdef REDEFINED_NEW (allows leaving out the
mmgr stuff)
- in lib/*.cpp, moved the corresponding include file to right behind the
PCH (catches headers that aren't compilable by themselves)
- byte_order no longer depends on SDL
- add debug_level (another means of filtering debug output; needed for
thesis)
- split posix stuff up into subdirs (lib/posix and sysdep/win/wposix).
makes including only some of the modules (e.g. sockets, time) much
easier.

This was SVN commit r4728.
2007-01-01 21:25:47 +00:00
2d1543b93b Created a sample unit which automatically starts gathering the nearest object, for use in cinematics. Auto-gatherer versions of other units can be created by copying temp_hele_infantry_javelinist_b_gatherer.xml and changing the parent to the appropriate unit.
This was SVN commit r4727.
2006-12-31 06:23:33 +00:00
arissa_nightblade
8929e27ace Revised values for XML files. Updated Excel file.
This was SVN commit r4726.
2006-12-29 05:42:23 +00:00
b5403bcfc7 # Conversion of skeleton animations from COLLADA
This was SVN commit r4725.
2006-12-26 22:43:09 +00:00
24f06de815 # Optimised conversion of COLLADA models
Duplicate vertices are only stored once (then indexed multiple times),
whereas the old version needlessly repeated data.

This was SVN commit r4723.
2006-12-25 23:42:53 +00:00
ba666313f1 This was SVN commit r4722. 2006-12-23 20:35:59 +00:00
679d6bd376 This was SVN commit r4721. 2006-12-23 20:19:54 +00:00
c0637279e6 # Fixed a crash on older graphics cards.
This was SVN commit r4720.
2006-12-21 17:17:14 +00:00