branchrust_reboot/main/ai_patrol_heli_opticancel

5 Commits over 0 Days - ∞cph!

4 Days Ago
-Add more profile markers to heli -Use fast broad grid check instead of precise one (heli range is 150m but cells are 32m wide, so we are not getting that much precision by using the narrow phase)
4 Days Ago
Fix heli adding player multiple time to its targets
4 Days Ago
Fix mistake than meant grid cell was queried but not used Also don't iterate at all is ignorePlayers is true, instead of skipping every entry inside the loop
4 Days Ago
Only search for targets in grid cells around heli, instead of iterating on all players on the server When adding a new target, instead of iterating over all existing targets to see if we already have it, use a lookup table (squared complexity > linear complexity) Remove invalid targets by index instead of removing them by reference (squared complexity > linear complexity)
4 Days Ago
Only search for targets in grid cells around heli, instead of iterating on all players on the server When adding a new target, instead of iterating over all existing targets to see if we already have it, use a lookup table (squared complexity > linear complexity) Remove invalid targets by index instead of removing them by reference (squared complexity > linear complexity)