mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2025-12-27 02:32:20 +00:00
13 lines
509 B
Plaintext
13 lines
509 B
Plaintext
#define TICK_LIMIT_RUNNING 80
|
|
#define TICK_LIMIT_TO_RUN 70
|
|
#define TICK_LIMIT_MC 70
|
|
#define TICK_LIMIT_MC_INIT_DEFAULT 98
|
|
|
|
#define TICK_USAGE world.tick_usage //for general usage
|
|
#define TICK_USAGE_REAL world.tick_usage //to be used where the result isn't checked
|
|
|
|
#define TICK_CHECK ( TICK_USAGE > Master.current_ticklimit )
|
|
#define CHECK_TICK ( TICK_CHECK ? stoplag() : 0 )
|
|
|
|
#define TICK_CHECK_HIGH_PRIORITY ( TICK_USAGE > 95 )
|
|
#define CHECK_TICK_HIGH_PRIORITY ( TICK_CHECK_HIGH_PRIORITY? stoplag() : 0 ) |