Files
VOREStation/code/_helpers
Cameron Lennox 37e8ca6194 Turret & Sound Optimizations (#16754)
* Portable Turret Optimization

Optimizes portable turrets. Takes from Chomp PR here: https://github.com/CHOMPStation2/CHOMPStation2/pull/8088

Optimizes them further by changing mobs_in_xray_view to mobs_in_view.
Reason: mobs_in_xray_view was adding mobs that were out of sight (behind walls) to the target list and trying to do pathfinding to shoot them. If you had 20 mobs around a PoI with turrets, it'd use a LOT of CPU needlessly.

Also adds in Chomp's /mobs.dm helpers as they're helpful.

* Ports over Chompstation Sound Optimizations

- Replaces for( listeners) with a check that sees if a listener is ALSO a hearer

- Makes it so even if there is no vary, if someone has a frequency it uses the frequency for playsound_local

From https://github.com/CHOMPStation2/CHOMPStation2/pull/8088
2024-12-28 09:43:15 +10:00
..
2024-11-04 11:44:44 +01:00
2024-10-02 21:10:31 +02:00
2024-11-13 19:34:19 +01:00
2024-03-20 07:58:27 +10:00
2024-10-16 19:39:06 +02:00
2024-12-28 09:43:15 +10:00
2023-12-12 23:31:03 +01:00
2024-10-16 19:39:06 +02:00
2024-08-12 05:48:06 +10:00
2024-12-04 22:21:38 +01:00
2024-12-16 10:06:43 +10:00
2024-10-16 19:39:06 +02:00