This commit is contained in:
Cyberboss
2017-03-22 14:52:21 -04:00
parent 6a67a84c33
commit fb596bcdb3
47 changed files with 48 additions and 48 deletions

View File

@@ -1,7 +1,7 @@
#define BUCKET_LEN (world.fps*1*60) //how many ticks should we keep in the bucket. (1 minutes worth)
#define BUCKET_POS(timer) (round((timer.timeToRun - SStimer.head_offset) / world.tick_lag) + 1)
SUBSYSTEM(timer)
SUBSYSTEM_DEF(timer)
name = "Timer"
wait = 1 //SS_TICKER subsystem, so wait is in ticks
init_order = 1