reaperrr
3aa811bd2e
Rename 'unit' to 'victim' in CEWH's GetDirectHit check
2016-04-26 19:47:21 +02:00
reaperrr
fe7fe9b49b
Fix CreateEffectWarhead's HitShape distance check
...
Originally, this was comparing distance beween pos and unit.CenterPosition with HitShape's OuterRadius. However, the OuterRadius can exceed the shape for Capsule and Rectangular shapes, so I tried to adress that a few months ago by using the DistanceFromEdge check instead. The approach was bogus, though. DistanceFromEdge just calculates the distance of a position to the edge, so by comparing it with the distance between pos and victim.CenterPosition in combination with using LengthSquared, it was entirely possible the explosion would be within the HitShape, but closer to the edge than the victim.CenterPosition and the check would return false.
Now we just check if DistanceFromEdge is 0 or negative, which means the impact is inside the HitShape.
2016-04-26 19:47:20 +02:00
reaperrr
3a8a8110be
Extend CreateEffectWarhead's GetDirectHit to scan a WDist radius for hits
...
Instead of only the impact cell.
2016-04-26 19:47:18 +02:00
Paul Chote
59f5e24189
Simplify and fix missile turnaround facing check.
2016-04-23 17:14:56 +01:00
Matthias Mailänder
fb53890636
Merge pull request #11144 from pchote/fix-start-game-frozen-explored-map
...
Generate frozen actor renderables for all map-placed actors.
2016-04-23 16:26:27 +02:00
reaperrr
863772675b
Merge pull request #11165 from pchote/fix-missile-flip
...
Fix missile facing check.
2016-04-23 15:15:59 +02:00
reaperrr
3dcb7bc02b
Fix missiles not moving to CruiseAltitude if launched above it
2016-04-23 14:50:35 +02:00
Paul Chote
13cfd3699d
Fix missile facing check.
2016-04-23 13:37:08 +01:00
Oliver Brakmann
3b2a5e2dbc
Merge pull request #11162 from reaperrr/fix-11159
...
Enable Targetable to handle multiple Cloak traits
2016-04-22 22:15:06 +02:00
reaperrr
521a8a66d2
Enable Targetable to handle multiple Cloak traits
2016-04-22 13:01:02 +02:00
Oliver Brakmann
c8a9936b6c
Merge pull request #11161 from pchote/fix-td-replay-timer
...
Fix replay timer.
2016-04-21 21:17:22 +02:00
Paul Chote
a8350783fc
Fix game timer when adjusting replay speed.
2016-04-21 17:52:47 +01:00
Paul Chote
08100dc49b
Fix initial render state for walls.
2016-04-21 17:21:29 +01:00
Paul Chote
183e5ae7ab
Generate initial frozen renderables for all map-placed actors.
2016-04-21 17:21:29 +01:00
reaperrr
8bd8e8aa56
Merge pull request #11154 from obrakmann/fix11055_targetable-cloaked-units
...
Fix looking up un-required trait in Targetable ctor
2016-04-21 13:02:38 +02:00
reaperrr
65f8b9f63b
Merge pull request #11141 from Mailaender/missile-targetedPassedBy
...
Removed redundant targetPassedBy check.
2016-04-21 12:30:14 +02:00
reaperrr
d82ff3412c
Merge pull request #11137 from Mailaender/deadcode-healthradiuscheck
...
Removed unnecessary null checks in CheckTargetHealthRadius
2016-04-21 12:29:40 +02:00
Oliver Brakmann
eb2d7016b5
Merge pull request #11152 from abcdefg30/lobbyNote
...
Fix reselecting a dropdown option in the lobby causing a server message
2016-04-20 20:34:40 +02:00
Oliver Brakmann
357d50679c
Fix looking up un-required trait in Targetable ctor
2016-04-19 22:39:36 +02:00
RoosterDragon
178fcfaf8c
Use Contains method on Selection when possible.
...
This allows the set to be utilized for a fast check, rather than degrading to a linear search via LINQ.
2016-04-19 21:19:36 +01:00
abcdefg30
ea68fbdd7c
Fix reselecting a dropdown option in the lobby causing a server message
2016-04-19 20:49:57 +02:00
Paul Chote
c68ef3d25f
Preserve editor actor order.
2016-04-17 20:25:20 -04:00
Oliver Brakmann
6323f763f1
Merge pull request #11122 from reaperrr/traits-render
...
Move Render traits to Traits.Render namespace
2016-04-17 21:48:32 +02:00
Oliver Brakmann
041be70371
Merge pull request #11139 from Mailaender/upgraderules-parentnull
...
Fixed NullReferenceExceptions in UpgradeRules
2016-04-17 20:11:11 +02:00
Matthias Mailänder
12543f2f32
Avoid logically dead code.
2016-04-17 16:00:57 +02:00
Matthias Mailänder
3e536a61e6
targetPassedBy is always false here so avoid redundant check.
2016-04-17 14:30:22 +02:00
Matthias Mailänder
62bc2a27d9
Fix NREs in UpgradeRules.
2016-04-17 14:15:49 +02:00
Paul Chote
42504bfa9c
Add DummyAI trait for scripted maps.
2016-04-17 11:01:25 +02:00
Matthias Mailänder
3d1fadf24a
Merge pull request #11014 from dtluna/can_undeploy
...
Added CanUndeploy property
2016-04-17 10:37:44 +02:00
Matthias Mailänder
7209bc474d
Merge pull request #11120 from teees/fix-barrels
...
Fix barrel recoil being set immediately, not when actually firing
2016-04-17 09:52:06 +02:00
Paul Chote
d59488d496
Merge pull request #11076 from obrakmann/low-funds-warning-2
...
Fix issues with the insufficient funds warning
2016-04-16 18:00:40 +01:00
Paul Chote
95a5689b9e
Merge pull request #11104 from obrakmann/fix11074-lobby-ready-map-install
...
Fix ready checkbox in the lobby being unusable after installing a map
2016-04-16 17:42:04 +01:00
reaperrr
a1ce5bd978
Move VeteranProductionIconOverlay to Traits.Render
2016-04-16 14:26:26 +02:00
reaperrr
fd5a597966
Move Render traits to Traits.Render namespace
2016-04-15 20:43:04 +02:00
Paul Chote
e54917a0b2
Fix depth-enabled shroud rendering.
2016-04-15 09:42:29 -04:00
Paul Chote
2915db67c4
Add depth buffer support to sprites and sequences.
2016-04-15 09:42:29 -04:00
teees
3c4d9b4c84
Fix barrel recoil being set immediately, not when actually firing
2016-04-15 14:06:21 +02:00
Oliver Brakmann
2fbea092bc
Fix submarines not being attackable when surfaced
...
This will also fix the issue of all pre-placed subs playing the submerging sound during the start of a map.
2016-04-12 21:17:04 +02:00
Oliver Brakmann
c68e03366c
Merge pull request #11097 from Mailaender/group-sound-traits
...
Grouped the sound traits together
2016-04-12 18:46:08 +02:00
Oliver Brakmann
b25eb81a42
Fix ready checkbox in the lobby being unusable after installing a map
2016-04-12 18:30:37 +02:00
reaperrr
6239aad070
Merge pull request #11017 from Mailaender/radar-refactor
...
Grouped the radar traits together
2016-04-12 17:07:01 +02:00
Oliver Brakmann
87eb443121
Add upgrade rule for moving InsufficientFundsWarning logic to PlayerResources
2016-04-11 19:06:18 +02:00
Oliver Brakmann
87e1acfc9f
Re-implement the insufficient funds warning in a simpler manner
2016-04-11 19:06:18 +02:00
Oliver Brakmann
41388b9c63
Revert the previous InsufficientFundsWarning implementation
2016-04-11 19:06:18 +02:00
Matthias Mailänder
be3ea7b79e
Move audio traits into Sounds namespace.
2016-04-10 22:34:10 +02:00
Matthias Mailänder
c4475539a1
Move CaptureNotification into Sounds sub-folder.
2016-04-10 22:33:37 +02:00
Matthias Mailänder
f37f1f1e0c
Add Player.GetActors to the Lua API.
2016-04-10 19:52:41 +02:00
Matthias Mailänder
18d38f0bad
Merge pull request #11065 from abcdefg30/luaMapActors
...
Add a lua method for querying all actors that are currently InWorld
2016-04-10 18:57:14 +02:00
Matthias Mailänder
3a3be979f3
Merge pull request #11081 from pchote/fix-left-click-orders
...
Fix left click orders
2016-04-10 17:32:14 +02:00
Paul Chote
7315ffbcb7
Fix outdated file headers.
2016-04-10 09:41:12 -04:00