Commit Graph

2787 Commits

Author SHA1 Message Date
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
Paul Chote
9b9952dcdf Change ITargetable TargetableCells -> TargetablePositions. 2013-07-10 19:09:28 +12:00
Matthias Mailänder
8bb5b5700b added StyleCop support
with some rules we disagree with disabled
2013-07-08 19:42:32 +02:00
Matthias Mailänder
f0f64010ec Merge pull request #3531 from pchote/world-targets
Convert more things to world coordinates
2013-07-08 10:33:25 -07:00
Paul Chote
01de84e9fc Ensure valid targets in Selectable. 2013-07-08 23:40:21 +12:00
Paul Chote
87361df043 Centralize weapon validity check into WeaponInfo. 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
f9ec5fd9b7 Add WPos.ToCPos(). 2013-07-08 21:52:25 +12:00
Chris Forbes
edb08d6fec restrict packet size to 4K in server
- Sending a negative length no longer crashes the server
- Sending very large lengths can't force us to buffer stupid amounts of data

The offending client just gets kicked if they do this.
2013-07-08 14:58:07 +12:00
Paul Chote
399aac7e0f Extend Target with world-coordinate range checks. 2013-07-06 19:12:26 +12:00
Paul Chote
eec986d93d Add world coords overload of FindUnitsInCircle. 2013-07-06 19:12:25 +12:00
Paul Chote
e765fb6439 Make world-coordinates [Sync]able 2013-07-06 18:43:06 +12:00
Paul Chote
18cecf8a67 Disable pausing for spectators. Fixes #3340. 2013-07-06 11:31:43 +12:00
Paul Chote
3a356782fc Force spectator color to white on join. Fixes #3501. 2013-07-06 11:11:48 +12:00