SSprojectiles - smoother and saner projectiles (#17127)

* SSprojectiles - smoother and saner projectiles

* trailing newline

* toki wo tomare

* Lower projectile speed back to 2x, reflector fix

* Tables stop projectiles properly
This commit is contained in:
dearmochi
2022-02-25 19:30:05 +01:00
committed by GitHub
parent bb2eceedaf
commit 5693eb827e
9 changed files with 395 additions and 106 deletions
@@ -0,0 +1,12 @@
PROCESSING_SUBSYSTEM_DEF(projectiles)
name = "Projectiles"
wait = 1
flags = SS_NO_INIT|SS_TICKER
offline_implications = "Projectiles will no longer move. Shuttle call recommended."
/// Maximum moves a projectile can make per tick.
var/global_max_tick_moves = 10
/// How many pixels one iteration can move a projectile.
var/global_pixel_speed = 2
/// Maximum iterations a move can perform.
var/global_iterations_per_move = 16