Commit Graph

20707 Commits

Author SHA1 Message Date
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
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
Oliver Brakmann
ea5009393f Merge pull request #10777 from reaperrr/fix-missile-cruise
Fix missiles not moving to CruiseAltitude if launched above it
2016-04-23 15:04:54 +02:00
reaperrr
5ad89f90a5 Give RA MiG missiles a higher CruiseAltitude 2016-04-23 14:50:36 +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
Paul Chote
0b4a8d9a13 Only refresh tooltip/health status of revealed frozen actors. 2016-04-23 13:07:53 +01:00
abcdefg30
a717ab6763 Merge pull request #11135 from obrakmann/fix11127_zoom-pxldbl-interaction
Fix PixelDoubling not working properly after zooming with mousewheel
2016-04-23 11:55:53 +02:00
reaperrr
f1f8cc8763 Fix Creeps on Llamas 2 not seeing Multi4 and Multi5 as enemies 2016-04-22 23:15:55 +02: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
RoosterDragon
28b8850936 Merge pull request #11160 from pchote/remove-td-concrete
Remove unused Concrete armor type from TD weapons.
2016-04-22 19:27:53 +01:00
reaperrr
521a8a66d2 Enable Targetable to handle multiple Cloak traits 2016-04-22 13:01:02 +02:00
reaperrr
b28f588733 Merge pull request #11124 from pchote/tileset-depth
Add tileset depth metadata support.
2016-04-21 22:59:42 +02:00
reaperrr
5b1b0f1494 Fix Creeps not seeing players as enemies on some TD maps 2016-04-21 22:13:08 +02:00
Oliver Brakmann
77ba2b4f13 Fix PixelDoubling not working properly after zooming with mousewheel
I decided to write it this way (instead of setting `Game.Settings.Graphics.PixelDouble` in `Viewport.Zoom` appropriately) because I see the double pixel setting as the user's preference that the game uses at the start of a match and which should not be changed only because the user decided to zoom in a bit.
2016-04-21 22:04:39 +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
Oliver Brakmann
4858ae7132 Merge pull request #11157 from abcdefg30/d2kWalls
Fix the debris spawned when walls are destroyed in d2k
2016-04-21 21:04:18 +02:00
Paul Chote
a8350783fc Fix game timer when adjusting replay speed. 2016-04-21 17:52:47 +01:00
Paul Chote
0eb446fb7d Remove unused Concrete armour type. 2016-04-21 17:30:07 +01:00
Paul Chote
8807a79c4a Add tile depth metadata to TS tileset yaml. 2016-04-21 17:23:09 +01:00
Paul Chote
756d2428d9 Add depth support to TileSet. 2016-04-21 17:23:08 +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
abcdefg30
e23d8f25a9 Fix the debris spawned when walls are destroyed in d2k 2016-04-20 21:03:48 +02:00
Oliver Brakmann
728de3b55f Merge pull request #11151 from abcdefg30/tanyaIdle
Fix the length of the idle2 sequence of tanya
2016-04-20 20:44:09 +02:00
abcdefg30
8c244574d1 Merge pull request #11086 from Phrohdoh/ts-marn-shellmap
Add Marn's Shellmap "Fields of Green" to TS
2016-04-20 20:42:12 +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
Taryn Hill
3e40be47f7 Remove gdi4a from TS 2016-04-20 13:18:17 -05:00
Taryn Hill
1bb2aa3522 Add Marn's Shellmap "Fields of Green" to TS 2016-04-20 13:18:15 -05:00
abcdefg30
7a13fb189c Merge pull request #11153 from RoosterDragon/selection-fast-checks
Use Contains method on Selection when possible.
2016-04-20 17:50:45 +02:00
Oliver Brakmann
357d50679c Fix looking up un-required trait in Targetable ctor 2016-04-19 22:39:36 +02:00