Commit Graph

20953 Commits

Author SHA1 Message Date
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
a9ec325765 Merge pull request #11202 from GraionDilach/fix-ts-visceroids
Fix visceroids not spawning in TS.
2016-04-30 11:53:46 +02:00
Zimmermann Gyula
48d5164314 Fix visceroids not spawning in TS. 2016-04-29 19:37:32 +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
262cf087fc Merge pull request #11172 from pchote/cargo-turret
Fix a crash when multi-turreted units leave a transport.
2016-04-29 12:57:04 +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
reaperrr
fdbe3c7ba6 Merge pull request #11196 from GraionDilach/halven-destroyer-closeenough
Halven CloseEnough on Stinger.
2016-04-28 14:11:45 +02: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
Zimmermann Gyula
66d0c72968 Increase Stinger RangeLimit from 50 to 65.
With the 170 Speed, the Stinger can pass a maximum of 50*170 = 8500 (8c308) world units, while having a range of 9c0, which mean it runs out of fuel before it reaches it's effective maximum range. To prevent this, RangeLimit has been increased to 65 (9c0*1.25/170 is 67.8, rounded downwards).
2016-04-27 21:51:48 +02:00
Oliver Brakmann
b28caf6564 Merge pull request #11179 from reaperrr/minor-perf-fixes
Minor trait caching tweaks
2016-04-27 20:38:02 +02:00
Zimmermann Gyula
af36214e41 Halven CloseEnough on Stinger.
With 170 Speed, 298 CloseEnough, and 128 Spread, it will always act as a proximity weapon against the targets. Other missiles aren't affected because all the other missiles have a fair margin to satisfy the optimal Speed+Spread > CloseEnough condition.
2016-04-27 18:29:50 +02:00
Oliver Brakmann
ee82a8c3a9 Merge pull request #10756 from Mailaender/ts-beacon
Added the Tiberian Sun beacon
2016-04-26 21:28:22 +02:00
Oliver Brakmann
0ba288d66b Merge pull request #11182 from Mailaender/modchooser-button-loadsound-fail
Fixed mod chooser spamming sound.log with file not found messages
2016-04-26 21:11:41 +02: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
Matthias Mailänder
92e9cf2819 Add the Tiberian Sun beacon animation. 2016-04-24 23:28:29 +02:00
reaperrr
a268b5a048 TEST COMMIT
Gives TS infantry and walls hit shapes vertical top offset.
2016-04-24 20:47:57 +02:00
reaperrr
72c580b708 Add top and bottom offsets to HitShapes 2016-04-24 20:47:56 +02:00
Matthias Mailänder
083dd97611 Don't reference non-existing sounds in the mod chooser. 2016-04-24 20:42:46 +02:00
reaperrr
c6b09ef228 Cache ResourceLayer in PoisonedByTiberium ctor
Instead of every few ticks.
2016-04-24 20:14:37 +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
Oliver Brakmann
23e5889a70 Merge pull request #11167 from pchote/fix-gps-satellite-palette
Fix GPS satellite palette.
2016-04-24 13:17:26 +02:00
Oliver Brakmann
d88f8d348b Merge pull request #11174 from reaperrr/fix-11173
Disable OwnerRow on TD and RA map props
2016-04-24 12:59:27 +02:00
Paul Chote
b245e6e128 Merge pull request #11163 from reaperrr/fix-11056
Fix Creeps not considering players as enemies on some TD maps
2016-04-24 11:51:49 +01:00
reaperrr
83631f3b4d Disable OwnerRow on RA trees, rocks, bridges and crates 2016-04-24 01:10:32 +02:00
reaperrr
1f078cc364 Disable OwnerRow on TD bridges, destroyed fields and crates 2016-04-24 01:07:36 +02:00
reaperrr
6701420851 Disabled OwnerRow on TD trees, tib trees and rocks 2016-04-24 00:55:04 +02:00
reaperrr
b25f8ff4b0 Fixed owner of some trees on Lessons from Kosovo and Treasure Island
They're owned by Neutral instead of Creeps now.
2016-04-24 00:54:36 +02:00
Oliver Brakmann
eae96738b9 Merge pull request #11170 from pchote/fix-missiles-again
Fix missile facing check.
2016-04-23 23:02:58 +02:00
Paul Chote
59f5e24189 Simplify and fix missile turnaround facing check. 2016-04-23 17:14:56 +01:00
reaperrr
6f876e7441 Fix Creeps enemy config on RA conquest maps 2016-04-23 16:42:33 +02:00
reaperrr
8bb2574e21 Fixed Creeps on non-Conquest RA maps 2016-04-23 16:42:31 +02: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
Matthias Mailänder
a0fa5ad1bd Merge pull request #11166 from pchote/fix-gps-tooltips
Only refresh tooltip/health status of revealed frozen actors.
2016-04-23 16:13:05 +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
Paul Chote
d70356b47f Fix GPS satellite palette. 2016-04-23 14:10:54 +01:00