mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-13 18:33:22 +00:00
28 lines
492 B
Plaintext
28 lines
492 B
Plaintext
/*
|
|
|
|
Days of the week to make it easier to reference them.
|
|
|
|
When using time2text(), please use "DDD" to find the weekday. Refrain from using "Day"
|
|
|
|
*/
|
|
|
|
#define MONDAY "Mon"
|
|
#define TUESDAY "Tue"
|
|
#define WEDNESDAY "Wed"
|
|
#define THURSDAY "Thu"
|
|
#define FRIDAY "Fri"
|
|
#define SATURDAY "Sat"
|
|
#define SUNDAY "Sun"
|
|
|
|
#define SECONDS *10
|
|
|
|
#define MINUTES SECONDS*60
|
|
|
|
#define HOURS MINUTES*60
|
|
|
|
#define TICKS *world.tick_lag
|
|
|
|
#define DS2TICKS(DS) ((DS)/world.tick_lag)
|
|
|
|
#define TICKS2DS(T) ((T) TICKS)
|