Commit Graph

2673 Commits

Author SHA1 Message Date
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
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
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
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
Matthias Mailänder
e6bdacce9c various fixes towards LegacyCapture
- sniper using Captures, but churches using LegacyCapturable
- unable to parse CaptureThreshold/SabotageHPRemoval from yaml
- not firing up INotifyCapture and breaking:
  * sniper transforming the church on capture in ra
  * proc not giving away it's contents in cnc
2013-06-23 12:43:24 +02:00
Paul Chote
efc494b859 Allow force-move to disable the harvest activity. Fixes #3459. 2013-06-23 14:22:37 +12:00
Matthias Mailänder
b93e9a5945 Merge pull request #3458 from pchote/harvester-animations
Fix the harvest animations for TS and D2k.
2013-06-22 01:21:34 -07:00
Matthias Mailänder
c9e46ee0f6 Merge pull request #3454 from pchote/cargo-antivis
Fix shroud glitches once and for all
2013-06-22 01:01:29 -07:00
Paul Chote
0029cb8aec Allow Harvester to define the number of harvestable facings. 2013-06-22 19:25:10 +12:00
Paul Chote
0424b56af1 Add WithHarvestAnimation for TS and D2K harvester animations. 2013-06-22 19:25:10 +12:00
Paul Chote
80c3cf479d Remove harvester dependency on RenderUnit. 2013-06-22 16:58:40 +12:00
Paul Chote
6d24eb14d7 Merge pull request #3371 from aperkins81/bleed
Add Bots button in Lobby
2013-06-21 18:52:17 -07:00
Paul Chote
7bce2017c3 Simplify and increase robustness of Shroud et al. Fixes #3440. 2013-06-22 13:15:27 +12:00