0933925d49
Adds JS implementations of Math.pow, exp, and log, by sanderd17, refs #1193 .
...
Fixes #1990 (OOS caused by Math.pow).
Adds tests and documentation for Math functions.
This was SVN commit r13515.
2013-06-30 05:16:20 +00:00
b22320a85f
Fix tests. Refs #1807 .
...
This was SVN commit r13358.
2013-04-14 00:52:00 +00:00
62dc594a71
Hero button. Based on patch by Malcom and edits to that by alpha123. Fixes 1802.
...
This was SVN commit r13339.
2013-04-03 17:27:55 +00:00
a45a926aeb
Fix an issue that caused a crash on serialization. Prepare the AI manager a little more for serialization.
...
Fix bugs with tests. Fix some other issues in the AI (attack plans deal
with walls better, choose better paths, target selection is better. Dock
building won't be tried hundreds of times if it fails.)
Changes the Oasis random map to only put a path in the middle 50% of the
time.
This was SVN commit r13230.
2013-03-06 11:52:41 +00:00
d4572e555e
Fixes tests
...
This was SVN commit r13057.
2013-01-08 15:45:39 +00:00
5800be1334
Formation order queueing. Fixes #592 , #593 and #1716 .
...
Allow changing the formation, while under attack. Fixes #1624 . Patch by
Simikolon.
This was SVN commit r12911.
2012-12-02 01:52:27 +00:00
ddd8c36d6f
Fix tests.
...
This was SVN commit r12910.
2012-12-01 23:04:49 +00:00
7e21db08d5
Training limits. Limit heroes to one living per player. Allow heroes to be trained again. Closes #1432
...
This was SVN commit r12832.
2012-11-07 17:56:14 +00:00
d57926fa5b
Adjust diplomacy according to irc discussion. Refs #7 .
...
This was SVN commit r12828.
2012-11-05 20:16:35 +00:00
a0e13d9625
Fix tests. BuildingAI now handles DiplomacyChanged messages.
...
This was SVN commit r12812.
2012-11-02 17:20:32 +00:00
a21e01150a
Basic diplomacy. Refs #7 .
...
This was SVN commit r12778.
2012-10-23 16:31:07 +00:00
3a5b2159b7
Fixes broken test
...
This was SVN commit r12146.
2012-07-18 21:39:45 +00:00
99d04e93bb
Implements global tech modification function. Fixes #1358 , refs #1520 .
...
Applies tech modifications to template data returned by GuiInterface.
Extends engine to load arbitrary global scripts, separates this from RNG
replacement. Refs #1193 .
Loads global scripts for most script contexts for consistency.
Adds simulation tests for global scripts.
This was SVN commit r12056.
2012-07-03 02:16:45 +00:00
89978332de
Fixes tests.
...
This was SVN commit r11718.
2012-05-01 23:58:03 +00:00
d4347a8466
Add Preferred and RestrictedClasses, based on patch by Zsol. Fixes #1144 .
...
This was SVN commit r11710.
2012-05-01 22:20:08 +00:00
2f5b81a37e
Fix broken test.
...
This was SVN commit r11695.
2012-04-29 17:39:16 +00:00
c6291403bd
Fixed some javascript things because the names of the phases were changed. Changed thickness of mine selections.
...
This was SVN commit r11647.
2012-04-23 00:36:06 +00:00
ed6e5bdaf0
Fixed phase detection in GUIInterface and added Armour and Attack tech modification.
...
This was SVN commit r11586.
2012-04-20 19:47:01 +00:00
755e407aeb
Technologies. Refs #3 . Full unlocking technology implementation. Only unit gathering rates can be modified currently because the patch was big enough already.
...
This was SVN commit r11584.
2012-04-20 17:21:04 +00:00
c56f96040e
Implement healing. Fixes #999 .
...
This was SVN commit r11536.
2012-04-17 20:22:13 +00:00
a5076c1eb1
Added dummy PostMessage and BroadcastMessage functions for tests
...
This was SVN commit r11439.
2012-04-05 14:13:36 +00:00
894dc30c69
Trade. Closes #30 .
...
This was SVN commit r11279.
2012-03-08 20:42:28 +00:00
eb5b3bba10
Fixes broken UnitAI test.
...
This was SVN commit r10775.
2011-12-19 23:09:38 +00:00
2a44e8202e
Fixes tests after recent GuiInterface and UnitAI changes.
...
This was SVN commit r10603.
2011-11-26 01:58:39 +00:00
017e8d66eb
Fixes GUIInterface tests.
...
This was SVN commit r10418.
2011-10-22 00:10:17 +00:00
eccf787ec8
Fix test for GuiInterface. Fixes #957 .
...
This was SVN commit r10258.
2011-09-12 14:57:58 +00:00
4d188452f8
Adds ownership checks to UI selections.
...
Adds ownership and diplomacy checks to Commands.js (fixes #880 ).
Adds control all units setting to Player component (network synced).
Adds helpers for diplomacy checks - use these instead of directly
accessing diplomacy array.
Fixes tests according to these changes.
This was SVN commit r9726.
2011-07-02 00:06:39 +00:00
151539a92b
Fix #882 (test failure)
...
This was SVN commit r9714.
2011-06-28 18:25:38 +00:00
7b8a33f374
Fix tests.
...
This was SVN commit r9603.
2011-06-09 17:15:01 +00:00
15e4500a01
Fix tests
...
This was SVN commit r9460.
2011-05-06 17:04:32 +00:00
16a654ccae
Fix script tests.
...
Fixes #827 .
This was SVN commit r9416.
2011-05-03 23:16:16 +00:00
7499b23991
Units promotion. Closes #697 .
...
This was SVN commit r9391.
2011-05-02 15:03:01 +00:00
e6ebfa2ab9
Fix tests
...
This was SVN commit r9016.
2011-03-04 23:22:09 +00:00
ab186c2b16
Update UnitMotion logic, to partially simplify it.
...
Do all pathfinding asynchronously.
Recalculate paths when the target has moved.
Fix vertex pathfinder start point heuristic, to avoid finding
zero-length paths.
When units fail to reach a resource to gather, look for another resource
of the same type.
This was SVN commit r8751.
2010-11-30 12:31:54 +00:00
f378a63d94
Add some tests for UnitAI.
...
Fix said tests for UnitAI.
Hopefully fix #647 too.
Document HFSM interface a bit.
Add Engine.DumpSimState() console command for debugging.
This was SVN commit r8681.
2010-11-22 20:12:04 +00:00
e4d356c3bf
Map exploration counter for summary screen
...
This was SVN commit r8679.
2010-11-21 19:42:26 +00:00
333492b4a9
Add SetInterval to Timer.
...
Add tests for Timer.
This was SVN commit r8678.
2010-11-21 19:27:53 +00:00
7e41f6d664
Changed treasures gathering: now units will gather treasures immediately, rather than carry resources from treasures to dropsites.
...
This was SVN commit r8670.
2010-11-20 21:37:31 +00:00
c1c8f64f0d
Move statistics from GuiInterface.GetSimulationState to GuiInterface.GetExtendedSimulationState
...
This was SVN commit r8603.
2010-11-14 19:09:13 +00:00
8798b7671c
Use separate mode when carrying meat.
...
Fix tests.
This was SVN commit r8594.
2010-11-13 21:39:39 +00:00
245f29b798
Summary screen. Closes #638 .
...
This was SVN commit r8576.
2010-11-12 22:24:49 +00:00
62c90b5dc4
Fix tests
...
This was SVN commit r8504.
2010-10-31 00:29:29 +00:00
9ee44bd9b8
Game setup changes, including showing name, civ, team, and some options loaded from the scenarios. Civ data added. Civ info window to preview civs. Icon tooltips. Support for random map implementation. Fixes #590 .
...
This was SVN commit r8494.
2010-10-30 04:02:42 +00:00
2b2cac2a8d
Fix tests
...
This was SVN commit r8456.
2010-10-24 12:37:55 +00:00
7ebf258033
Fix tests
...
This was SVN commit r8299.
2010-10-07 10:35:45 +00:00
fcedcae052
# Add victory/defeat conditions, based on patch from fcxSanya.
...
Fixes #565 .
This was SVN commit r8234.
2010-10-01 20:51:21 +00:00
a901a2a207
Fix #566 (test failure)
...
This was SVN commit r8088.
2010-09-07 09:29:23 +00:00
b1e32f9542
Fix tests
...
This was SVN commit r8077.
2010-09-04 21:29:27 +00:00
c78dffb19f
Fix tests
...
This was SVN commit r8029.
2010-08-23 17:36:28 +00:00
9d18f59940
Fix tests
...
This was SVN commit r7858.
2010-08-06 12:34:42 +00:00