code/controllers/subsystem/timer.dm

BUCKET_LEN | Controls how many buckets should be kept, each representing a tick. (1 minutes worth) |
---|---|
BUCKET_POS | Helper for getting the correct bucket for a given timer |
TIMER_MAX | Gets the maximum time at which timers will be invoked from buckets, used for deferring to secondary queue |
TIMER_ID_MAX | Max float with integer precision |
/datum/timedevent | This is the actual timer, it contains the callback and necessary data to maintain the timer. |
Define Details
BUCKET_LEN
Controls how many buckets should be kept, each representing a tick. (1 minutes worth)
BUCKET_POS
Helper for getting the correct bucket for a given timer
TIMER_ID_MAX
Max float with integer precision
TIMER_MAX
Gets the maximum time at which timers will be invoked from buckets, used for deferring to secondary queue