Commit Graph

321 Commits

Author SHA1 Message Date
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
vts
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
vts
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
vts
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