0ad/source/simulation2/components/tests
wraitii e916b8cc01 Improve splash damage falloff calculation to account for obstruction size.
Splash falloff was calculated using centre-to-point distance, where
nearest-edge to nearest-edge ought to have been used.
Use DistanceToPoint to correct for that.

Make sure the damage multiplier cannot go negative.
Remove GetUnitSize in favour of GetSize.

Reviewed By: bb
Differential Revision: https://code.wildfiregames.com/D2963
This was SVN commit r24010.
2020-08-31 15:01:04 +00:00
..
test_CinemaManager.h Adds basic tests for the CinemaManager component 2017-11-24 22:38:03 +00:00
test_CommandQueue.h Fixes tests adding system components without using the SYSTEM_ENTITY id - this caused assertion failures in debug builds 2015-06-21 19:22:12 +00:00
test_HierPathfinder.h Move LOS to a los helper header and cleanup Grid.h includes. 2020-06-14 20:39:03 +00:00
test_ObstructionManager.h Improve splash damage falloff calculation to account for obstruction size. 2020-08-31 15:01:04 +00:00
test_Pathfinder.h Move LOS to a los helper header and cleanup Grid.h includes. 2020-06-14 20:39:03 +00:00
test_Position.h Rename cmpPosition's IsFloating to CanFloat. 2017-09-18 09:54:54 +00:00
test_RangeManager.h Fix 4edcf21b98. Refs #5428 2019-04-10 06:05:34 +00:00
test_scripts.h Skip and warn about globalscripts and random map tests following 077c4f2576 and 0a6db43c83 when testing without public mod present or if the respective folders don't exist. 2020-04-23 12:06:56 +00:00
test_TerritoryManager.h Pass some strings and a vector as const refs. 2017-02-24 17:02:10 +00:00