1
0
forked from mirrors/0ad
Commit Graph

5197 Commits

Author SHA1 Message Date
Sam Assoum 6d35c7c026 This was SVN commit r6283. 2008-07-25 19:27:32 +00:00
freenity 837ef022bd Adding a list of currently playing players. Available at Ctrl+P
The system.cfg change only adds Ctrl+P hotkey.

This was SVN commit r6282.
2008-07-25 18:17:18 +00:00
MattSherman 728e7550eb This was SVN commit r6281. 2008-07-25 06:50:33 +00:00
MattSherman b1a40a18a1 This was SVN commit r6280. 2008-07-25 06:33:36 +00:00
Mythos_Ruler 6e955693af This was SVN commit r6279. 2008-07-25 05:34:11 +00:00
Matei 1144798b70 Use traits.id.tooltip rather than traits.id.rollover for descriptions on train buttons.
This was SVN commit r6278.
2008-07-24 06:12:17 +00:00
Matei d0c6805725 Fixed bug that was causing population to go negative. It was due to a unit being killed by multiple enemies in the same frame, which led to multiple calls of the death event handler. The fix is twofold: First, kill() only calls the event handler the first time the unit is killed. Second, damage() (in JS), which apart from killing things also loots them, makes sure that the unit is not already being destroyed. This latter fix is to ensure that we don't get a huge amount of loot by simply attacking a low-HP unit with many soldiers simultaneously, so they kill it in the same frame.
This was SVN commit r6276.
2008-07-24 05:50:45 +00:00
Matei 75a9b2f357 Made stance-setting work with multiplayer.
This was SVN commit r6274.
2008-07-24 05:25:14 +00:00
Mythos_Ruler 8244deee6a This was SVN commit r6273. 2008-07-24 05:09:02 +00:00
Mythos_Ruler 33d1fab48d This was SVN commit r6272. 2008-07-24 02:36:59 +00:00
Mythos_Ruler e98ae41675 This was SVN commit r6271. 2008-07-23 06:32:53 +00:00
Matei 2ff3c7ac61 Added combat test map.
This was SVN commit r6270.
2008-07-23 05:58:44 +00:00
janwas fa7ce687f0 fix error handling - ensure SoundGroup doesn't crash when sound loading fails (previously it was only handling the case where loading failed due to sound being disabled)
This was SVN commit r6269.
2008-07-23 05:39:54 +00:00
Matei aebe9a7936 Added active field to players to check whether the player is a human or CPU.
This was SVN commit r6267.
2008-07-23 05:21:57 +00:00
Matei 95f3036e74 Cleaner production icon tooltips.
This was SVN commit r6266.
2008-07-23 05:03:46 +00:00
janwas 9f909073b4 fixes from work
- file: prevent error when closing a file twice (e.g. close and dtor)
- file_system_posix: export from DLL
- path_util: add some unicode versions of functions
- ia32: robustify, prevent hook reentry due to failure in disassembly,
gracefully handle breakpoints that overwrite code
- wdbg_heap: fix wdbg_heap_Validate

