1
0
forked from 0ad/0ad
Commit Graph

2198 Commits

Author SHA1 Message Date
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
95f3036e74 Cleaner production icon tooltips.
This was SVN commit r6266.
2008-07-23 05:03:46 +00:00
12b7b2c9b1 Adding building/training price and description.
This was SVN commit r6261.
2008-07-20 20:49:43 +00:00
9c8069631e This was SVN commit r6255. 2008-07-19 01:59:11 +00:00
314ec0ef3b This was SVN commit r6251. 2008-07-19 00:27:48 +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
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
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
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
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
6980b066a3 add vc90* libs in case anyone wants to use vs2008
This was SVN commit r6215.
2008-07-12 14:28:36 +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
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
de60ef26bd This was SVN commit r6203. 2008-07-05 18:35:42 +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
formlesstree4
da15d64249 This was SVN commit r6180. 2008-07-03 01:45:48 +00:00
3810517418 This was SVN commit r6179. 2008-07-02 23:07:16 +00:00
69d7e7efc8 This was SVN commit r6178. 2008-07-02 22:36:09 +00:00
5459801b66 This change allows the unit to charge attack to run people over as well as its normal ranged attack!
This was SVN commit r6177.
2008-07-02 22:32:04 +00:00
3f9d1e6252 This was SVN commit r6176. 2008-07-02 22:05:16 +00:00