Commit Graph

2702 Commits

Author SHA1 Message Date
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
95d8c17d71 Merge pull request #3548 from pchote/regression-fixes
Regression fixes
2013-07-11 11:13:46 -07:00
Paul Chote
823a502873 Tidy RadarWidget. 2013-07-11 19:59:07 +12:00
Paul Chote
93ee46ba52 Default radar bin to enabled. Fixes observers and replays. 2013-07-11 19:59:07 +12:00
Paul Chote
6a37808dae Fix RadarWidget eating input outside its bounds. 2013-07-11 19:59:06 +12:00
Paul Chote
11cebddaa9 Convert Sound.Play* to WPos. 2013-07-11 17:37:27 +12:00
Paul Chote
a263fd879d Account for sub-cell offsets in FindUnitPathToRange. Fixes #2417. 2013-07-10 21:23:30 +12:00
Paul Chote
b10a5d27a0 Tidy up Move. 2013-07-10 20:34:19 +12:00
Paul Chote
0326d2bbd0 Use WRange for Follow. 2013-07-10 20:03:53 +12:00
Paul Chote
ee188ededd Fix Follow formatting. 2013-07-10 20:01:04 +12:00
Paul Chote
91698678a2 Use WRange for Mobile.MoveWithinRange. 2013-07-10 19:59:03 +12:00
Paul Chote
ae987b3c10 Tidy AttackFrontal. 2013-07-10 19:24:49 +12:00
Paul Chote
935b829532 Tidy TargetableUnit and subclasses. 2013-07-10 19:22:11 +12:00
Paul Chote
bed2745c61 Tidy TargetableBuilding. 2013-07-10 19:09:49 +12:00
Paul Chote
9b9952dcdf Change ITargetable TargetableCells -> TargetablePositions. 2013-07-10 19:09:28 +12:00
Chris Forbes
401ffaff17 rename BuildSpeedModifier back to BuildSpeed 2013-07-10 16:34:43 +12:00
Chris Forbes
10e0f367a8 fix a timing bug in LegacyCaptureActor 2013-07-09 08:15:03 +12:00
Matthias Mailänder
a90b3a9cd3 Merge pull request #3525 from pchote/ra-widget-cleanup
Widget fixes
2013-07-08 10:39:25 -07: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
2cff2d8bbe Improve Leap behavior:
* Configurable jump speed.
* Configurable jump angle.
* Configurable attack sound (uses weapon report).
* Don't accidentally eat tanks.
2013-07-08 23:40:22 +12:00
Paul Chote
4fbed810dc Redo husk particle physics using LerpQuadratic. 2013-07-08 23:40:22 +12:00
Paul Chote
1e7f1ab225 Convert Explosion to world coords. 2013-07-08 23:40:22 +12:00
Paul Chote
8fe0eb73e2 Ensure a valid target in move. 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
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
7883b1bd7f Convert Combat.DoExplosion to world coords. 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
9eaeeffae9 CenterLocation.ToCPos() -> CenterPosition.ToCPos(). 2013-07-08 21:52:26 +12:00
Paul Chote
f9ec5fd9b7 Add WPos.ToCPos(). 2013-07-08 21:52:25 +12:00
Paul Chote
561cb6cfe0 Rewrite Leap activity to be more robust.
The dog will now always leap to the target
subcell (even if the target dies or moves),
and will kill whatever happens to be in the
target cell when it lands.
2013-07-08 21:52:25 +12:00
Paul Chote
82b7854ed7 Make MobileInfo.SubCellOffsets static. 2013-07-08 21:52:25 +12:00
Paul Chote
34df1ab705 Remove Combat.IsInRange(). Closes #3433. 2013-07-08 21:52:25 +12:00
Paul Chote
39e699d119 Convert BaseProvider range check to world coords. 2013-07-08 21:52:24 +12:00
Paul Chote
ec15aa5ee4 Restore radar enable/disable sounds. 2013-07-08 21:06:30 +12:00
Paul Chote
d631f1b06b Use Target range checks in CarpetBomb. 2013-07-06 19:16:16 +12:00
Paul Chote
ec9054ceb1 Use Target range checks in AutoTarget and dependencies. 2013-07-06 19:16:16 +12:00
Paul Chote
4a471eff8b Use Target range checks in AttackLoyalty. 2013-07-06 19:12:26 +12:00
Paul Chote
07f9575bb7 Use Target range checks in AttackLeap. 2013-07-06 19:12:26 +12:00
Paul Chote
3a0f6dda08 Use Target range checks in Armament. 2013-07-06 19:12:26 +12:00
Paul Chote
6f67602d57 Use Target range checks in attack activities. 2013-07-06 19:12:26 +12:00
Paul Chote
f8313672ff Kill PowerBarWidget. Fixes #3446. 2013-07-05 21:50:34 +12:00
Paul Chote
6fa4e54022 Remove the hardcoded mess of RadarBinWidget. 2013-07-04 23:19:25 +12:00
ScottNZ
4f099348b2 Make captured hospitals in cnc/ra gradually heal all infantry units on the map 2013-07-04 18:38:49 +12:00
Chris Forbes
71656b609a Merge pull request #3518 from ScottNZ/teslacoil
Tesla Coil improvements
2013-07-01 19:17:59 -07:00
ScottNZ
fd454d86fc Fix Tesla Coil zap and sequence timings 2013-07-02 14:15:08 +12:00
Paul Chote
4d3f7b366b Clean up RadarWidget code. Fixes #3508. 2013-07-01 21:11:05 +12:00
Paul Chote
c4190167ee Root the player bin in the lobby ui correctly. Fixes #3505. 2013-06-30 21:40:37 +12:00
Paul Chote
47406d8765 Overhaul lobby layout. 2013-06-30 20:34:25 +12:00
Paul Chote
a49bf40413 Replace add bots / assign with a combined slot options dropdown. 2013-06-30 14:29:49 +12:00