1
0
forked from 0ad/0ad
Commit Graph

5179 Commits

Author SHA1 Message Date
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
1e64089cdb Hide console window when launching atlas and actor viewer.
This was SVN commit r6220.
2008-07-13 04:57:16 +00:00
cccc55ce97 Adding ESC key confirmation.
This was SVN commit r6219.
2008-07-12 21:28:28 +00:00
7af5e039a7 Adding IsGameRunning() function
This was SVN commit r6218.
2008-07-12 21:27:38 +00:00
cc62b4196a Removed credits roll from main logo - it was too annoying to click it accidentally cause there was no way to get out.
This was SVN commit r6217.
2008-07-12 19:21:22 +00:00
f6ac13c15a Networking fixes - it now more or less works over ENet!
This was SVN commit r6216.
2008-07-12 19:08:38 +00:00
6980b066a3 add vc90* libs in case anyone wants to use vs2008
This was SVN commit r6215.
2008-07-12 14:28:36 +00:00
3c411dd174 large batch of Dehydra static code analysis fixes
(mostly passing arguments by const reference and checking LibError
return codes)

This was SVN commit r6214.
2008-07-12 10:45:11 +00:00
088f3b54be - Treat units with health.max = 0 (the default when not defined as immortal and unattackable. This applies to Settlements, trees, etc. Should solve the problem of these things being killed by arrows by mistake.
- Better "unit X has killed unit Y" message - now includes player
number.

This was SVN commit r6213.
2008-07-12 07:22:11 +00:00
01dc8c3d72 Fix an annoying error message when some properties of templates were not defined.
This was SVN commit r6212.
2008-07-12 07:11:27 +00:00
c743038e62 This was SVN commit r6211. 2008-07-12 06:57:34 +00:00
1f4c2f4c26 This was SVN commit r6210. 2008-07-12 06:21:50 +00:00
523728b24a This was SVN commit r6209. 2008-07-08 06:57:41 +00:00
2d7fb66862 This was SVN commit r6208. 2008-07-08 05:50:28 +00:00
875260f60a Minor fixes for OSX: stub for debug_set_thread_name, changed name for os_cpu_CallByEachCPU and changed header path for os-sysdeps
This was SVN commit r6207.
2008-07-06 19:52:55 +00:00