Commit Graph

3032 Commits

Author SHA1 Message Date
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
Paul Chote
0ad9e65577 Add group labels to the slots dropdown. 2013-06-30 12:29:52 +12:00
Paul Chote
e6eac5a6c0 Remove duplication between ra and d2k lobby yaml. 2013-06-29 13:29:39 +12:00
Paul Chote
528198977a Move color picker remap indices into a chrome metric. 2013-06-29 13:29:39 +12:00
Paul Chote
fe6c6a3017 Add Developer Menu toggle. Fixes #3296. 2013-06-29 12:53:09 +12:00
Paul Chote
f4d37857aa Remove now-obsolete desync cheat. 2013-06-29 12:53:09 +12:00
Paul Chote
3e2f7b41d8 Use a trylock to simplify ColorMixerWidget. Fixes #3374. 2013-06-29 12:53:09 +12:00
Paul Chote
d7a580584d Remove renderer type setting.
Multiple people have needed support after breaking
their game by switching to an unsupported renderer.
2013-06-29 12:53:09 +12:00
Paul Chote
7eb579cb6c Remove settings UI for IgnoreVersionMismatch. 2013-06-29 12:53:08 +12:00
ScottNZ
a6e5a0b53f Add temp banning to servers 2013-06-29 10:58:37 +12:00
Matthias Mailänder
6cd69f5c05 Merge pull request #3479 from pchote/conyard-fix
Fix zombie MCV bug.
2013-06-27 14:14:38 -07:00
Paul Chote
791cdeba4d Cancel make animation if the building dies. Fixes #3464. 2013-06-27 18:07:51 +12:00
Matthias Mailänder
bd7e8da81d Merge pull request #3475 from pchote/startgame-fix
Startgame fix and observer tweaks.
2013-06-26 11:21:39 -07:00
Paul Chote
1fce900801 Set spectator color to white & remove selector. 2013-06-26 22:32:27 +12:00
Paul Chote
859af00f1c Remove unused spectator ready checkboxes. 2013-06-26 22:21:13 +12:00
Paul Chote
6e4cf37e44 Fixes #3336. 2013-06-26 21:42:56 +12:00
Chris Forbes
1cd3adef5e Merge pull request #3472 from pchote/renderer-regressions
Fix renderer regressions
2013-06-26 02:00:35 -07:00
Chris Forbes
c0e0efd0ef movement equivalence classes
These can be used as a basis for a bunch of pathing optimizations.

- Feasability of movement can be precomputed for each class, avoiding
  the worst-case pathfinding behavior

- A path could potentially be shared between all members of a class.
  This isnt necessarily the best path for any single unit, as it
  doesn't care about efficiency of movement across various terrain --
  but it would be a "reasonable" path that the whole group could take
  together.

- General pathing checks can be converted from intersection of sets of
  strings to a simple AND.

- Other, wilder things.

V2: be paranoid about too-long bit vectors.
2013-06-26 20:50:51 +12:00
Paul Chote
185e9b3f08 Fix and rewrite contrails. Closes #3457. 2013-06-25 19:38:48 +12:00
Chris Forbes
5dca3742f1 Merge pull request #3470 from ScottNZ/production
Favour newer buildings over older buildings when a unit can appear from ...
2013-06-23 14:33:33 -07:00
ScottNZ
9f1d9e153a Favour newer buildings over older buildings when a unit can appear from multiple buildings after being built 2013-06-24 09:16:35 +12:00