Commit Graph

2956 Commits

Author SHA1 Message Date
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
ScottNZ
dc84acc300 Add an Unload voice for when a unit is unloading. 2013-07-22 22:19:37 +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
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
1dfc4837d4 Add some world-coordinate helpers. 2013-07-20 15:34:26 +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
Paul Chote
acbd692de8 Add native support for the d2k R8 format. 2013-07-16 23:16:09 +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
Paul Chote
adea353e2b Support split shadows for TS and RA2. 2013-07-15 20:59:36 +12:00
Paul Chote
847f93246c Remove unnecessary properties from Sequence. 2013-07-15 20:58:25 +12:00
Paul Chote
9a47c6a303 Allow sequences to define a custom z offset. 2013-07-15 20:57:14 +12: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
Paul Chote
57a27eb948 Restore packet size restriction with 128k limit. 2013-07-14 17:00:44 +12:00
Paul Chote
567b1967cf Revert "restrict packet size to 4K in server"
This reverts commit edb08d6fec.
2013-07-13 21:03:44 +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
Paul Chote
06b06a5dad Merge pull request #3375 from i80and/pathingdomains
Pathingdomains
2013-07-12 23:01:38 -07: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
i80and
d4cead2187 Initial terrain domain work 2013-07-12 09:37:00 -04:00
ScottNZ
e4e92ec900 Add RejectsOrders to disallow orders for offmap aircraft etc 2013-07-12 16:04:14 +12:00
i80and
1fe2418e22 Factor out the CVec direction list. 2013-07-11 20:32:42 -04:00
Paul Chote
086b0a62e9 Merge pull request #3533 from Mailaender/stylecop
Added StyleCop Support
2013-07-11 15:01:30 -07: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
Matthias Mailänder
a35a046ede disable more StyleCop rules based on @pchote's wishlist 2013-07-11 20:29:00 +02:00
Matthias Mailänder
95d8c17d71 Merge pull request #3548 from pchote/regression-fixes
Regression fixes
2013-07-11 11:13:46 -07:00
Paul Chote
9746b53cb6 Merge pull request #3535 from chrisforbes/lobby-robustness
restrict packet size to 4K in server
2013-07-11 04:33:42 -07:00
Paul Chote
a783321c03 Fix BackgroundWidget eating input outside its bounds. 2013-07-11 19:59:06 +12:00
Paul Chote
045eb12388 Fix an integer overflow in Target.IsInRange. 2013-07-11 19:59:06 +12:00
Paul Chote
a49cc78c57 Tidy Sync. 2013-07-11 19:44:15 +12:00
Paul Chote
60f49b39d4 Fix #3546. 2013-07-11 18:45:12 +12:00
Paul Chote
11cebddaa9 Convert Sound.Play* to WPos. 2013-07-11 17:37:27 +12:00