Commit Graph

10115 Commits

Author SHA1 Message Date
Paul Chote
57adaf46b0 Rewrite Aircraft movement using world coords. 2013-07-21 17:35:47 +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
29009fe3a4 Allow husks to chronoshift and return to their parent actors location. 2013-07-21 17:35:46 +12:00
Paul Chote
e23c1ad33e Rewrite husks using world coords. 2013-07-21 17:35:46 +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
3e9bc63d4e Prevent things from tweaking mobile position directly. 2013-07-21 17:35:45 +12:00
Paul Chote
0676116d77 Convert Move and related plumbing to world coordinates. 2013-07-21 17:35:45 +12:00
Paul Chote
abdfac6e85 More style fixes for Move. 2013-07-21 17:35:45 +12:00
Paul Chote
048bed0a5e Rename ITeleportable -> IPositionable. 2013-07-21 17:35:41 +12:00
Paul Chote
ac4b07bf7b Add missing SetChronoTankDestination.cs to project. 2013-07-21 17:33:35 +12:00
Paul Chote
ecc119cb29 Combine IHasLocation -> IOccupySpace, IMove -> ITeleportable. 2013-07-21 17:33:32 +12:00
Paul Chote
36a45d1a3f Change Exit.SpawnOffsetVector to WVec. 2013-07-21 17:31:00 +12:00
Paul Chote
ac3f63b59c Remove IHasLocation lookup from Target. 2013-07-21 17:31:00 +12:00
Paul Chote
200fde77b1 Remove unnecessary IHasLocation checks in HackyAI.
Existing checks for ITargetable / Building / etc
make these redundant.
2013-07-21 17:31:00 +12:00
Paul Chote
8a988e5e02 Clean up HarvesterDockSequence. 2013-07-21 17:30:59 +12:00
Paul Chote
031c17ab9c Helicopter style fixes. 2013-07-21 17:30:59 +12:00
Paul Chote
179f97a598 Convert helicopter activities to world coords. 2013-07-21 17:30:59 +12:00
Paul Chote
712e13b1e7 Remove some duplication against WorldUtils.ClosestTo. 2013-07-21 17:30:59 +12:00
Paul Chote
b92aa760d2 FlyAttack style fixes. 2013-07-21 17:30:58 +12:00
Paul Chote
a070629571 Convert plane activities to world coords. 2013-07-21 17:30:58 +12:00
Paul Chote
f18994f800 Add WVec.HorizontalLengthSquared to simplify range checks. 2013-07-21 17:30:58 +12:00
Paul Chote
56da57bc09 Return WVec.LengthSquared as a long to avoid overflow. 2013-07-21 17:30:57 +12:00
Matthias Mailänder
0f42fa5460 Merge pull request #3585 from dan9550/td_nod_campaign
NOD01Script Spaces -> Tabs & updated code
2013-07-20 03:32:56 -07:00
Dan9550
897f6cd69e Updated code, removed NOD_01, Spaces -> Tabs
NOD01Script Spaces -> Tabs

started work on NOD_01

Conflicts:
	OpenRA.Mods.cnc_sw/OpenRA.Mods.Cnc_sw.csproj

removing uneeded files

Spaces -> Tabs NOD01Script.cs

started work on NOD_01

Conflicts:
	OpenRA.Mods.cnc_sw/OpenRA.Mods.Cnc_sw.csproj

removing uneeded files

Did some messing around still broken

Spaces -> Tabs #2

Updated the code a little, is somewhat more playable now

removed NOD_01
2013-07-20 19:39:42 +10:00
Matthias Mailänder
002df7b24e Merge pull request #3583 from pchote/omg-more-world-coords
More world coordinates
2013-07-20 01:08:53 -07:00
Paul Chote
ddd1314613 Convert ScreenShaker to world coords. 2013-07-20 15:34:28 +12:00
Paul Chote
0c35e49239 Remove PPos from range circle drawing. 2013-07-20 15:34:28 +12:00
Paul Chote
27f04c1b78 Rename FindUnits -> FindActorsInBox. 2013-07-20 15:34:28 +12:00
Paul Chote
37c02fea79 Remove PPos overload of FindUnits. 2013-07-20 15:34:27 +12:00
Paul Chote
800acdbdf2 Rename FindUnitsInCircle -> FindActorsInCircle. 2013-07-20 15:34:27 +12:00
Paul Chote
e6865c5996 Remove PPos overload of FindUnitsInCircle. 2013-07-20 15:34:27 +12:00
Paul Chote
39d2095e54 Remove PPos overload of ClosestTo. 2013-07-20 15:34:27 +12:00
Paul Chote
c1a0836640 Convert HackyAI to world coords. 2013-07-20 15:34:26 +12:00
Paul Chote
6201d7bfe2 Convert mission scripts to world coords. 2013-07-20 15:34:26 +12:00
Paul Chote
1dfc4837d4 Add some world-coordinate helpers. 2013-07-20 15:34:26 +12:00
Matthias Mailänder
8751d29a9a Merge pull request #3578 from pchote/renderer-cleanup
Renderer cleanup
2013-07-19 09:10:15 -07:00
Paul Chote
c21db5dbbd Remove hacky os-specific keyboard shortcuts. 2013-07-18 18:23:34 +12:00
Paul Chote
7abab1449c Remove obsolete stencil buffer configuration. 2013-07-18 18:13:46 +12:00
Paul Chote
7853c2127e Style fixes for Renderer.SdlCommon. 2013-07-18 18:13:16 +12:00
Paul Chote
1b4e387ecc Style fixes for Renderer.Gl. 2013-07-18 17:45:23 +12:00
Paul Chote
61cb279c1d Style fixes for Renderer.Cg. 2013-07-18 17:45:23 +12:00
Matthias Mailänder
52fcba1607 Merge pull request #3575 from pchote/r8reader
Native R8 support for sequences
2013-07-17 08:27:15 -07:00
Matthias Mailänder
77ff985dcd Merge pull request #3574 from ScottNZ/superweapons
Add atom bomb and gps public superweapon timers to RA
2013-07-17 08:25:25 -07:00
ScottNZ
b519c915ca Add public atom bomb and gps timers to RA 2013-07-17 14:52:50 +12:00
Paul Chote
acbd692de8 Add native support for the d2k R8 format. 2013-07-16 23:16:09 +12:00
Paul Chote
e8d7624867 Move R8Reader to FileFormats. 2013-07-16 23:02:16 +12:00
Paul Chote
da4a2f548b Support loading sprites with non-zero offsets. 2013-07-16 19:40:54 +12:00
ScottNZ
506790e09c Add "leading minute zero" overload to FormatTime 2013-07-16 18:35: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