0ad/source/simulation2/components/tests
wraitii d0fc8ff67d Update range queries to account for entity size.
CCmpRangeManager queries do not take obstruction size into account,
meaning they return fewer entities than they should. This particularly
affects buildings with ranged attacks, gates, and a few other templates.

This is, unfortunately, a slight performance decrease.

Discovered following Angen's comment [[
https://code.wildfiregames.com/D2738#116269 | here ]].

Comments by: Angen
Reviewed By: bb
Refs #3381 (not marking it down as 'fixes' and I'm not entirely sure it
was the only moving part here).

Differential Revision: https://code.wildfiregames.com/D2759
This was SVN commit r24217.
2020-11-19 14:07:24 +00:00
..
test_CinemaManager.h Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
test_CommandQueue.h Improve JS Exception handling. 2020-11-15 18:29:17 +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 Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
test_Pathfinder.h [SM52 2/2] Update to Spidermonkey 52 APIs. 2020-11-18 14:39:04 +00:00
test_Position.h Rename ScriptRuntime to ScriptContext 2020-11-14 10:57:50 +00:00
test_RangeManager.h Update range queries to account for entity size. 2020-11-19 14:07:24 +00:00
test_scripts.h Fix JS OOM in tests following aae417bd29 2020-11-14 15:13:56 +00:00
test_TerritoryManager.h Pass some strings and a vector as const refs. 2017-02-24 17:02:10 +00:00