Commit Graph

2935 Commits

Author SHA1 Message Date
reaperrr
04d075ca9f Add control over whether trails should spawn with or without delay 2016-05-01 23:01:07 +02:00
reaperrr
866e0b3577 Add facings support, start delay and offset controls to LeavesTrails 2016-05-01 23:01:07 +02:00
reaperrr
ca7a17ea06 Add facings support to SpriteEffect 2016-05-01 23:01:07 +02:00
reaperrr
f6907cc42f Lint check for missile RangeLimit 2016-05-01 14:27:50 +02:00
reaperrr
249e65c7d1 RangeLimit WDist refactor upgrade rules 2016-05-01 14:27:49 +02:00
Matthias Mailänder
6a9b8e81f4 Don't expose palettes and sprites to Lua. 2016-05-01 12:29:39 +02:00
Matthias Mailänder
4e9a48d253 Summarize the rendering parts to generate a beacon. 2016-05-01 12:29:39 +02:00
Matthias Mailänder
a8dd67a231 ParatroopersPower also supports beacons. 2016-05-01 12:29:38 +02:00
Matthias Mailänder
59fbfbc851 Don't enforce beacons to be player palettes. 2016-05-01 12:29:38 +02:00
Matthias Mailänder
9f4cdb9843 Unhardcode player beacons for documentation and lint testing. 2016-05-01 12:27:02 +02:00
Matthias Mailänder
76124b7c79 Unhardcode beacon sprites for documentation and lint testing. 2016-05-01 12:21:13 +02:00
Matthias Mailänder
d4fdb97c35 Throw with a less generic KeyNotFoundException on error. 2016-05-01 12:19:19 +02:00
Matthias Mailänder
d826cd6247 Fix case issues like Temperat vs TEMPERAT during map import. 2016-05-01 12:18:26 +02:00
reaperrr
1258ddde7f Refactored Missile.RangeLimit from ticks to WDist
Changed default from 'unlimited' fuel to weapon range.
2016-04-30 16:02:15 +02:00
Oliver Brakmann
cc9f84f136 Merge pull request #11199 from reaperrr/fix-para-nre
Fix potential NRE in Parachutable
2016-04-30 13:53:04 +02:00
abcdefg30
8c80b61897 Fix the tech tree not refreshing properly on owner change 2016-04-30 13:15:51 +02:00
reaperrr
58ba25cc17 Merge pull request #10813 from Mailaender/vein-damage
Added damaging through Veins.
2016-04-29 13:28:58 +02:00
reaperrr
b87b2c010f Fix potential NRE in Parachutable 2016-04-29 12:56:05 +02:00
Paul Chote
21989acd28 Fix a crash when multi-turreted units leave a transport. 2016-04-29 04:05:33 +01:00
Paul Chote
25a1c0c283 Include version/mod/modversion in the game list query. 2016-04-27 23:06:21 +01:00
Paul Chote
98faa15d62 Add an opt-out prompt for system information collection. 2016-04-27 22:14:26 +01:00
reaperrr
10dc6ca85c CreateEffectWarhead.TargetSearchRadius lint check 2016-04-26 19:47:22 +02:00
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
reaperrr
72c580b708 Add top and bottom offsets to HitShapes 2016-04-24 20:47:56 +02:00
reaperrr
828dc61b67 Use already cached mobile in MobileProperties.Scatter 2016-04-24 20:12:51 +02:00
reaperrr
b497869993 Cache IMove in Repairable's ctor
Instead of looking it up on every repair order.
2016-04-24 20:12:49 +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
Matthias Mailänder
133a0f54a3 Check for invalid targets to avoid crashing. 2016-04-18 08:46:04 +02:00
Paul Chote
9d02c53638 Expose separate middle and right mouse scroll config. 2016-04-17 21:27:20 -04: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