SSInput and Diagonal Movement

This commit is contained in:
Chompstation Bot
2021-07-07 18:35:44 +00:00
parent 7e10238662
commit 1513fbe0cb
20 changed files with 4445 additions and 113 deletions

View File

@@ -0,0 +1,13 @@
SUBSYSTEM_DEF(input)
name = "Input"
wait = 1 // SS_TICKER means this runs every tick
init_order = INIT_ORDER_INPUT
flags = SS_TICKER
priority = FIRE_PRIORITY_INPUT
runlevels = RUNLEVELS_DEFAULT | RUNLEVEL_LOBBY
/datum/controller/subsystem/input/fire()
var/list/clients = GLOB.clients // Let's sing the list cache song
for(var/i in 1 to clients.len)
var/client/C = clients[i]
C?.keyLoop()