Paul Chote
0594822078
Fix cargo loading.
2013-07-21 18:35:12 +12:00
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
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
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
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
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
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
Matthias Mailänder
60d97ef5fb
Merge pull request #3567 from cjshmyr/capturing
...
Remove unused interface INotifyOtherCaptured
2013-07-15 08:58:58 -07:00
Paul Chote
a642b8298e
Move harvester animation z offset to sequences.
2013-07-15 20:58:24 +12:00
Paul Chote
15688eed13
Allow Animation to generate its own Renderables.
2013-07-15 20:54:02 +12:00
Nico
d3e760659a
fix #3569 , and possible many other bugs... if the place is not close to the base, instead of returning the error, continue to see if there is another place to build
2013-07-14 23:31:09 -03:00
Nico
01f72f4f44
Revert "allow the AI to base-walk without restrictions"
...
This reverts commit d08d3d6e23 .
2013-07-14 23:14:09 -03:00
Curtis Shmyr
a1f05fd017
Remove unused interface INotifyOtherCaptured
2013-07-14 11:53:15 -06:00
ScottNZ
8bec40eb9b
Move SupportPowerInstance out of SupportPowerManager
2013-07-14 22:40:38 +12:00
Paul Chote
c7c9b8710e
Fix cached paths in PathFinder. Fixes #3557 .
2013-07-14 17:08:36 +12:00
ScottNZ
7ead562349
Use correct sound for teleporting chronotanks
2013-07-14 00:24:11 +12:00
Paul Chote
55653c3f1f
Add lobby support for configuring starting units.
2013-07-13 19:18:27 +12:00
Paul Chote
db22f3568d
Remove obsolete DefaultStartingUnits parameter.
...
It was only actually used by bomber-john. Everything
else also removed SpawnMPUnits, making it redundant.
2013-07-13 19:18:27 +12:00
Paul Chote
7376cccf4d
Smarter unit spawn logic. Fixes #3496 .
2013-07-13 19:18:27 +12:00
Paul Chote
2091a386fb
Improve support for picking a valid actor spawn cell.
2013-07-13 19:18:26 +12:00
Andrew Aldridge
8287c5c872
Use static empty pathfinding path when possible
2013-07-12 09:43:35 -04:00
Andrew Aldridge
259e121307
Substantial performance improvement in DomainIndex
...
* Get rid of HashSets
* Cache CanTraverseTile()'s terrain offsets
2013-07-12 09:40:59 -04:00
Andrew Aldridge
3fed98fcb1
Add support for bridge construction
...
Each movement class is given a crude transientDomain graph. Whenever a bridge state
changes, the domain index rebuilds the relevant cells, setting its domain and creating
a transient domain connection.
This graph is searched as a fallback if the straightforward domain comparison is false.
Behavior needs to be double-checked, and ideally destructing connections would be supported,
but so far performance and behavior on allies-02 seems good.
2013-07-12 09:40:59 -04:00
Andrew Aldridge
ba885907ba
Use MobileInfo.GetMovementClass for domain indexing, clearing path for caching and smarter behavior
...
* Move DomainIndex from being a manual hard-coded hook in World to an IWorldLoaded trait.
2013-07-12 09:40:55 -04:00