Paul Chote
3eb05ef23e
Don’t reveal shroud at the original transport load point.
2014-10-26 10:01:47 +13:00
atlimit8
cead66668f
Fixed #4640 - Units teleport into transports.
2014-10-03 08:07:02 -05:00
atlimit8
8ad1140921
Reduce ICrushable trait lookup & drop -SubCell suffix.
...
Replace `a.HasTrait<ICrushable>()` with a.TraitsImplementing<ICrushable>().Any() or equivalent.
2014-08-30 04:43:57 -05:00
atlimit8
e29b9edfc1
Changes to map.cs, rename IPositionable.IsLeaving{ => Cell}, add IPositionable.GetValidSubCell
2014-08-29 23:30:16 -05:00
atlimit8
63c28ee4d7
Refactored in new enum SubCell
2014-08-29 23:00:53 -05:00
atlimit8
b2c9064545
Refactored [sub-]cell availability logic in IPositionable & ActorMap
...
Moved the logic from IPositionable.CanEnterCell & integrated sub-cell selection.
Added IPositionable.IsMovingFrom(CPos location, int subCell = -1) - to detect transient actors
Renamed IPositionable.{GetDesiredSubcell => GetAvailableSubcell} - since it checks for available sub-cells
Reduced IPositionable.CanEnterCell to one method that usually uses IPositionable.GetAvailableSubcell
Added actor checking to ActorMap.{HasFreeSubCell, FreeSubCell, AnyUnitsAt} - used by [sub-]cell availability logic
2014-08-29 23:00:53 -05:00
atlimit8
ff7ad53dee
Fixed UnloadCargo stacking using new subcell API exposure
2014-08-29 23:00:53 -05:00
Alexander Fast
070d00c678
Fixes year numbers in license text in file headers.
2014-08-21 11:27:52 +02:00
atlimit8
43478dd500
enum SubCell => int & Dictionary<SubCell, WVec> => WVec[]
2014-08-04 18:09:26 -05:00
Paul Chote
086ec07eb6
Add World parameter to Target.FromCell.
2014-06-27 23:30:40 +12:00
ScottNZ
dbffce81a6
Remove unused usings
2014-06-15 22:16:40 +12:00
Paul Chote
de735fbd27
Use MoveIntoWorld for transports. Fixes #4758 .
2014-03-19 14:28:38 +13:00
ScottNZ
f80710ac7a
Let cloaked units optionally uncloak when unloading
2014-03-14 22:33:34 +13: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
Paul Chote
6a435752fd
Remove *PxPosition from IOccupySpace/IPositionable.
2013-07-21 17:35:46 +12:00
Paul Chote
0676116d77
Convert Move and related plumbing to world coordinates.
2013-07-21 17:35:45 +12:00
Paul Chote
0fdffd7b6a
Convert Drag to world coords.
2013-07-08 21:52:27 +12:00
Matthias Mailänder
0a82bfe552
format TODO: uniformly to auto-generate task list in MonoDevelop
2013-03-27 09:45:17 +01:00
Chris Forbes
e0069fd62a
make UnloadCargo.unloadAll configurable; go back to all by default
2012-07-01 19:45:31 +12:00
Matthias Mailänder
f5ba36a735
Unload only 1 cargo per mouseclick, for more control
2012-07-01 18:07:33 +12:00
Matthias Mailänder
efe2f2e043
UnloadCargo rallypoint fixes #2016
2012-07-01 18:07:05 +12:00
James Dunne
9c49143534
New types for cell and pixel coordinate position/vectors.
2012-06-21 15:36:59 -05:00
Chris Forbes
2bc260c833
move Activity from OpenRA.Traits.Activities namespace to OpenRA.Traits
2011-10-06 23:11:58 +13:00
Chris Forbes
55036cd58c
fix trailing whitespace everywhere
2011-09-26 08:40:39 +13:00
Chris Forbes
a3818a6aa2
fix MoveAdjacentTo so it doesnt suck so much
2011-09-07 20:43:18 +12:00
Paul Chote
d4baf2d757
Refactor UnitInfluence trait -> world.ActorMap
2011-05-22 19:32:53 +12:00
alzeih
255bac6aff
QueuedActivity's Insert is broken
2011-04-16 12:50:13 +12:00
Paul Chote
b0425aff3b
Renormalize line endings and fix copyright headers again.
2011-04-07 21:15:42 +12:00
Chris Forbes
0bfcb4585c
fix glitchy vis on exiting a transport
2011-03-02 23:13:32 +13:00
Paul Chote
094907c1a9
Update copyright header. Normalize line endings to LF.
2011-02-13 10:38:57 +13:00
Paul Chote
b423889c06
Remove a pile of duplication from target lines.
...
Remove MoveFlash.
2010-11-27 11:20:03 +13:00
Bob
01accaeb38
fix cargo
2010-10-25 08:03:13 +13:00
Bob
0d9cf63dd2
move Mobile et al into Mods/
2010-10-22 11:31:13 +13:00
Bob
6513bd5fe0
don't use Move directly
2010-10-22 11:10:32 +13:00
Matthew Bowra-Dean
f6df7a06f2
fixes #323
2010-10-21 07:43:52 +13:00
Bob
ef665df2e9
refactor activity queueing
2010-09-22 10:13:13 +12:00
Bob
ae703d50b2
Actor.traits is implementation detail
2010-08-14 17:39:49 +12:00
Paul Chote
d29e3f3f0e
Split facing into its own interface; fix husks
2010-08-01 01:01:31 +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
alzeih
925ca2bb73
SetTargetSilently for DrawLineToTarget
2010-07-26 13:57:53 +12:00
Chris Forbes
d5f12dd8ee
trim down license spam in all files
2010-07-18 16:48:21 +12:00
Bob
fb6c44bce3
move render{building,buildingturreted,unit} into mods.ra; move all render traits into mods.ra.render
2010-07-08 17:24:12 +12:00
Paul Chote
37cf30a097
Refactor Mobile.TeleportTo -> IMove.SetPosition
2010-06-24 21:51:22 +12:00
Paul Chote
b7c8e55d14
Some initial hacks towards multiple-infantry-per-cell. Make the pathfinder smart enough to do what we need, and remove a *lot* of stupid duplication. Needs more work.
2010-06-24 21:51:22 +12:00
Chris Forbes
ed21b3be8d
moved cargo-related traits to ra
2010-05-20 17:28:48 +12:00