1
0
forked from 0ad/0ad
Commit Graph

5543 Commits

Author SHA1 Message Date
6e955693af This was SVN commit r6279. 2008-07-25 05:34:11 +00:00
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
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
75a9b2f357 Made stance-setting work with multiplayer.
This was SVN commit r6274.
2008-07-24 05:25:14 +00:00
8244deee6a This was SVN commit r6273. 2008-07-24 05:09:02 +00:00
33d1fab48d This was SVN commit r6272. 2008-07-24 02:36:59 +00:00
e98ae41675 This was SVN commit r6271. 2008-07-23 06:32:53 +00:00
2ff3c7ac61 Added combat test map.
This was SVN commit r6270.
2008-07-23 05:58:44 +00:00
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
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
95f3036e74 Cleaner production icon tooltips.
This was SVN commit r6266.
2008-07-23 05:03:46 +00:00
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
12b7b2c9b1 Adding building/training price and description.
This was SVN commit r6261.
2008-07-20 20:49:43 +00:00
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
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
e063542a5f fix memory leak in leak detection code :P
This was SVN commit r6257.
2008-07-19 18:35:33 +00:00
6eb29f76d3 Already existed as a property.
This was SVN commit r6256.
2008-07-19 02:43:35 +00:00
9c8069631e This was SVN commit r6255. 2008-07-19 01:59:11 +00:00
a3fb9051b6 Fix MSVC build errors and warnings
This was SVN commit r6254.
2008-07-19 00:58:34 +00:00
8f6d3a75a5 (Missed from previous commit)
This was SVN commit r6253.
2008-07-19 00:40:08 +00:00
0f9294ce17 Fixed some strict aliasing warnings
This was SVN commit r6252.
2008-07-19 00:36:42 +00:00
314ec0ef3b This was SVN commit r6251. 2008-07-19 00:27:48 +00:00
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
0b32d1b674 Fix warning about static_assert being a future (TR1) keyword
This was SVN commit r6249.
2008-07-19 00:13:53 +00:00
afae8e6c7d Adding the getName() method to be used from JS scripts.
This was SVN commit r6248.
2008-07-18 23:55:13 +00:00
5fcd1601a1 Fixed multi-line comment warning
This was SVN commit r6247.
2008-07-18 23:52:29 +00:00
6d92213077 Fixed "it=it=map.begin()" typo
This was SVN commit r6246.
2008-07-18 23:51:44 +00:00
4e539a652f Fixed one set of annoying DCDT warnings
This was SVN commit r6245.
2008-07-18 23:49:51 +00:00
8f46070b2e Reverting a change from #6239 because of the compilation error.
This was SVN commit r6244.
2008-07-18 23:00:04 +00:00
4a755d72ea This was SVN commit r6243. 2008-07-18 22:33:51 +00:00
ac89a0fc86 This was SVN commit r6242. 2008-07-18 22:10:46 +00:00
debcea96d0 This was SVN commit r6241. 2008-07-18 21:24:00 +00:00
fe6370aff8 more dehydra. disabled lockfree module (not in use).
This was SVN commit r6240.
2008-07-17 17:00:00 +00:00
8e86d29301 dehydra fixes (mostly copy-ctor warnings)
This was SVN commit r6239.
2008-07-17 14:23:51 +00:00
d1cb55d701 Hannibal on his elephant
This was SVN commit r6238.
2008-07-17 06:19:57 +00:00
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
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
50166bb456 This was SVN commit r6233. 2008-07-15 17:01:02 +00:00
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
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
7eee81ec82 This was SVN commit r6230. 2008-07-15 09:15:19 +00:00
9a6eab9fac This was SVN commit r6229. 2008-07-14 21:42:14 +00:00
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
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
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
9025056ffd Made rally point setting net-safe.
This was SVN commit r6225.
2008-07-13 17:37:45 +00:00
36b18f646f Added shouldRun parameter to order(ORDER_GENERIC) calls from scripts.
This was SVN commit r6224.
2008-07-13 16:31:03 +00:00
e4966f6f1b Added running support to GENERIC orders through a field that can be sent across the network (previous implementation used to be by setting properties on the entity itself).
This was SVN commit r6223.
2008-07-13 06:24:50 +00:00
922874e2ef This was SVN commit r6222. 2008-07-13 06:13:35 +00:00
d5fedc7c76 Fixing some multiplayer issues:
a) Run commands were not being sent accross properly because the JS just
directly set flags on the entity. Note: The current fix has the
side-effect of making it no longer possible to double-rightclick a
target to charge, run-gather, etc. That will be fixed in a later commit.
b) EntityLists were serialized in a format that made it impossible to
deserialize a zero-length list.

This was SVN commit r6221.
2008-07-13 05:56:27 +00:00