projectiles v8 - raycasting (#6544)

Atomizing the physics solver out of #5934 

Tldr this is way less overhead, complicated, and far more accurate than
the old one
This commit is contained in:
silicons
2024-07-05 14:08:38 -06:00
committed by GitHub
parent 62c23a272a
commit 50371db6fe
47 changed files with 1187 additions and 401 deletions
@@ -4,13 +4,3 @@ PROCESSING_SUBSYSTEM_DEF(projectiles)
stat_tag = "PP"
priority = FIRE_PRIORITY_PROJECTILES
subsystem_flags = SS_NO_INIT
var/global_max_tick_moves = 10
var/global_pixel_speed = 2
var/global_iterations_per_move = 16
/datum/controller/subsystem/processing/projectiles/proc/set_pixel_speed(new_speed)
global_pixel_speed = new_speed
for(var/i in processing)
var/obj/projectile/P = i
if(istype(P)) //there's non projectiles on this too.
P.set_pixel_speed(new_speed)