1
0
forked from 0ad/0ad
Commit Graph

5155 Commits

Author SHA1 Message Date
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
3be2bfa7ac OSX implementation of rtl_AllocateAligned
This was SVN commit r6206.
2008-07-06 19:49:27 +00:00
23ade72800 Moved latium_generated back outside old since it is the default map.
This was SVN commit r6205.
2008-07-06 02:53:34 +00:00
1de82c5efe add cppdoc (and fix a warning in ogl_shader)
This was SVN commit r6204.
2008-07-05 18:46:12 +00:00
de60ef26bd This was SVN commit r6203. 2008-07-05 18:35:42 +00:00
ab7cd7a5fa avoid two warnings:
- recompiled enet without /GL and /LTCG because the game's release mode
doesn't include those, either (due to their heavy compile-time impact)
- wdbg_heap: wrap all allocation-hook logic in #ifndef NDEBUG to avoid
unreferenced local function warnings

This was SVN commit r6201.
2008-07-05 09:41:23 +00:00
e14d5be529 timing-related fix (only occurs with certain timer resolutions due to incorrect arithmetic)
frequency_filter wasn't dealing correctly with resolution = 0
.. which was happening due to incorrect cpu_i64FromDouble macros

This was SVN commit r6200.
2008-07-05 08:27:33 +00:00
ea75498bab This was SVN commit r6199. 2008-07-05 01:14:23 +00:00
aaccb15c0a another 64-bit fix, we're now getting there :D
(the change is inside #if !GCC_VERSION so it can't break GCC)

adding specializations for (un)signed long sounds good, it's just that
x64 MSC still treats size_t as distinct but not ssize_t. removing the
latter makes it build on win32 and win64.

This was SVN commit r6198.
2008-07-04 19:25:52 +00:00
11b308c347 fix detection of amd64 on VC and avoid 64-bit warning
This was SVN commit r6197.
2008-07-04 19:10:09 +00:00
5b757e536f fix: avoid reentering allocation hook if an error is raised within memory allocators
This was SVN commit r6196.
2008-07-04 18:02:54 +00:00
b46f8b9ed8 This was SVN commit r6195. 2008-07-04 16:03:20 +00:00
0ee1c9d2c4 This was SVN commit r6194. 2008-07-04 16:02:58 +00:00
6bf3e238e5 GCC fixes
This was SVN commit r6193.
2008-07-04 11:17:24 +00:00
984f3d2180 GCC fixes
This was SVN commit r6192.
2008-07-04 11:16:30 +00:00
b9c939402b GCC fixes
This was SVN commit r6191.
2008-07-04 11:15:47 +00:00
2be5d5b752 More GCC/64-bit fixes
This was SVN commit r6190.
2008-07-04 11:10:18 +00:00
4a73261ba1 fix - FMVector3::XAxis wasn't defined
This was SVN commit r6189.
2008-07-03 20:28:22 +00:00
2109f4eb0e Merged in Dacian's network changes.
This was SVN commit r6187.
2008-07-03 06:29:22 +00:00
b5d7fbbee6 This was SVN commit r6186. 2008-07-03 05:54:40 +00:00
84ee95ae7e This was SVN commit r6185. 2008-07-03 05:48:54 +00:00
3d1418b6a8 This was SVN commit r6184. 2008-07-03 05:04:32 +00:00
9bb489ebb3 All sorts of stuff, chariot, staff, greek buildings
This was SVN commit r6183.
2008-07-03 05:03:11 +00:00
e0dd55f1e1 This was SVN commit r6182. 2008-07-03 03:26:22 +00:00
a5d0a23552 This was SVN commit r6181. 2008-07-03 02:20:26 +00:00