Commit Graph

269 Commits

Author SHA1 Message Date
c56f96040e Implement healing. Fixes #999.
This was SVN commit r11536.
2012-04-17 20:22:13 +00:00
2312d1379a Be more robust to invalid positions
This was SVN commit r11492.
2012-04-12 22:32:58 +00:00
71a57ed3a7 Allow gathering regardless of resource owner
This was SVN commit r11478.
2012-04-10 21:09:21 +00:00
577676810b Make domestic herd animals controllable by the player
This was SVN commit r11471.
2012-04-10 16:37:34 +00:00
2dc3c36ee6 Adds the classes "GarrisonTower" and "GarrisonFortress" to more easily demarcate the buildings the AI wants to garrison for defense.
This was SVN commit r11451.
2012-04-08 12:08:21 +00:00
7ff99cc218 Prevent trade with foundations, based on patch by Spahbod, fixes #1215.
This was SVN commit r11440.
2012-04-05 22:00:15 +00:00
a5076c1eb1 Added dummy PostMessage and BroadcastMessage functions for tests
This was SVN commit r11439.
2012-04-05 14:13:36 +00:00
7eb5480494 AI common-api-v2 and a qbot which works with the new API but it not fully transitioned to make use of it properly
This was SVN commit r11429.
2012-04-04 20:23:41 +00:00
21a39dedfb Add check to prevent error when ranged attack target is destroyed
This was SVN commit r11428.
2012-04-04 20:03:04 +00:00
0d385f4112 Make selected stances and formations more obvious. Patch from leper, fixes #1190.
This was SVN commit r11386.
2012-03-21 16:45:02 +00:00
vts
7934e3ab0b Fixed missing cmpIdentity null check in Barter.js:60 (causes failure on Isthmus when territory_pull entity is iterated over). Fixes #1199.
This was SVN commit r11309.
2012-03-10 16:34:59 +00:00
4b7a5ac814 Allows garrison heal rate of "0" (disables healing).
This was SVN commit r11296.
2012-03-10 04:08:15 +00:00
d1ed264c9b Fixes stance change during garrison causing instant garrison. Fixes #1184.
Adds range check to garrisoning, with <LoadingRange> element added to
GarrisonHolder. Adds maximum range values to templates (2 for land
units/structures, 10 for ships).
Adds retry to garrison failure due to unreachable target.
Cleans up a few templates.

This was SVN commit r11292.
2012-03-09 23:33:55 +00:00
9a30da9726 Fix the trade tooltips order
This was SVN commit r11281.
2012-03-08 21:28:55 +00:00
894dc30c69 Trade. Closes #30.
This was SVN commit r11279.
2012-03-08 20:42:28 +00:00
f3a52dd440 Fixes incorrect and inconsistent tests for undefined.
Removes unused buggy GUI script.
Corrects some inconsistent formatting.

This was SVN commit r11241.
2012-03-04 22:59:14 +00:00
06672f0001 This was SVN commit r11229. 2012-03-03 20:47:49 +00:00
acf63afeaa Fix some whitespace, and spelling, and capitalisation, and unnecessary array wrapping.
This was SVN commit r11218.
2012-03-01 23:16:01 +00:00
409f03652e Fixes animal auto-hunting by removing 10HP limit on possible targets. Units will now look for the same type of animal to hunt (matching templates).
This was SVN commit r11055.
2012-02-12 21:18:50 +00:00
b2fd7a54f0 Removes hard-coded choices from Identity.js to allow easy modification of civs, classes and formations. Note: incorrect/misspelled choices will no longer be rejected by the parser.
This was SVN commit r11043.
2012-02-10 01:59:25 +00:00
867df2e6c1 Fixed qbot for the scout tower to defense tower rename and updated the build restriction for the defense tower for consistent naming.
This was SVN commit r11024.
2012-02-04 23:42:55 +00:00
5919a62564 Rounds applied damages to the nearest integer.
This was SVN commit r11000.
2012-02-01 04:11:47 +00:00
7ae3d7b092 This was SVN commit r10969. 2012-01-27 21:25:08 +00:00
bab593fc6b #New audio additions, notably resource selections and ship selection and death.
This was SVN commit r10962.
2012-01-25 02:51:48 +00:00
bc76b0568e Fix healing for garrisoned units. Fixes #1098.
This was SVN commit r10882.
2012-01-07 07:13:27 +00:00
7cefd9a94c Template work.
Converted Ekdromos to swordsman.

