d0497c83f1
Split the formation template in different templates. This can be used later to remove hard-coded formation statistics and forms to attributes in those templates
...
This was SVN commit r14510.
2014-01-05 10:09:42 +00:00
8269f0cfd4
Group units in clusters of separate formations when they're too far apart.
...
This was SVN commit r14483.
2014-01-02 20:04:50 +00:00
a7cafe75aa
"Reveal all player" id back to -1, add some "ensure" to catch invalid player ids and be safer.
...
This was SVN commit r14465.
2013-12-31 21:30:48 +00:00
fe2a97b0c9
Change some useless std::map into std::vector for LOS. Player "0" now reveals the LOS for all.
...
This was SVN commit r14463.
2013-12-31 16:38:11 +00:00
749c4d5270
change the way to manage trade, closes #2311
...
This was SVN commit r14417.
2013-12-28 10:44:59 +00:00
f33d3193ca
fix tests ( fixes #2326 )
...
+ small code cleanup
+ move guiInterface call to GetEntityState
refs #2154
This was SVN commit r14405.
2013-12-27 08:49:47 +00:00
41b3dfc89c
Implement town bell
...
* the icons are temporary, and can be replaced later
* The sounds are created by LAVS, but may also need some polishing, so
the current ones are placeholders too
* The patch code is created by Itms
fixes #2154
This was SVN commit r14392.
2013-12-26 10:43:51 +00:00
e88d05e0e4
allow units to guard/escort buildings or units, fixes #2034
...
This was SVN commit r14263.
2013-11-30 17:30:08 +00:00
ce7c97b79f
Improve back to work behaviour (queues taken into account), fix #2206 , patch from Itms
...
This was SVN commit r14063.
2013-11-01 22:00:06 +00:00
c5669e2c4e
Add a back to work button. Patch by Itms. Fixes #799
...
This was SVN commit r13987.
2013-10-11 19:11:07 +00:00
e370af8d4e
Fix rally point rendering on saved games. Fixes #1762 . Patch by mimo
...
This was SVN commit r13897.
2013-09-24 20:27:18 +00:00
605852fccf
Fix function that decides which units can have which formations, and remove formations for animals and the maurian worker elephant
...
This was SVN commit r13726.
2013-08-21 09:53:59 +00:00
68822e3418
Adds more information to construction command debugging
...
This was SVN commit r13717.
2013-08-19 23:18:18 +00:00
1f55280fa2
AI-related changes to the AI interface and Command.js, to facilitate debugging of upcoming new version of Aegis.
...
This was SVN commit r13592.
2013-07-25 08:57:07 +00:00
181db44ab5
Enforce technology restrictions when training units.
...
This was SVN commit r13383.
2013-04-29 21:51:14 +00:00
6115c3fc13
Remove some duplication from ProcessCommand.
...
This was SVN commit r13367.
2013-04-22 17:50:25 +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
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
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
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
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
aebecd1204
Make territory build restriction tech modifiable.
...
This was SVN commit r13113.
2013-01-23 22:50:11 +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
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
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
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
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
bdde574ade
Wall build orders shouldn't always be queued. Fixes #1673 .
...
This was SVN commit r12676.
2012-09-15 05:45:49 +00:00
1fec7c382b
Respect the queued flag for garrison orders.
...
This was SVN commit r12642.
2012-09-08 16:17:25 +00:00
065a3e093b
Fixes incorrect test for command debugging
...
This was SVN commit r12446.
2012-08-16 02:29:08 +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
7d86fc4c31
Gate conversion now maintains wall HP percentage instead of magically restoring to full health
...
This was SVN commit r12413.
2012-08-13 21:37:40 +00:00
eadd24b64b
Added a 'Stop' button to the GUI for immediately halting units.
...
This was SVN commit r12318.
2012-08-08 05:36:42 +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
202a02568b
Cheats ... fixes #1555 .
...
This was SVN commit r12284.
2012-08-05 14:01:05 +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
b8ec515234
Construction cost should be checked after everything else to avoid messy refunds.
...
This was SVN commit r12166.
2012-07-20 02:50:43 +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
9b6839ace4
Adds gate conversion to palisades and siege walls. Fixes bug that all player entities in a selection could be converted to gates. Cleans up templates slightly. Refs #619
...
This was SVN commit r12139.
2012-07-18 03:56:18 +00:00
6eb71380aa
Get the gate template name from the wall name and fixes two templates which caused errors.
...
This was SVN commit r12095.
2012-07-12 22:49:40 +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
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
68d1cf167e
Add repair order queueing to formations. Refs #592 .
...
This was SVN commit r11876.
2012-05-18 21:31:57 +00:00
490182ddd0
Wall placement. Closes #786 .
...
This was SVN commit r11760.
2012-05-05 19:22:22 +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
fee0ec6648
Added some debug commands (quit and set-shading-color) which shoudl be useful for AI development
...
This was SVN commit r11671.
2012-04-25 20:56:35 +00:00