Files
VOREStation/code/modules
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-12-07 02:10:10 +01:00
2024-12-08 08:03:28 +00:00
2024-12-08 04:26:19 +01:00
2024-12-07 00:12:42 +01:00
2024-12-07 00:12:42 +01:00
2024-12-16 14:44:03 +10:00
2024-12-08 20:54:28 +01:00
2024-12-16 10:02:28 +10:00
2024-12-16 14:44:03 +10:00
2024-12-07 02:10:10 +01:00
2024-11-13 00:49:17 +01:00
2024-12-16 14:44:03 +10:00
2024-12-08 08:00:55 +00:00
2024-12-16 14:44:03 +10:00
2024-12-16 14:44:03 +10:00
2024-11-13 00:49:17 +01:00
2024-12-28 09:42:44 +10:00
2024-12-28 09:43:15 +10:00
2024-12-11 08:33:17 +10:00
2024-12-07 21:56:39 +01:00
2024-12-07 00:12:42 +01:00
2024-12-28 09:42:44 +10:00
2024-12-08 20:54:28 +01:00
2024-11-13 00:49:17 +01:00
2024-11-13 00:49:17 +01:00
2024-11-13 00:49:17 +01:00
2024-12-16 10:08:04 +10:00
2024-12-08 20:54:28 +01:00
2024-11-13 00:49:17 +01:00
2024-11-13 00:49:17 +01:00
2024-12-08 20:54:28 +01:00
2024-12-08 04:26:19 +01:00
2024-12-08 20:54:28 +01:00