This was SVN commit r10836.
2011-12-30 08:19:00 +00:00
dca6d41d45 Added civ support to the attack bonuses and removed unnecessary classes
This was SVN commit r10835.
2011-12-29 22:08:59 +00:00
8b511dd053 #New ATTACK BONUSES code.
This was SVN commit r10804.
2011-12-24 03:49:30 +00:00
eb5b3bba10 Fixes broken UnitAI test.
This was SVN commit r10775.
2011-12-19 23:09:38 +00:00
bfca6f0b58 Fixes UnitAI attack test for domestic animals. Fixes #1048.
This was SVN commit r10760.
2011-12-18 05:17:34 +00:00
42f0aec84a Allows setting rally points on resources and buildings. closes #745
This was SVN commit r10744.
2011-12-16 16:08:26 +00:00
vts
e62b9b6d8f Fixed rally point lines being displayed for entities with rally points no longer set. Closes #1043.
This was SVN commit r10743.
2011-12-16 15:14:59 +00:00
vts
db864f10c3 Rendering marker lines between buildings and rally points
Added command button to focus on rally point
(implements #524)

This was SVN commit r10704.
2011-12-10 07:07:04 +00:00
7f22118787 Testing some different barter values.
This was SVN commit r10681.
2011-12-06 18:25:40 +00:00
2a44e8202e Fixes tests after recent GuiInterface and UnitAI changes.
This was SVN commit r10603.
2011-11-26 01:58:39 +00:00
8cbab40137 Barter. Closes #23.
This was SVN commit r10588.
2011-11-24 15:43:32 +00:00
9489076c51 Fixes logic error in 8d977e4818.
This was SVN commit r10585.
2011-11-24 01:16:30 +00:00
8d977e4818 Allows building in fog of war. Fixes #958.
This was SVN commit r10584.
2011-11-24 00:58:34 +00:00
f8303b51c5 Fixes gathering after dropsite construction.
This was SVN commit r10579.
2011-11-23 04:59:02 +00:00
5cc856aedc Re-enables build restrictions for AIs since they have basic compliance now.
Moves target ownership checks from Commands.js to UnitAI.
Adds more robust target checking in UnitAI by calling CanFoo functions
more frequently.
Adds optional debugging mode to Commands.js (useful for AI developers).

This was SVN commit r10570.
2011-11-22 00:16:35 +00:00
27847fb078 Fixes BuildLimits init so its data serializes correctly (they should be objects not arrays).
This was SVN commit r10532.
2011-11-14 00:02:54 +00:00
5ae93ddae7 Makes AIProxy keep the garrisoned units array up to date. Fixes #1019
This was SVN commit r10531.
2011-11-13 23:23:58 +00:00
f3c21d070e Added some new classes, DropsiteFood/Wood/Stone/Metal, to help with building placement.
This was SVN commit r10523.
2011-11-13 12:12:33 +00:00
ff064aca95 Adds useful stats to training and construction tooltips, based on patch from pejuko. Fixes #872.
This was SVN commit r10518.
2011-11-12 22:23:08 +00:00
530d5216bf Fix OOS error after saving/loading
This was SVN commit r10438.
2011-10-27 17:38:44 +00:00
83955072b6 Fix typos
This was SVN commit r10420.
2011-10-23 12:26:47 +00:00
017e8d66eb Fixes GUIInterface tests.
This was SVN commit r10418.
2011-10-22 00:10:17 +00:00
887b6633c2 Adds per-player BuildLimits data to GUIInterface.
Adds BuildLimits accessors to GameState for JuBot and Testbot.

This was SVN commit r10415.
2011-10-20 23:35:52 +00:00
3f3b5ee3e5 Adds player ID to PlayerDefeated message for AI usage.
This was SVN commit r10358.
2011-10-01 17:38:43 +00:00
55e9ffe294 Adds the ForestPlant class.
This was SVN commit r10353.
2011-09-30 21:12:11 +00:00