Movespeed Modification System (#39181)

In preparation of pixel movement, I want to refactor our slowdown system to something more modular, and something that doesn't require /quite/ as many proccalls/calculations a tick. The way this works is intended to only have things recalculate when it's necessary, rather than calling it every move.
However, I've left movement_delay() in, as without completely redoing a lot of code it's not /quite/ ready at this point to tear it out completely, but I'm hoping everything can be transitioned over to this system later.
This commit is contained in:
kevinz000
2018-08-09 16:55:15 -04:00
committed by Emmett Gaines
parent bd0322395f
commit 5f4b418eaa
50 changed files with 537 additions and 334 deletions
+2 -2
View File
@@ -20,8 +20,8 @@
//OTHER//
/////////
var/datum/preferences/prefs = null
var/move_delay = 1
var/last_turn = 0
var/move_delay = 0
var/area = null
///////////////