Commit Graph

331 Commits

Author SHA1 Message Date
Chris Forbes
a3818a6aa2 fix MoveAdjacentTo so it doesnt suck so much 2011-09-07 20:43:18 +12:00
Chris Forbes
dd306c7b7c fixed #766 -- minelayers not entering FIX properly 2011-08-21 22:17:50 +12:00
Chris Forbes
b95f49d6f3 remove pointless null checks for owner 2011-08-21 19:34:45 +12:00
Chris Forbes
663a323f29 remove trait lookup spam everywhere for IOccupySpace. 2011-08-13 15:01:41 +12:00
Chris Forbes
89a209ff52 remove bogus FirstOrDefault + deref in Teleport; just use Trait<> 2011-08-09 08:51:36 +12:00
Paul Chote
648979c8ae Fix a crash in Demolish 2011-07-27 13:36:40 +12:00
Paul Chote
2231940056 Harvesters harvest the cell in front of them; fix harvester target lines; split harvester activities into their own (correctly named) files. 2011-07-25 22:23:21 +12:00
Paul Chote
c79f5b5365 Ignore damage modifiers when killing a unit via actor.Kill(). Fixes surrender desync (#460); Fixes invulnerable actors surviving in situations where they should be killed (bridge death, losing/surrender, etc). 2011-07-25 22:23:15 +12:00
Paul Chote
64b88819a9 Add plumbing to support ownership checks in MobileInfo.CanEnterCell. 2011-07-14 21:00:50 +12:00
Chris Forbes
2ab2ee17c1 remove duplicated HarvestThisTile function from Harvest.cs 2011-07-14 20:29:11 +12:00
Chris Forbes
e44b965785 fixed #999 -- replace order/first[ordefault] with .ClosestTo(point) 2011-07-14 20:29:07 +12:00
Paul Chote
3ec5693f69 Fix repair depot crash 2011-06-26 16:12:18 +12:00
Lawrence Wang
de5db51f25 Fixed #856 - created trait for ammo reload time, set for some aircraft 2011-06-25 11:54:12 +12:00
Paul Chote
35a5fc3356 Work around for #902. 2011-06-24 00:40:58 +12:00
Chris Forbes
24586ac056 fixed 771 -- adds Passenger.Weight, Cargo.MaxWeight, Cargo.PipCount 2011-05-30 20:09:22 +12:00
Chris Forbes
3bbcbf4701 fix #772 -- GivesBounty uses Actor.GetSellValue 2011-05-22 20:41:37 +12:00
Paul Chote
d4baf2d757 Refactor UnitInfluence trait -> world.ActorMap 2011-05-22 19:32:53 +12:00
Chris Forbes
668dfa1f6f don't show cashticks when there is no refund 2011-05-22 19:32:52 +12:00
Chris Forbes
00e9015671 fix minelayer going to faraway FIX 2011-05-02 21:38:16 +12:00
Chris Forbes
702f787899 fix entering helicopters 2011-05-01 15:20:35 +12:00
Chris Forbes
e829c01ee6 else after return is silly 2011-04-22 10:32:47 +12:45
Chris Forbes
c34d987e4a remove a couple of trait lookups 2011-04-22 10:31:47 +12:45
Paul Chote
24908b7269 Split Harvest activity into saner chunks; fix pathfinding. 2011-04-18 10:47:10 +12:00
Paul Chote
a0941db61b Fix warfactory roof glitch 2011-04-17 20:02:02 +12:00
Paul Chote
b2167adf1a Kill QueuedActivity 2011-04-16 15:37:31 +12:00
Paul Chote
4f83e994d0 Tidy up Activity.Cancel(), make Tick abstract 2011-04-16 13:18:22 +12:00
alzeih
0a67c68c45 GetTargetQueue -> GetTargets + Exts 2011-04-16 12:57:55 +12:00
alzeih
255bac6aff QueuedActivity's Insert is broken 2011-04-16 12:50:13 +12:00
Paul Chote
8b00e1cfa5 Remove some bogus duplication in Sell (caused the double-sell bug). 2011-04-16 11:39:32 +12:00
Paul Chote
61db3b3965 Kill HPFraction 2011-04-12 08:42:13 +12:00
Paul Chote
715425d821 Capturable husks for cnc 2011-04-12 08:42:07 +12:00
Paul Chote
362170ee67 Tweak capturing traits 2011-04-12 08:41:25 +12:00
Paul Chote
a31ef3d8e2 Use MakeAnimation activity for make animations 2011-04-12 08:41:25 +12:00
Mike Bundy
7a63858812 Bug Fix: Cash ticks for TRUK and Bounties only show for allies 2011-04-10 21:22:42 +01:00
Paul Chote
fe4fd8cab0 Use MakeAnimation for selling; Support selling non-buildings 2011-04-10 11:03:42 +12:00
Paul Chote
e4d8680bd5 Pull the make animation crap out of Transforms 2011-04-10 10:53:04 +12:00
Chris Forbes
40f6c4e332 clean up unnecessary junk from MoveAdjacentTo 2011-04-09 15:21:16 +12:00
Chris Forbes
f851e6a212 fix a silly glitch in unit repairing 2011-04-09 15:14:19 +12:00
Paul Chote
b0425aff3b Renormalize line endings and fix copyright headers again. 2011-04-07 21:15:42 +12:00
Curtis S
88d63d07e6 Adds TRUK to both sides - donates cash to others 2011-04-06 09:16:42 +12:00
Paul Chote
8c18949861 Change C4Demolition from minutes to ticks; actually use this value. 2011-03-23 21:07:11 +13:00
Chris Forbes
a3994df925 queries dies 2011-03-17 22:09:10 +13:00
Chris Forbes
0bfcb4585c fix glitchy vis on exiting a transport 2011-03-02 23:13:32 +13:00
Chris Forbes
d80f581e98 fix div-by-zero with empty minefield 2011-02-15 08:09:31 +13:00
Paul Chote
094907c1a9 Update copyright header. Normalize line endings to LF. 2011-02-13 10:38:57 +13:00
Paul Chote
4b3c6cc62a Add a SubCell field to UIM. Allow UIM to query for units by subcell. 2011-02-04 18:39:03 +13:00
Chris Forbes
c8a68659a0 add INotifyOtherCaptured, for reacting to other units changing ownership 2011-01-30 17:43:25 +13:00
Paul Chote
22bf9e7aff Further refactoring of Repair. 2011-01-05 13:29:38 +13:00
Chris Forbes
418284672c clean up some potential fp misbehavior in Repair.cs 2011-01-05 09:12:29 +13:00
Paul Chote
ece50b0d57 RA Harvester docking sequence. 2011-01-04 14:34:00 +13:00