c6348538ea
Show combined costs in the gate conversion tooltip. Based on patch by Jgwman. Fixes #1591 .
...
This was SVN commit r13511.
2013-06-29 20:55:53 +00:00
123d08eb82
This was SVN commit r13510.
2013-06-29 04:12:17 +00:00
4c22d4631a
Carthaginians can now only build 1 embassy at a time.
...
Each embassy comes with new technology pairs. Metal Costs vs. Training
Time.
Structure pierce armor adjusted upward.
This was SVN commit r13509.
2013-06-29 02:17:33 +00:00
2b02f983a6
Replace decimal with nonNegativeDecimal. Refs #1633
...
This was SVN commit r13508.
2013-06-29 01:59:46 +00:00
37c8e77d8e
Use floats for health. Fix #1633
...
This was SVN commit r13507.
2013-06-29 00:43:08 +00:00
623f5d9a9f
Small garrison code clean-up
...
This was SVN commit r13505.
2013-06-26 19:24:56 +00:00
6cbdc13e08
Clarify usage of CheckPlacement. Check if the losRangeQuery exists before disabling it.
...
This was SVN commit r13504.
2013-06-26 18:41:06 +00:00
5e289f51c2
Make attack type a property of the order.
...
This was SVN commit r13503.
2013-06-26 14:15:03 +00:00
d5e081d55f
Fix inconsitency between AttackEntityInZone and ShouldAbandonChase for units in defensive stance. Patch by mimo. Fixes #1866 .
...
This was SVN commit r13502.
2013-06-26 13:24:03 +00:00
2fcd52b657
Let states execute their leave handlers on OnDestroy. Fixes #1999 . Patch by mimo.
...
This was SVN commit r13501.
2013-06-25 21:49:54 +00:00
4fc15a9b08
Renames mill to storehouse
...
This was SVN commit r13496.
2013-06-22 02:28:54 +00:00
14990ea390
Fixes another possible NaN when invulnerable units are attacked, refs #1881
...
This was SVN commit r13493.
2013-06-18 20:20:37 +00:00
95b51188fa
Fixes possible undefined value returned by CmpHealth, leading to a NaN and serialization test failure. Refs #1881
...
This was SVN commit r13488.
2013-06-18 03:26:08 +00:00
f918c9b074
Prevent formation controllers from showing up in range queries. Fixes #1796 .
...
This was SVN commit r13484.
2013-06-16 23:10:01 +00:00
9ea830c855
Handle empty token list gracefully.
...
This was SVN commit r13477.
2013-06-14 16:13:59 +00:00
2ef6ec3f73
Rounds trader gain to avoid fractions with garrisoned traders in a merchant ship, patch by Markus, fixes #1954
...
This was SVN commit r13447.
2013-06-01 21:28:31 +00:00
56a4d6417c
Small cleanup.
...
This was SVN commit r13416.
2013-05-21 23:50:42 +00:00
e5523754b3
Check if a building is already at full health when trying to repair it. Fixes #1930 .
...
This was SVN commit r13415.
2013-05-21 23:45:20 +00:00
4356badfa9
Pause production if the producing entity is garrisoned. Fixes #1931 .
...
This was SVN commit r13414.
2013-05-21 23:01:53 +00:00
67d072108b
Bloody dead camel.
...
New wall technologies (research at Wall Tower, since for now techs can't
be researched at wall segments).
Adjusted default BatchTrainModifier from 0.7 to 0.8 in all buildings
since the new training techs were making unit batches train insanely
fast.
Added 'Naval Architects' batch training tech to the Dock (and Carth
Super Dock).
Attempting to add "Apadana" build limit, with no success. Need help
here. I thought BuildRestrictions.js and EntityLimits.js were the files
I needed to change, but it's not working (there should be a build limit
of 1 for the Persian Apadana).
Tweaked the levy techs.
Fixed Hero elephant unit RequiredTechnology.
This was SVN commit r13409.
2013-05-19 08:19:16 +00:00
de5d4491ab
var-fare
...
This was SVN commit r13404.
2013-05-12 22:28:02 +00:00
47e9431d29
Check if one of the technologies in a pair is already in progress. Fixes #1820 .
...
This was SVN commit r13395.
2013-05-05 13:54:00 +00:00
0d09f290d9
Allow setting rally points for foundations. Patch by Josh. Fixes #902 .
...
This was SVN commit r13390.
2013-05-02 20:29:22 +00:00
e0a2e5790d
Exponential Armor patch by Alpha123, with new updated armor values.
...
Needs a ton of testing.
This was SVN commit r13381.
2013-04-29 07:51:51 +00:00
5a88f0fce0
Fix entity limits for buildings.
...
This was SVN commit r13378.
2013-04-29 00:36:21 +00:00
f4e0007733
Cavalry are a bit faster.
...
Attempting to add Wonders, but no success (need help). Adding files here
to see if someone can fix what I've started.
This was SVN commit r13377.
2013-04-28 22:51:08 +00:00
cd6a76bcaa
Gates now handle allies made using diplomacy.
...
This was SVN commit r13363.
2013-04-18 18:18:34 +00:00
dc9889c190
Display number of garrisoned units when trying to garrison. Patch by mimo. Fixes #1915 .
...
This was SVN commit r13361.
2013-04-18 18:18:29 +00:00
b22320a85f
Fix tests. Refs #1807 .
...
This was SVN commit r13358.
2013-04-14 00:52:00 +00:00
d0a695f7fb
Allow mutual allies to garrison in each others buildings. Patch by mimo. Fixes #1807 .
...
This was SVN commit r13357.
2013-04-14 00:34:14 +00:00
7562c79e89
Change target for all orders on EntityRenamed. Patch by mimo. Fixes #1903 .
...
This was SVN commit r13355.
2013-04-10 22:48:02 +00:00
2af37c3590
Adds player color to rubble entities, thanks to ericb for the patch, fixes #1887
...
This was SVN commit r13344.
2013-04-05 02:52:01 +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
6f33003f30
Fixes serialization test failure caused by CmpFoundation's buildMultiplier property sometimes being NaN (which can assume different internal values in Spidermonkey). For now, NaN cannot be reliably serialized. Fixes #1828 , refs #1879
...
This was SVN commit r13322.
2013-03-22 22:23:50 +00:00
78d1548753
Fixes (un)packing siege units responding to attacks in violent stance, by ignoring attacks while (un)packing. Fixes #1751 , refs #1752
...
This was SVN commit r13318.
2013-03-19 00:53:47 +00:00
4769481796
Makes sure to remove the entity from the Gatherer array of the resource it was gathering from when dying. Fixes #1867 (if all goes well).
...
This was SVN commit r13290.
2013-03-15 18:12:17 +00:00
066cfa5893
Improve workers' reactions when they find out that the resource they gathered from is full. Refs #1387
...
This was SVN commit r13288.
2013-03-15 10:26:46 +00:00
25293ce0cc
Many small bugfixes for AIs. Adds support for difficulty (and along with that, some behind-the-door architecture for a handicap system).
...
Adds -autostart-aidiff to set the difficulty from the command line from
testing.
This was SVN commit r13278.
2013-03-13 20:44:48 +00:00
8ac9f1d8ea
Limit the number of gatherer per resource, as described in #1387 . Based on work by crezax. Fixes #1387
...
This was SVN commit r13277.
2013-03-13 20:10:46 +00:00
844f71681a
Add notification for missing resources when tributing. Patch by alpha123. Fixes #1839 .
...
This was SVN commit r13276.
2013-03-13 18:37:06 +00:00
3f6702075b
Fix my previous commit where if you had enough units buildings would never construct (rounding issue).
...
This was SVN commit r13268.
2013-03-12 10:07:53 +00:00
791a901df9
Fix a bug with the foundation changes that caused buildings to be built too fast with multiple units.
...
This was SVN commit r13267.
2013-03-12 08:22:45 +00:00
dab9175f30
Foundations now require 100% health for construction to be completed. Progress now linked with health. Patch by Malcom. Fixes #1853
...
This was SVN commit r13263.
2013-03-11 15:47:16 +00:00
2c17ab70ac
Add support for -autostart-civ to set civilizations when quickstarting.
...
Put the AI memory heap back to 32 MB to avoid OOM errors with numerous
AIs in late game.
Fix a bug that made ProductionQueue not broadcast progress.
Fix many issues with Aegis in defense, pathfinding, foundation
construction, training building choice, strength calculations, building
placement and mostly attack. Aegis should be much more aggressive.
This was SVN commit r13247.
2013-03-09 14:09:06 +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
e33d4a52e9
AI API V3 along with a new version of Aegis. Support for a JS shared component that can be used or not for each AI.
...
This was SVN commit r13225.
2013-03-05 22:52:48 +00:00
7461e4a3c1
Add technology support for ranged unit spread
...
This was SVN commit r13221.
2013-03-04 21:52:44 +00:00
18ee932a01
Adds attack move bound to the Ctrl hotkey. Patch from mimo. Refs #1001 .
...
This was SVN commit r13200.
2013-02-25 21:56:24 +00:00
94f2c2d912
Add insufficient population count to production queue tooltip. Patch by zoot. Fixes #1659 .
...
This was SVN commit r13198.
2013-02-25 20:30:02 +00:00
9e163500c5
Don't use Number, parseInt, etc. per coding conventions (use the +operator instead)
...
This was SVN commit r13192.
2013-02-24 00:25:13 +00:00
ca92e50048
Adds notification tooltips for building placement, fixes #921 .
...
Tweaks info tooltip borders and padding to improve readability.
This was SVN commit r13191.
2013-02-24 00:12:41 +00:00
c09d390656
Notify the player on receiving a tribute. Patch by alpha123. Refs #1839 .
...
This was SVN commit r13176.
2013-02-20 15:56:55 +00:00
cd5e5882ee
Improvements to battle detection. Patch from zoot. Fixes #1425 .
...
This was SVN commit r13163.
2013-02-11 20:38:13 +00:00
ab4db58e82
Fix build restrictions for neutral players.
...
This was SVN commit r13158.
2013-02-10 20:13:37 +00:00
cac2d08353
Fixes corpse variation not matching living entity, fixes #1007
...
This was SVN commit r13152.
2013-02-09 07:10:50 +00:00
5cbd9f0314
Add tribute stats to the summary screen. Patch by alpha123. Fixes #1831 .
...
This was SVN commit r13149.
2013-02-03 23:49:49 +00:00
1f7e6cb2ba
Adds actor seed support to scenario XML data, optionally used in place of entity ID.
...
Fixes Atlas previews not matching placed entity.
Fixes in-game building previews not matching final entity (except
walls).
This was SVN commit r13144.
2013-02-03 02:16:52 +00:00
31be9cd0de
Adds building previews that rise during construction, fixes #1174 , refs #21 .
...
Adds scaffold support for foundations, includes two examples for 3x3 and
4x4, fixes #1581 .
Extends CmpVisualActor and CUnit to support random variant seeds.
Fixes bug in actor hotloading.
Fixes serialization failure caused by destroying entities in OnDestroy
handlers.
This was SVN commit r13143.
2013-02-03 02:08:20 +00:00
7e60f07df5
Ensure that animals that aren't visible when the order is executed are killed before being gathered from. Fixes #1826 .
...
This was SVN commit r13132.
2013-01-28 22:19:06 +00:00
2ceeb3231f
Fix distance restrictions.
...
This was SVN commit r13114.
2013-01-24 18:08:35 +00:00
aebecd1204
Make territory build restriction tech modifiable.
...
This was SVN commit r13113.
2013-01-23 22:50:11 +00:00
fc835bdedb
Only call FinishOrder on MoveCompleted if we didn't get an error. Fix #1823 .
...
This was SVN commit r13112.
2013-01-23 16:02:37 +00:00
a65db5ca41
Ensures max population is integral by rounding
...
This was SVN commit r13106.
2013-01-21 22:03:35 +00:00
e3bc8d1c87
Actually add the battle detection code. Refs #1425 .
...
This was SVN commit r13093.
2013-01-20 23:36:08 +00:00
3715985f1a
Add battle detection support to the simulation. Refs #1425 (Patch by Zoot)
...
The audio code does not yet support actually playing battle music.
This was SVN commit r13091.
2013-01-20 22:47:59 +00:00
31fe58db82
Stop formation members from sliding. Fixes #1823 . Thanks to zoot for the test case!
...
This was SVN commit r13079.
2013-01-15 18:53:19 +00:00
25de88a68b
Take distance between attacker and target into account when fleeing. Patch by mimo. Fixes #1723 .
...
This was SVN commit r13077.
2013-01-15 00:21:25 +00:00
56db7fa945
Don't use the carrying animation when a unit is ungarrisoned and it dropped of the resources while garrisoning. Patch by zoot. Fixes #1759 .
...
This was SVN commit r13073.
2013-01-13 20:55:55 +00:00
aec8d6ff96
Stop foundation health from jumping. Fixes #1809 .
...
This was SVN commit r13071.
2013-01-13 17:37:26 +00:00
bec33070ea
Change attack animation naming to allow for multiple attacks. Patch/script by dvagennip. Fixes #1686 .
...
This was SVN commit r13060.
2013-01-09 14:39:25 +00:00
fd274a6e70
Add template helper function. Fix some errors. Refs #1692 .
...
This was SVN commit r13059.
2013-01-09 13:25:11 +00:00
d4572e555e
Fixes tests
...
This was SVN commit r13057.
2013-01-08 15:45:39 +00:00
5caddcdd20
Make technology code cleaner with helper functions. Refs #1692 .
...
This was SVN commit r13056.
2013-01-08 00:00:21 +00:00
276f0a41a0
New Year's clean-up.
...
Throw a warning if a invalid (not present) AI is specified in a map.
Replace the last occurences of jubot with qbot.
Exclude the common siege templates from the Units Demo map.
Fix an error with flying units.
Replace CFG_GET_SYS_VAL with CFG_GET_USER_VAL and rename it to
CFG_GET_VAL to reflect its behaviour better.
Fix linker error with clang 3.2. Refs 1588.
Remove some useless includes.
This was SVN commit r13031.
2013-01-01 18:33:53 +00:00
18b532a195
Remove current targets when changing ownership. Fixes #1794 .
...
This was SVN commit r13014.
2012-12-23 20:03:00 +00:00
573d47d9a9
Disable diplomacy settings when player is defeated. Fixes #1764 .
...
This was SVN commit r13000.
2012-12-19 20:19:54 +00:00
095566c126
Serialize the armour component so that the temporary invulnerability from promotion is synchronised.
...
This was SVN commit r12978.
2012-12-11 22:01:10 +00:00
a3ca29138e
Check for all cases. Really fix #1753 .
...
This was SVN commit r12976.
2012-12-10 23:55:16 +00:00
6fd6295644
Check whether the attack/gather target is visible and if not abort. Fixes #1662 and #1753 .
...
This was SVN commit r12975.
2012-12-10 23:35:09 +00:00
1cd2c48e0b
Fix entity limits error on ownership change/destruction.
...
This was SVN commit r12969.
2012-12-09 21:40:51 +00:00
2a3f221d11
Check if cmpFormation is set (which should be as we're a formation member)
...
This was SVN commit r12966.
2012-12-09 17:52:44 +00:00
2e37bf10bc
Fixes #1700 (Increasing max-health by tech)
...
This was SVN commit r12960.
2012-12-08 19:17:48 +00:00
8c931bfa52
Add animation override to VisualActor to fix carrying resource animations. Patch by Deiz. Fixes #1260 , #1741 .
...
This was SVN commit r12949.
2012-12-06 19:46:13 +00:00
35c8df02c6
Adds support for Pack/Time tech modification
...
This was SVN commit r12942.
2012-12-04 21:13:27 +00:00
c02fca79c6
Adds garrison auto-packing for siege units, refs #1718
...
This was SVN commit r12935.
2012-12-03 22:00:19 +00:00
6562cbea7e
... Refs #1746 .
...
This was SVN commit r12934.
2012-12-03 21:57:28 +00:00
b06452bf0f
Try to fix some warnings. Refs 1746.
...
This was SVN commit r12933.
2012-12-03 21:53:37 +00:00
9bff9b3b6d
Spartan woman defends herself. This is still a work in progress. Not quite right yet.
...
This was SVN commit r12924.
2012-12-03 00:37:58 +00:00
c3c655aaa5
Display time cost for walls. Fixes #1740 .
...
This was SVN commit r12922.
2012-12-02 23:45:34 +00:00
26a22a7bcb
Make hunting units disband earlier.
...
Fix formation disbanding.
This was SVN commit r12921.
2012-12-02 23:11:55 +00:00
2004fb5e62
Fix error caused by unit dying while attacking.
...
This was SVN commit r12919.
2012-12-02 22:02:36 +00:00
5806ed94e1
Fix bug with gather-near-position.
...
Use the max range for attacking.
This was SVN commit r12915.
2012-12-02 17:25:23 +00:00
a4f27dc3e0
Add "score" tab in post-game summary. Patch from EMontana. FIxes #1721 .
...
This was SVN commit r12914.
2012-12-02 15:55:06 +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
6fd99e34ce
Implements siege packing. Closes #1718 .
...
Adds templates for packed and unpacked siege units - needs stat
tweaking.
This was SVN commit r12904.
2012-12-01 00:34:03 +00:00
1052cb9ee0
Rename property. Refs #1717 .
...
This was SVN commit r12883.
2012-11-25 16:23:59 +00:00
5f2d30c7f7
Make batch time factor tech modifiable and a template property.
...
Fix unit test map.
This was SVN commit r12877.
2012-11-25 02:52:13 +00:00
27ae648d9c
Show cost in tooltips for batches. Closes #1717 , patch by zoot.
...
This was SVN commit r12876.
2012-11-24 22:04:29 +00:00
f0493e7060
Spelling fixes. Fixes #1727 , patch by zoot.
...
This was SVN commit r12874.
2012-11-24 19:47:36 +00:00
7125e72e52
Add build/research/train time to tooltips.
...
This was SVN commit r12848.
2012-11-11 23:08:44 +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
10752c798d
Prevent attacking yourself (caused by splash damage).
...
This was SVN commit r12829.
2012-11-06 14:58:34 +00:00
d57926fa5b
Adjust diplomacy according to irc discussion. Refs #7 .
...
This was SVN commit r12828.
2012-11-05 20:16:35 +00:00
e969340b6c
Fix diplomacy for atlas.
...
This was SVN commit r12827.
2012-11-05 19:34:21 +00:00
1e3c885f45
Allow trading with neutral players.
...
This was SVN commit r12821.
2012-11-04 23:01:12 +00:00
a0e13d9625
Fix tests. BuildingAI now handles DiplomacyChanged messages.
...
This was SVN commit r12812.
2012-11-02 17:20:32 +00:00
9930500661
Diplomacy is now mutual. Refs #7 .
...
This was SVN commit r12810.
2012-11-02 13:44:35 +00:00
ca4dedbc3e
Improve neutral and ally combat handling. Refs #7 .
...
This was SVN commit r12780.
2012-10-23 23:13:39 +00:00
a21e01150a
Basic diplomacy. Refs #7 .
...
This was SVN commit r12778.
2012-10-23 16:31:07 +00:00
51496f1d40
Restructured phase_city techs so that phase_city is auto researched.
...
This means that there can be civ specific techs for phase_city, but
phase_city is always researched so can be used as a requirement.
Added phase_city_generic which is the tech which will actually be
researched from the building.
This was SVN commit r12750.
2012-10-14 16:12:22 +00:00
7d0e660fbb
Added Player/MaxPopulation for technologies.
...
This was SVN commit r12739.
2012-10-07 22:19:03 +00:00
6a100996bf
Added civ requirement for technologies.
...
This was SVN commit r12737.
2012-10-07 20:34:37 +00:00
bf55acadaa
Implements SpawnEntityOnDeath property for entities (i.e. rubble). Fixes #1166 .
...
Adds some placeholder rubble entities. They currently reuse foundation
actors until proper rubble models are created.
This was SVN commit r12717.
2012-09-28 22:02:13 +00:00
e72b603cce
Implements Vision/Range tech modification
...
This was SVN commit r12707.
2012-09-24 22:27:32 +00:00
ef81521dc9
Stop a technology from being queued multiple times.
...
Also fixed formatting in Attack.js
This was SVN commit r12706.
2012-09-24 20:20:14 +00:00
94f469e705
Added a Slaughter attack type which instantly kills all herdable animals with a melee attack. Fixes #1652 .
...
This was SVN commit r12705.
2012-09-24 19:31:31 +00:00
de6653e255
Adds max attack range to training tooltip and unit details panel for ranged units.
...
Adds attack type to unit details panel. Refs #1657
This was SVN commit r12700.
2012-09-23 20:50:23 +00:00
b8baa54722
Implements Health/Max tech modification
...
This was SVN commit r12699.
2012-09-23 19:24:43 +00:00
7064e0673c
Adds TechnologyModification message for newly created entities, so they are notified of previously researched techs (this will streamline implementation of certain techs). Fixes #1410
...
This was SVN commit r12698.
2012-09-23 19:19:57 +00:00
c4c65c02ac
Need to explicitly return values to silence warnings.
...
This was SVN commit r12675.
2012-09-14 20:55:49 +00:00
27c390cdf2
Always abort the FSM transition when failing to enter a state. Fixes #1669 .
...
This was SVN commit r12674.
2012-09-14 20:00:03 +00:00
8bd54eef71
Handle nested garrison holder death properly.
...
This was SVN commit r12672.
2012-09-13 22:47:47 +00:00
41e5f88aae
Support appending and global selection via the 'find idle' keys.
...
This was SVN commit r12664.
2012-09-12 21:37:04 +00:00
958fce0438
Prevent naval gatherers from trying to reach land drop sites.
...
This was SVN commit r12663.
2012-09-11 21:03:08 +00:00
7ff34fedc4
Turn formation Gather orders into GatherNearPosition if necessary.
...
This was SVN commit r12662.
2012-09-11 00:56:23 +00:00
7d8ef7a2ef
Add support for non-integer GarrisonHolder regen rates; round health up in the GUI. Refs #1633 .
...
This was SVN commit r12651.
2012-09-09 00:52:10 +00:00
ef2c9e338d
LeaveFoundation should put formation members into a discrete state to avoid prematurely disbanding.
...
This was SVN commit r12636.
2012-09-04 23:27:06 +00:00
0a0a49eb09
Explicitly store whether whether a unit is moving, as formation members don't finish moving as normal.
...
This was SVN commit r12624.
2012-09-04 03:57:22 +00:00
0340cc2baa
Shade and show an insufficient resources tooltip for unaffordable walls. Fixes #1641 .
...
This was SVN commit r12569.
2012-08-31 19:20:16 +00:00
9fcb7cc738
Fixed formations so switching formation in-place doesn't leave entities in FORMATIONMEMBER.WALKING and short walk orders bring units into proper formation.
...
This was SVN commit r12563.
2012-08-31 08:20:36 +00:00
221c7dacde
Also try to strip the 'resource|' prefix when handling a GatherNearPosition order.
...
This was SVN commit r12555.
2012-08-30 08:18:43 +00:00
8968df0554
Only have builders auto-gather if they received a forced order. Patch by picobyte, fixes #1511 .
...
This was SVN commit r12554.
2012-08-30 02:23:36 +00:00
833d79445e
Allow immediate re-targeting if an attack target becomes invalid.
...
This was SVN commit r12549.
2012-08-29 21:13:50 +00:00
781ad7d520
Don't always call FinishOrder when leaving a formation, as they may be in the idle state.
...
This was SVN commit r12548.
2012-08-29 19:54:29 +00:00
08a4b12f01
Added resource used counters that track all non-barter spending. Fixes #1605 .
...
This was SVN commit r12543.
2012-08-29 05:13:45 +00:00
96ee70b75b
Enforce attack/heal repeat delay to prevent units from performing actions too often.
...
This was SVN commit r12542.
2012-08-28 20:02:03 +00:00
dd40cc023e
Resource supply corpses won't have UnitAI and should never be in formations.
...
This was SVN commit r12541.
2012-08-27 23:14:10 +00:00
9db71f5417
Only count civ centres as destroyed if they aren't foundations.
...
This was SVN commit r12536.
2012-08-27 07:16:21 +00:00
2de4786240
UnitAI's CanGather should always return false if the target isn't a resource.
...
This was SVN commit r12533.
2012-08-27 01:35:53 +00:00
c688f64699
Increased the verbosity of the FinishOrder error and made it generate a stack trace.
...
This was SVN commit r12527.
2012-08-25 21:55:53 +00:00
cd0802294a
Forced chase orders should override stance.
...
This was SVN commit r12524.
2012-08-24 23:32:26 +00:00
1c06a17e87
EntityRenamed should be ignored if the old entity doesn't match.
...
This was SVN commit r12523.
2012-08-24 08:22:29 +00:00
9c9cab1f89
Add a Foundation element to the Armour templates for structures.
...
This was SVN commit r12519.
2012-08-23 21:22:49 +00:00
4a2ff9521f
Added rounding to armour changes (thanks Deiz)
...
This was SVN commit r12498.
2012-08-20 20:22:48 +00:00
89eef72f20
cmpFoundation won't exist when repairing finished buildings.
...
This was SVN commit r12497.
2012-08-20 19:53:08 +00:00
e5df8d17e1
Weaken foundation armour to 1/5th of standard.
...
This was SVN commit r12496.
2012-08-20 19:52:26 +00:00
4136512a90
Scale the build rate as 'builders^0.7' rather than 'builders' (linear).
...
This was SVN commit r12490.
2012-08-20 07:30:50 +00:00
cebe8bed64
Removed unused 'remain' corpse logic from UnitAI.
...
This was SVN commit r12487.
2012-08-20 01:41:56 +00:00
66012e2e2c
Destroy dying 'remain' entities and replace them with visually-identical resources. Fixes #1600 .
...
This was SVN commit r12486.
2012-08-20 01:38:39 +00:00
0dfdf868b2
Set ownership to Gaia when units that remain on death are killed. Refs #1600 .
...
This was SVN commit r12465.
2012-08-18 20:33:44 +00:00
9519635869
0-population units (e.g. sheep) should never have production blocked.
...
This was SVN commit r12463.
2012-08-18 18:44:20 +00:00
77f26c454a
Have UnitAI respect the LeaveFoundation order unless in combat. Fixes #1406 .
...
This was SVN commit r12462.
2012-08-18 08:13:47 +00:00
de38f9ef9a
Prevent domestic animals from being manually deleted (killed). Patch by yakca. Fixes #1525 .
...
This was SVN commit r12445.
2012-08-16 02:08:56 +00:00
78e9fecf92
Added support for ungarrisoning units by template name and for ungarrisoning from multiple entities at once. Fixes #910 .
...
This was SVN commit r12443.
2012-08-16 01:15:04 +00:00
3653fe5d3a
Added support for putting technologies in folders. Fixes #1462 .
...
This was SVN commit r12440.
2012-08-15 22:25:25 +00:00
851786b01a
Band-aid fix for corpses responding to the stop order.
...
This was SVN commit r12433.
2012-08-15 02:51:48 +00:00
4138a78c7f
Fixes infinite recursion error in UnitAI when hunting an animal with a unit that's standing ground
...
This was SVN commit r12415.
2012-08-14 00:44:36 +00:00
902fc4a541
Show a red overlay over training/construction... icons that cannot be afforded.
...
This was SVN commit r12404.
2012-08-13 16:47:10 +00:00
8c97458de7
Prevent healers from healing themselves.
...
This was SVN commit r12398.
2012-08-13 02:56:51 +00:00
cbddd53e47
Avoid an edge case when buildings are destroyed while researching, leaving techs stuck. Refs #1521 .
...
This was SVN commit r12396.
2012-08-12 23:40:04 +00:00
3b704b12a9
Summary screen: separate barter info for each resource
...
This was SVN commit r12393.
2012-08-12 09:12:06 +00:00
7a7d7e5d0a
Add trade/barter stats to the summary screen.
...
This was SVN commit r12365.
2012-08-11 16:38:01 +00:00
07ea313ad6
Major update for qBot-xp, with slight changes to unitAI (that broke qBot, and fix for that).
...
This was SVN commit r12343.
2012-08-10 16:33:58 +00:00
613f845095
Improve gate closing behaviour when locked or with no allies nearby. Fixes #1551 .
...
This was SVN commit r12337.
2012-08-09 19:06:01 +00:00
c5ce1b23ae
Remove a bit of indirection in UnitAI.
...
This was SVN commit r12331.
2012-08-09 02:32:56 +00:00
87b2346154
Condensed the sanity checks for the Gaia range query, per leper's suggestion.
...
This was SVN commit r12328.
2012-08-08 23:29:30 +00:00
1120701351
Substantially rework how Gaia is handled by UnitAI, BuildingAI. Dangerous animals and combat units will be attacked like regular enemies.
...
This was SVN commit r12317.
2012-08-08 05:32:53 +00:00
84305155de
Seamlessly change a player's entities to be Gaia-owned when resigning.
...
This was SVN commit r12316.
2012-08-08 05:27:59 +00:00
78cc29b591
Added a resign option (deletes all of a player's entities).
...
This was SVN commit r12293.
2012-08-05 18:07:56 +00:00
959a897ec1
This was SVN commit r12288.
2012-08-05 15:24:26 +00:00
8f635b7e01
Fixing an issue.
...
This was SVN commit r12287.
2012-08-05 15:04:35 +00:00
202a02568b
Cheats ... fixes #1555 .
...
This was SVN commit r12284.
2012-08-05 14:01:05 +00:00
4a1b085df0
Send chat notifications upon player defeat.
...
This was SVN commit r12282.
2012-08-05 05:41:19 +00:00
b86d39681f
Reveal the map for defeated players.
...
This was SVN commit r12281.
2012-08-05 05:34:17 +00:00
c5a0dabe8d
Do a second check when trying to place wall pieces with two control groups. Fixes #1529 .
...
This was SVN commit r12270.
2012-08-03 16:38:31 +00:00
83ca7142b6
Fixed a minor bug in the research display; removed an unnecessary comma.
...
This was SVN commit r12246.
2012-07-31 03:39:35 +00:00
c708de489e
Display in-progress technologies in the upper right of the screen. Fixes #1431 .
...
This was SVN commit r12243.
2012-07-31 02:03:25 +00:00
0dc1d2139e
Make rally points work for trade. Patch from Deiz/F00. Fixes #1173 .
...
This was SVN commit r12191.
2012-07-25 21:38:56 +00:00
3d973b3554
Adds hotkey (Tab) for showing all player's entities' status bars at once, based on patch by Deiz/F00. Fixes #1187
...
This was SVN commit r12187.
2012-07-24 04:14:09 +00:00
a41432f73b
Adds support for Cost/Resources and Cost/BuildTime tech modifications.
...
This was SVN commit r12165.
2012-07-20 01:54:24 +00:00
89399e08e6
Implements always visible hero selection rings, based on patch by Deiz/F00. Fixes #1365
...
This was SVN commit r12148.
2012-07-19 04:45:01 +00:00
3a5b2159b7
Fixes broken test
...
This was SVN commit r12146.
2012-07-18 21:39:45 +00:00
8d64c26db9
Decrease trader income to 20% of the previous and increase the cost of traders to 100f 80m.
...
This was SVN commit r12117.
2012-07-15 18:55:35 +00:00
1d677156fd
Adds animation and sound support to wall gates. Uses temporary sounds for now. Adds new animation choices to actor viewer/editor. Refs #619
...
This was SVN commit r12103.
2012-07-14 03:08:21 +00:00
fd22b91138
Do not close a gate if some units are in the passRange.
...
This was SVN commit r12102.
2012-07-13 22:34:49 +00:00
2c5933912c
Gates. Adds UI buttons, replaces wall section with a gate, defines and create obstruction shapes, detects friendly units and eventually disable door's "block movement" flag, allows us to lock / unlock the door by disabling "block pathfinding" flag. Needs icons, play sound, animations. Fixes #1385 , refs #619 .
...
This was SVN commit r12081.
2012-07-08 16:25:33 +00:00
31a58e07c1
Fixes Builder component to allow repairers who can't place new foundations.
...
This was SVN commit r12060.
2012-07-03 03:15:39 +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
4ddd2a7fb1
Added IsInWorld check to attack code. Refs #1496
...
This was SVN commit r11967.
2012-06-12 12:13:24 +00:00
f944649153
Fix the attack error due to no footprint. Refs #1496 .
...
This was SVN commit r11966.
2012-06-12 12:04:55 +00:00
962da61f12
Adds shared LOS for allied players, based on patch by Deiz/F00. Fixes #1334 .
...
This was SVN commit r11949.
2012-06-08 04:41:39 +00:00
659049eb1c
Auto-gather all types of treasures. Fixes #1422 . Patch by Deiz.
...
This was SVN commit r11948.
2012-06-07 21:56:29 +00:00
66194deedc
Fixes player setup to set all diplomacy values (including self as ally).
...
Removes unnecessary checks from CmpPlayer diplomacy functions.
Fixes some inconsistent formatting.
This was SVN commit r11935.
2012-06-04 00:24:08 +00:00
4ee4f16793
Stop rearranging formations for orders carried out individually. Fixes #1476 .
...
This was SVN commit r11934.
2012-06-03 23:00:36 +00:00
d7752438fe
Do not count domestic animals as units in statistics, based on patch by Deiz. Fixes #1439
...
This was SVN commit r11922.
2012-05-29 04:04:41 +00:00
636896dd7f
Pass template to gather-near-position. Fixes #1454 .
...
Add order_trade sound.
This was SVN commit r11921.
2012-05-27 20:23:08 +00:00
137b6dd338
Queued orders for rally points. Fixes #1053 and #1211 .
...
This was SVN commit r11909.
2012-05-24 18:25:31 +00:00
8fd3fbc210
Fixes Attack.js error.
...
This was SVN commit r11892.
2012-05-20 22:51:51 +00:00
c4d6019599
Add garrison order sound and remove the old garrison sound.
...
Fix some map errors, tabs in templates and update docs.
This was SVN commit r11891.
2012-05-20 15:44:57 +00:00
f72d820cd4
Added randomized arrow positions with hit detection when the missile lands and splash damage. Fixes #18 .
...
This was SVN commit r11886.
2012-05-19 23:07:41 +00:00
68d1cf167e
Add repair order queueing to formations. Refs #592 .
...
This was SVN commit r11876.
2012-05-18 21:31:57 +00:00
e7689342f8
Implements TerritoryDecay/HealthDecayRate and Promotion/RequiredXp tech modifications.
...
This was SVN commit r11875.
2012-05-18 03:58:37 +00:00
8fba8097ce
Reverts bfb7526bcf
.
...
This was SVN commit r11874.
2012-05-17 23:24:12 +00:00
6f2b90ba70
Default starting resources decreased.
...
This was SVN commit r11853.
2012-05-12 21:31:00 +00:00
ad87febd25
Improve gathering behaviour if the target is exhausted.
...
This was SVN commit r11827.
2012-05-10 22:02:59 +00:00
bfb35a6484
Add SetNextStateAlwaysEnter() function to reload a state when switching to it from itself. Fixes #1395 .
...
This was SVN commit r11824.
2012-05-10 21:14:43 +00:00
89821855c7
Check that a nearby resource has >0 resources left. Fixes #1395 .
...
Also added a check to TechnologyManager to see if player is defined.
This was SVN commit r11806.
2012-05-09 21:32:21 +00:00
f2515bec84
Fix some whitespace in scripts
...
This was SVN commit r11803.
2012-05-09 12:14:22 +00:00
a0f122bfd4
Fix #1394 (UnitAI FSM serialization error).
...
Replace evil eval/uneval with deepcopy.
This was SVN commit r11802.
2012-05-09 12:10:01 +00:00
ddd3e702d5
Fixes units ignoring player orders in most stances by expanding the concept of "forced" orders.
...
Documents more functions of UnitAI.
This was SVN commit r11798.
2012-05-08 23:00:14 +00:00
a40a12e794
Typo
...
This was SVN commit r11777.
2012-05-06 21:21:04 +00:00
8f762b8248
Fix error caused by e8cb2a71da
. Refs #1220 .
...
This was SVN commit r11776.
2012-05-06 21:17:29 +00:00
e8cb2a71da
Fix floating units when a building they were tasked to construct finishes while they're still en-route, based on a patch by mattlott.
...
This was SVN commit r11775.
2012-05-06 14:38:03 +00:00
3be4eb44fa
fix global from commit c4efc223ed
...
This was SVN commit r11763.
2012-05-05 21:29:36 +00:00
c4efc223ed
Don't serialize the technology modifications cache. Fixes #1384 .
...
This was SVN commit r11761.
2012-05-05 21:21:36 +00:00
490182ddd0
Wall placement. Closes #786 .
...
This was SVN commit r11760.
2012-05-05 19:22:22 +00:00
0463068947
Adds more checks for tech manager before using it. Refs #1377 .
...
This was SVN commit r11751.
2012-05-04 22:51:14 +00:00
a5713c1264
Try to fix tech error. Refs #1377 .
...
This was SVN commit r11749.
2012-05-04 18:13:23 +00:00
58836c624a
Read formations from civ JSON files. Fixes #1234 , #601 .
...
This was SVN commit r11735.
2012-05-03 23:32:10 +00:00
825e1ec7a3
Allow replace with 0.
...
This was SVN commit r11726.
2012-05-03 18:03:57 +00:00
d68d8cdee1
Added "class": "Foo", "number": 5 technology requirement
...
This was SVN commit r11724.
2012-05-02 20:31:25 +00:00
89978332de
Fixes tests.
...
This was SVN commit r11718.
2012-05-01 23:58:03 +00:00
fc47098743
Implements TerritoryInfluence/Radius tech modification. Adds C++ interface for TechnologyManager. Renames its message to MT_TechnologyModification defined in TypeList.h. Refs #1357 .
...
This was SVN commit r11711.
2012-05-01 22:44:27 +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
bfb7526bcf
Fixes bug in tech modifications ("affects" was ignored in some situations).
...
This was SVN commit r11705.
2012-05-01 05:56:53 +00:00
68638a92b8
Updates TakeDamage to apply tech modifications.
...
This was SVN commit r11703.
2012-04-30 20:39:27 +00:00
363ac861de
Stop dead sheep from walking
...
This was SVN commit r11702.
2012-04-29 22:20:25 +00:00
d03d36b1f3
Add attack ability to outposts.
...
Fix a issue with dying units with stance standground.
This was SVN commit r11697.
2012-04-29 18:43:10 +00:00
2f5b81a37e
Fix broken test.
...
This was SVN commit r11695.
2012-04-29 17:39:16 +00:00
b3ef24b12d
Change gathering behaviour to fix #1353 , based on patch by mattlott.
...
This was SVN commit r11689.
2012-04-28 19:25:44 +00:00
21caaa4573
Fixes some bugs in tech modifications relating to data types. Explicitly convert template data to numbers before calling ApplyModifications (using + operator).
...
This was SVN commit r11685.
2012-04-27 23:06:40 +00:00
eda4c082fd
Add tech support to BuildingAI, GarrisonHolder and Builder.
...
This was SVN commit r11682.
2012-04-26 21:58:05 +00:00
e6641ad14f
Make some healer modifiable by techs. Refs #1357 .
...
This was SVN commit r11679.
2012-04-26 20:11:18 +00:00
4f905584c9
Clarify tech pairs. Refs #1356 .
...
This was SVN commit r11669.
2012-04-25 17:02:41 +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
0d81325cc7
Fixed Attack and Armour bug by removing Armour/All and Attack/.../All technology modifications.
...
This was SVN commit r11625.
2012-04-22 10:53:38 +00:00
34fc883317
Pretty unit selection overlay rings. Fixes #824 .
...
This was SVN commit r11623.
2012-04-22 04:04:02 +00:00
5ceea39a59
Added technology pairs.
...
This was SVN commit r11609.
2012-04-21 21:40:07 +00:00
03f04e54fc
Fix garrisoning issue.
...
This was SVN commit r11607.
2012-04-21 20:12:52 +00:00
96549e0418
Modified caching behavior to work similarly to how k776 suggested. Also added modification level affects as also suggested by k776.
...
This was SVN commit r11604.
2012-04-21 16:37:35 +00:00
3e3a8d5414
Fix error when no items of a class exist and that class is used for techology requirements.
...
This was SVN commit r11598.
2012-04-21 10:55:02 +00:00
03d625dd2e
Added tech modification for carrying capacity and fixed warning for min range
...
This was SVN commit r11588.
2012-04-20 20:37:12 +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
ba17009767
Deposit resources when garrisoned in a dropsite. Patch by MattDoerksen. Fixes #1124 .
...
This was SVN commit r11571.
2012-04-19 20:34:59 +00:00
131d5eb88f
Tweak default healer behaviour, fix a small bug.
...
This was SVN commit r11552.
2012-04-18 18:26:49 +00:00
13281e230d
Handle updates for foundation progress, resource carrying and resource supply amount for AIProxy. Fixes #1327
...
This was SVN commit r11547.
2012-04-18 11:30:28 +00:00
46bf2cac22
Fix remaining issue
...
This was SVN commit r11539.
2012-04-17 21:05:01 +00:00
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
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
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
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