Commit Graph

57 Commits

Author SHA1 Message Date
Alexander Fast
070d00c678 Fixes year numbers in license text in file headers. 2014-08-21 11:27:52 +02:00
Taryn Hill
da001385ae Added some trait [Desc()]s. 2014-07-12 13:31:14 -05:00
Matthias Mailänder
ea86aac089 replace EmitCargoOnSell with Cargo.EjectOnSell 2014-07-01 22:11:44 +02:00
Paul Chote
9487f49cd5 Replace WPos.ToCPos -> Map.CellContaining. 2014-06-27 23:30:40 +12:00
ScottNZ
90894aa03e Use var everywhere 2014-06-15 22:17:34 +12:00
Matthias Mailänder
e66358792e fix a rare NullReferenceException in CanUnload
closes #5528
2014-06-02 10:18:09 +02:00
Paul Chote
4935266945 Merge FileFormats dll into Game and reorganise namespaces. 2014-04-17 01:20:47 +12:00
Paul Chote
3f9e89a746 Fix retaliation against garrisoned actors. 2014-03-21 10:03:54 +13:00
Paul Chote
11d4567b5d Allow maps to define custom initial cargo and fix initial notification. 2014-03-21 10:03:53 +13:00
Temeez
8bcb2e15c7 removed CurrentAdjacentCells from ctor 2014-02-20 08:08:58 +02:00
Temeez
864c4bc03a Pillbox unload fix 2014-02-19 14:19:52 +02:00
ScottNZ
025de83d3a Fix cargo loading/unloading.
- Fix the unloading subcell bug, letting us have units move to directly adjacent cells.
- Have the cursor change to a deploy-blocked cursor if the transport can't unload due to terrain type.
- Add RenderTransport for transport door opening.
- Remove turning/opening in general.
2014-02-12 20:07:44 +13:00
Matthias Mailänder
16ddecdcbf StyleCop 2014-02-01 09:13:14 +01:00
ScottNZ
dc84acc300 Add an Unload voice for when a unit is unloading. 2013-07-22 22:19:37 +12:00
Paul Chote
0594822078 Fix cargo loading. 2013-07-21 18:35:12 +12:00
Paul Chote
c3f04cc32e Convert non-aircraft positioning to world coords.
This removes the incomplete and unused hover code
on Mobile, which would be more trouble that it is
currently worth to carry over.
2013-07-21 17:35:47 +12:00
Paul Chote
ecc119cb29 Combine IHasLocation -> IOccupySpace, IMove -> ITeleportable. 2013-07-21 17:33:32 +12:00
Matthias Mailänder
425aa46476 kill the cargo instead of just destroying it
fixes #2983 and the player statistics
2013-06-19 19:09:40 +02:00
Matthias Mailänder
b7f1711497 remove some plenks
no logic changes
2013-06-18 20:11:27 +02:00
Curtis Shmyr
6a1b37b5b7 Capture changes - Engis now capture from outside. Added classic (legacy) capturable traits. 2013-06-11 20:44:06 -06:00
Matthias Mailänder
0a82bfe552 format TODO: uniformly to auto-generate task list in MonoDevelop 2013-03-27 09:45:17 +01:00
Matthias Mailänder
81f035904e remove TODO list, use bug-tracker 2012-08-15 08:48:48 +12:00
Chris Forbes
e0069fd62a make UnloadCargo.unloadAll configurable; go back to all by default 2012-07-01 19:45:31 +12:00
Curtis Shmyr
fdef80c53a Modify Cargo trait to support initial passengers 2012-03-23 15:16:48 +13:00
alzeih
b508f7c300 Fix #1269 - Transport Helicopter Loading while in the Air
Note that weight is now checked for cargo (this might break things)
2011-12-13 12:38:39 +13:00
Chris Forbes
c39050fdda support setting initial cargo of units via ActorInit 2011-10-11 14:42:35 +13:00
Chris Forbes
f085b79491 add hooks for passengers entering/leaving a vehicle 2011-10-11 14:42:35 +13:00
Chris Forbes
55036cd58c fix trailing whitespace everywhere 2011-09-26 08:40:39 +13:00
Chris Forbes
a635e8a4d8 add Passenger to crate; remove special cases in Cargo to support not having Passenger; #851 2011-07-17 17:55:53 +12:00
Chris Forbes
596e64e527 remove ReverseEnterTransport -- 852 2011-05-30 21:15:56 +12:00
Chris Forbes
24586ac056 fixed 771 -- adds Passenger.Weight, Cargo.MaxWeight, Cargo.PipCount 2011-05-30 20:09:22 +12:00
Chris Forbes
60ce83e696 cleanup cargo, remove some traitcalls 2011-04-23 10:58:46 +12:45
Paul Chote
1c2574f4f4 Add an INotifyKilled interface, which is what most things that used INotifyDamaged actually cared about. 2011-04-16 10:58:35 +12:00
Paul Chote
094907c1a9 Update copyright header. Normalize line endings to LF. 2011-02-13 10:38:57 +13:00
Chris Forbes
490b0801a0 start removing weird ctors on Order 2010-11-23 15:14:48 +13:00
Bob
10ed3db71d made all orders queuable 2010-11-13 15:53:08 +13:00
Bob
85a26ecdf7 fix invincible aircraft, infantry 2010-11-06 11:06:12 +13:00
Chris Forbes
79d6eb4a2b some widgets cleanup 2010-10-10 15:09:26 +13:00
Chris Forbes
9762b540b0 fix bogus reverse-enter-transport (in ResolveOrder this time) 2010-10-08 17:38:07 +13:00
Bob
aebef4f1c8 rename IIssueOrder2 -> IIssueOrder 2010-10-07 22:07:13 +13:00
Bob
f525c3808e implement order targeter for cargo 2010-10-07 22:07:12 +13:00
Chris Forbes
f456e41a45 check if a passenger is appropriate for reverse-enter-transport 2010-09-16 18:07:42 +12:00
Paul Chote
2b6328f0ee Begin imposing sanity on order ordering 2010-09-12 18:10:34 +12:00
Bob
68dcec87c7 right-clicking a passenger with a transport loads cargo 2010-09-09 20:26:03 +12:00
Chris Forbes
404a4ad578 kill cargo when the transport dies 2010-09-09 18:52:12 +12:00
Paul Chote
c7e76cc26d Visible cargo for LST 2010-08-25 20:15:48 +12:00
Bob
ae703d50b2 Actor.traits is implementation detail 2010-08-14 17:39:49 +12:00
Paul Chote
6fc945ac91 Fix cargo/passenger interaction 2010-08-08 19:16:37 +12:00
Paul Chote
207ee49da3 Move Facing and Altitude onto IMove impls, with associated pile of cleanups 2010-08-01 01:01:31 +12:00
Paul Chote
fdf57b1e63 Cargo 2010-07-23 21:17:21 +12:00