Commit Graph

954 Commits

Author SHA1 Message Date
Paul Chote
40a9caddc7 Add FrozenActor target type. 2013-08-12 21:34:18 +12:00
Paul Chote
eef941fd42 Track per-player 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
Paul Chote
4f3c9aa0af Introduce Target.Type property. 2013-08-11 22:23:52 +12:00
Paul Chote
ff98fb0cdf Add ITargetableInfo interface for querying target types. 2013-08-11 22:23:52 +12:00
Matthias Mailänder
bbff99d958 remove kill/death count in player/health 2013-08-11 12:21:33 +02:00
Paul Chote
3b3e6edc90 Add IMove interface.
Fixes Rallypoints for aircraft.
2013-08-11 00:28:31 +12:00
Paul Chote
a6ee4daf58 Remove obsolete ITooltip.Stance. 2013-08-11 00:28:30 +12:00
Paul Chote
4754cbb768 Replace IOrderGenerator.RenderBeforeWorld with world-sorted .Render.
Range circles have been moved to RenderAfterWorld for now.
2013-08-11 00:25:54 +12:00
Paul Chote
8fcbe7bb9e Fix world visibility checks when shroud is disabled. 2013-08-10 20:15:05 +12:00
Paul Chote
c7350b704e Add trait interfaces for added/removed from world. 2013-08-04 18:22:57 +12:00
Paul Chote
c08f602661 Add lobby options for Shroud and Fog. 2013-08-04 13:04:09 +12:00
Matthias Mailänder
74c136b7e3 Merge pull request #3627 from pchote/muzzleflash
Improved Muzzleflash support
2013-08-03 02:20:46 -07:00
Paul Chote
755fa6eaf4 Include Armament and Barrel in INotifyAttack. 2013-08-03 16:21:57 +12:00
Paul Chote
03e09e25bb Fix turret facings for GTWR etc. Fixes #3610. 2013-08-03 12:45:21 +12:00
Paul Chote
1ae2e55448 Remove obsolete PPos functions from Target. 2013-08-01 20:18:44 +12:00
Paul Chote
3d1b7d6d53 Fix Traits.Util style issues. 2013-08-01 20:18:44 +12:00
Paul Chote
b50ba0bfb9 Use WAngle.ArcTan in Traits.Util.GetFacing. 2013-08-01 20:18:44 +12:00
Paul Chote
e08445f762 Remove obsolete functions from Traits.Util. 2013-08-01 20:18:44 +12:00
Paul Chote
3fd01cfac2 Remove obsolete PSubPos and PSubVec. 2013-08-01 20:18:43 +12:00
Paul Chote
a09bcbd47a Use the rendered resource state for the harvest order targeter. 2013-07-25 18:11:54 +12:00
Paul Chote
ff4a600d94 Freeze resources under fog. 2013-07-25 18:11:54 +12:00
Paul Chote
e1a7a55f2a Fix ResourceLayer style nits. 2013-07-25 18:11:54 +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
6a435752fd Remove *PxPosition from IOccupySpace/IPositionable. 2013-07-21 17:35:46 +12:00
Paul Chote
19165d259d Add world coord overloads to IOccupySpace and 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
048bed0a5e Rename ITeleportable -> IPositionable. 2013-07-21 17:35:41 +12:00
Paul Chote
ecc119cb29 Combine IHasLocation -> IOccupySpace, IMove -> ITeleportable. 2013-07-21 17:33:32 +12:00
Paul Chote
ac3f63b59c Remove IHasLocation lookup from Target. 2013-07-21 17:31:00 +12:00
Paul Chote
f18994f800 Add WVec.HorizontalLengthSquared to simplify range checks. 2013-07-21 17:30:58 +12:00
Paul Chote
ddd1314613 Convert ScreenShaker to world coords. 2013-07-20 15:34:28 +12:00
Matthias Mailänder
667aee095f Merge pull request #3571 from pchote/split-shadows
Add support for TS/RA2 split-shadows.
2013-07-15 09:18:35 -07:00
Paul Chote
15688eed13 Allow Animation to generate its own Renderables. 2013-07-15 20:54:02 +12:00
Curtis Shmyr
a1f05fd017 Remove unused interface INotifyOtherCaptured 2013-07-14 11:53:15 -06:00
ScottNZ
e4e92ec900 Add RejectsOrders to disallow orders for offmap aircraft etc 2013-07-12 16:04:14 +12:00
Matthias Mailänder
9a6e7f749b Merge pull request #3545 from pchote/infantry-range-fix
Infantry range fix
2013-07-11 11:45:15 -07:00
Paul Chote
045eb12388 Fix an integer overflow in Target.IsInRange. 2013-07-11 19:59:06 +12:00
Paul Chote
9b9952dcdf Change ITargetable TargetableCells -> TargetablePositions. 2013-07-10 19:09:28 +12:00
Paul Chote
01de84e9fc Ensure valid targets in Selectable. 2013-07-08 23:40:21 +12:00
Paul Chote
4b1323ada5 Target cleanup. 2013-07-08 21:52:28 +12:00
Paul Chote
89fd889cf4 Convert Target positions to world coords. 2013-07-08 21:52:28 +12:00
Paul Chote
d0bed06765 Use WVec overload of Util.GetFacing where possible. 2013-07-08 21:52:27 +12:00
Paul Chote
0fdffd7b6a Convert Drag to world coords. 2013-07-08 21:52:27 +12:00
Paul Chote
7f25573cfa Convert Selectable to world coords. 2013-07-08 21:52:26 +12:00
Paul Chote
9eaeeffae9 CenterLocation.ToCPos() -> CenterPosition.ToCPos(). 2013-07-08 21:52:26 +12:00
Paul Chote
2a0eff2ed0 Convert DrawLineToTarget to world coords. 2013-07-08 21:52:25 +12:00
Paul Chote
399aac7e0f Extend Target with world-coordinate range checks. 2013-07-06 19:12:26 +12:00
Matthias Mailänder
b93e9a5945 Merge pull request #3458 from pchote/harvester-animations
Fix the harvest animations for TS and D2k.
2013-06-22 01:21:34 -07:00
Paul Chote
80c3cf479d Remove harvester dependency on RenderUnit. 2013-06-22 16:58:40 +12:00