Commit Graph

11 Commits

Author SHA1 Message Date
ScottNZ
058185754e Remove Infiltratable trait and refactor surrounding code to use target types 2014-08-02 22:31:46 +12:00
ScottNZ
00ec1ca87a Remove unused usings 2013-11-12 19:39:33 +13:00
Paul Chote
a88b5e98d7 Enable frozen order: Infiltrates. 2013-08-12 21:34:20 +12:00
Paul Chote
3e605b1ee9 Add plumbing for issuing orders against frozen actors. 2013-08-12 21:34:18 +12:00
Paul Chote
e4d1c654ed Merge IOrderTargeter.CanTargetActor and CanTargetLocation. 2013-08-11 22:23:52 +12:00
ScottNZ
5334589922 Infiltration code cleanup 2013-06-14 18:58:39 +12:00
Scott_NZ
ac430bd3bc Add force-move 2013-05-18 17:52:36 +12:00
Scott_NZ
6da0db0035 Redesign Allies 02 base. Fix fail condition in Allies 02. Rename MissionUtils infil trait. Create cameras in missions to let enemy units attack properly 2013-04-28 04:10:35 +12:00
Paul Chote
4ca777597f Replace UnitTraitOrderTargeter with TargetTypeOrderTargeter.
This also makes naval buildings untargetable for c4 and demo trucks, as they don't make much sense.
2013-04-15 23:10:57 +12:00
Paul Chote
e76c746b61 Rewrite Enter and related activities.
The unit will now path to the nearest adjacent cell, drag inside, do the inner activity, then (if still alive) drag back to its original
location.

This fixes:
 - Mismatch in logic between Enter and MoveAdjacentTo,
   which causes an infinite loop.
 - Building capturing failing from certain directions.
 - Being unable to enter buildings on unpathable tiles.
 - Units being stranded inside a building if the requirements
   for the inner order aren't met.
2013-04-15 08:05:37 +12:00
Matthias Mailänder
49cfa21ddb separate spy disguise and infiltrate
- add thief to classic-ra & monster tank madness
- remove crude workarounds for allies04
2013-03-09 13:48:31 +01:00