This was SVN commit r6264.
2008-07-21 20:43:37 +00:00
freenity 12b7b2c9b1 Adding building/training price and description.
This was SVN commit r6261.
2008-07-20 20:49:43 +00:00
Ykkrosh b979033385 Stopped CLogger outputting error messages with debug_printf while in test cases that are intentionally triggering errors.
This was SVN commit r6259.
2008-07-19 19:02:27 +00:00
Ykkrosh 4a57fed5a7 Make CxxTest output on Windows go to OutputDebugString instead of stdout, so it'll appear in the VS debug output window.
This was SVN commit r6258.
2008-07-19 19:00:32 +00:00
janwas e063542a5f fix memory leak in leak detection code :P
This was SVN commit r6257.
2008-07-19 18:35:33 +00:00
freenity 6eb29f76d3 Already existed as a property.
This was SVN commit r6256.
2008-07-19 02:43:35 +00:00
Mythos_Ruler 9c8069631e This was SVN commit r6255. 2008-07-19 01:59:11 +00:00
Ykkrosh a3fb9051b6 Fix MSVC build errors and warnings
This was SVN commit r6254.
2008-07-19 00:58:34 +00:00
Ykkrosh 8f6d3a75a5 (Missed from previous commit)
This was SVN commit r6253.
2008-07-19 00:40:08 +00:00
Ykkrosh 0f9294ce17 Fixed some strict aliasing warnings
This was SVN commit r6252.
2008-07-19 00:36:42 +00:00
Mythos_Ruler 314ec0ef3b This was SVN commit r6251. 2008-07-19 00:27:48 +00:00
Ykkrosh fbc3d22720 Use GCC's std::tr1::unordered_* classes instead of the now-deprecated __gnu_cxx::hash_* when possible
This was SVN commit r6250.
2008-07-19 00:20:54 +00:00
Ykkrosh 0b32d1b674 Fix warning about static_assert being a future (TR1) keyword
This was SVN commit r6249.
2008-07-19 00:13:53 +00:00
freenity afae8e6c7d Adding the getName() method to be used from JS scripts.
This was SVN commit r6248.
2008-07-18 23:55:13 +00:00
Ykkrosh 5fcd1601a1 Fixed multi-line comment warning
This was SVN commit r6247.
2008-07-18 23:52:29 +00:00
Ykkrosh 6d92213077 Fixed "it=it=map.begin()" typo
This was SVN commit r6246.
2008-07-18 23:51:44 +00:00
Ykkrosh 4e539a652f Fixed one set of annoying DCDT warnings
This was SVN commit r6245.
2008-07-18 23:49:51 +00:00
freenity 8f46070b2e Reverting a change from #6239 because of the compilation error.
This was SVN commit r6244.
2008-07-18 23:00:04 +00:00
Mythos_Ruler 4a755d72ea This was SVN commit r6243. 2008-07-18 22:33:51 +00:00
Mythos_Ruler ac89a0fc86 This was SVN commit r6242. 2008-07-18 22:10:46 +00:00
freenity debcea96d0 This was SVN commit r6241. 2008-07-18 21:24:00 +00:00
janwas fe6370aff8 more dehydra. disabled lockfree module (not in use).
This was SVN commit r6240.
2008-07-17 17:00:00 +00:00
janwas 8e86d29301 dehydra fixes (mostly copy-ctor warnings)
This was SVN commit r6239.
2008-07-17 14:23:51 +00:00
Mythos_Ruler d1cb55d701 Hannibal on his elephant
This was SVN commit r6238.
2008-07-17 06:19:57 +00:00
Matei 86ea20df7b Fix a crash which happened when a unit with no actions.move tried to run (it got past the JS guard because JS code crashed).
This was SVN commit r6237.
2008-07-16 04:23:44 +00:00
freenity fe55a8b734 Adding a shadow to the text, so it is visible on bright maps.
This was SVN commit r6234.
2008-07-15 17:13:55 +00:00
freenity 50166bb456 This was SVN commit r6233. 2008-07-15 17:01:02 +00:00
freenity 8fee4a1fb3 Adding new function to show status messages for lacking resources when building and training units.
This was SVN commit r6232.
2008-07-15 12:55:44 +00:00
freenity f182617c72 Adding new function to show status messages for lacking resources when building and training units.
This was SVN commit r6231.
2008-07-15 12:54:28 +00:00
Mythos_Ruler 7eee81ec82 This was SVN commit r6230. 2008-07-15 09:15:19 +00:00
freenity 9a6eab9fac This was SVN commit r6229. 2008-07-14 21:42:14 +00:00
Matei 0cbb38bfd9 Fixed 3+ player games. The problem was the FinalizeSlots method in GameAttributes, which confused player and slot IDs by deleting nonexistent slots/players from the array. Since this doesn't seem particularly useful (and is even undesirable for scenarios where some players *want* to be the last slot and to leave others empty), I commented it out rather than having the code incur the extra complexity of supporting renumberings.
This was SVN commit r6228.
2008-07-14 06:40:05 +00:00
Matei 8161197f0e Comment out error-producing code that tried to render player names in slots.
This was SVN commit r6227.
2008-07-14 06:29:57 +00:00
janwas 4027a8f11b dehydra-inspired fix: get rid of all using namespace std (potentially confusing / pollutes namespace).
Long iterator type names are better expressed via typedefs, anyway :)
(or 'auto' keyword of upcoming C++09)

This was SVN commit r6226.
2008-07-13 21:22:03 +00:00
Matei 9025056ffd Made rally point setting net-safe.
This was SVN commit r6225.
2008-07-13 17:37:45 +00:00