Commit Graph

252 Commits

Author SHA1 Message Date
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
667d016c83 Changes IsSeaCreature to SeaCreature
This was SVN commit r10349.
2011-09-30 21:00:49 +00:00
d63947597c Adds new NaturalBehaviour "domestic" to UnitAI, useful for tame animals who should never flee an attacker. Fixes #971.
Renames herd_passive template to herd_domestic.

This was SVN commit r10333.
2011-09-27 18:03:58 +00:00
5fc514ab32 Adds a class called "IsSeaCreature" to identify fish for the AI.
This was SVN commit r10308.
2011-09-24 15:22:48 +00:00
c77fb0e841 In TrainingQueue changed place of PostMessage in case when all entities of current batch was spawned. Fixes #963.
This was SVN commit r10302.
2011-09-21 19:27:36 +00:00
eccf787ec8 Fix test for GuiInterface. Fixes #957.
This was SVN commit r10258.
2011-09-12 14:57:58 +00:00
0eeffd05bd Adds max player population to sim state, based on patch from quantumstate. Fixes #951.
This was SVN commit r10233.
2011-09-09 00:45:06 +00:00
81191a6ea7 Fixes garrisoned units disappearing when eject occurs too frequently. See #910.
This was SVN commit r10192.
2011-09-06 03:11:16 +00:00
1433bd9ad9 Fixes gaia animals without UnitAI (e.g. fish) blocking foundation construction, by destroying them. Fixes #936.
This was SVN commit r10153.
2011-08-31 23:41:55 +00:00
b48c35c512 After a lot of playtesting, I've adjusted the build limits on the Fortresses and Scout Towers. See if these are 'ok'.
This was SVN commit r10145.
2011-08-31 02:07:35 +00:00
07d48a5c9a Prevents gaia buildings from decaying in enemy territories.
This was SVN commit r10143.
2011-08-30 23:53:34 +00:00
1ff6d44f9e Fixes promoted entities dropping from control groups, based on patch from gruby. Fixes #859.
This was SVN commit r10140.
2011-08-30 22:29:03 +00:00
60985a3bc9 Fixes training queue behavior when spawning fails due to lack of space (the queue will be blocked). Fixes #893.
Changes training queue to support partial batch success and removal.

This was SVN commit r10081.
2011-08-23 22:43:34 +00:00
27e5581d27 Fixes Atlas player panel getting out of sync with simulation. Fixes #927.
Fixes object panel not being notified of map loading.
Fixes bug where opening a new map before using the player panel
prevented default player data being displayed for new players.
Fixes wxGTK 2.8 bug: wxChoicebook control doesn't update the choice
control when adding/removing pages.
Notifies player that deleting player in Atlas will delete all their
objects (and gives them the option).
Changes DeleteObject to DeleteObjects to support multiple selections.
Implements undo for map resize (experimental).
Removes annoying debug message from attempted undo of map settings.
Tweaks a few Atlas UI controls.

This was SVN commit r10064.
2011-08-22 21:45:39 +00:00
308cb26dd4 # Health decay for buildings not in a civ center's territory.
This was SVN commit r10034.
2011-08-18 20:28:53 +00:00
7679d1073b Fixes garrison behavior for ships - they no longer unload units underwater. See #893.
Fixes behavior when ships are destroyed (garrisoned units at the time
will also be killed).
Updates ship templates accordingly.

This was SVN commit r10020.
2011-08-17 01:43:23 +00:00
a13f38c9b4 Moves build limits counter to BuildLimits component, to avoid some weirdness with BuildRestrictions for preview entities (caused some warnings in Atlas).
This was SVN commit r10015.
2011-08-16 04:44:15 +00:00
ff85950cb7 Disables build restrictions and limits for AIs (until they can be fixed).
Simplifies player diplomacy/team setup.

This was SVN commit r10008.
2011-08-15 00:25:22 +00:00