Xonotic
|
Go to the source code of this file.
Macros | |
#define | _STATIC_INIT(func, where) |
#define | GETTIME_REALTIME 1 |
#define | PRECACHE(func) _STATIC_INIT(func##_3, __static_init_3) |
directly after STATIC_INIT_LATE More... | |
#define | SHUTDOWN(func) _STATIC_INIT(func##_shutdown, __shutdown) |
before shutdown More... | |
#define | shutdownhooks() CALL_ACCUMULATED_FUNCTION( __shutdown) |
#define | STATIC_INIT(func) _STATIC_INIT(func##_1, __static_init_1) |
during worldspawn More... | |
#define | static_init() CALL_ACCUMULATED_FUNCTION(__static_init_1) |
#define | STATIC_INIT_EARLY(func) _STATIC_INIT(func##_0, __static_init_0) |
before worldspawn More... | |
#define | static_init_early() CALL_ACCUMULATED_FUNCTION(__static_init_0) |
#define | STATIC_INIT_LATE(func) _STATIC_INIT(func##_2, __static_init_2) |
directly after STATIC_INIT More... | |
#define | static_init_late() CALL_ACCUMULATED_FUNCTION(__static_init_2) |
#define | static_init_precache() CALL_ACCUMULATED_FUNCTION(__static_init_3) |
Functions | |
void | __shutdown () |
void | __static_init_0 () |
void | __static_init_1 () |
void | __static_init_2 () |
void | __static_init_3 () |
float (int tmr) _gettime | |
ERASEABLE void | profile (string s) |
#define _STATIC_INIT | ( | func, | |
where | |||
) |
#define GETTIME_REALTIME 1 |
Definition at line 3 of file static.qh.
Referenced by CommonCommand_time(), pathlib_astar(), pathlib_waypointpath(), and profile().
#define PRECACHE | ( | func | ) | _STATIC_INIT(func##_3, __static_init_3) |
#define SHUTDOWN | ( | func | ) | _STATIC_INIT(func##_shutdown, __shutdown) |
#define shutdownhooks | ( | ) | CALL_ACCUMULATED_FUNCTION( __shutdown) |
#define STATIC_INIT | ( | func | ) | _STATIC_INIT(func##_1, __static_init_1) |
during worldspawn
Definition at line 32 of file static.qh.
Referenced by GENERIC_COMMAND(), and Item_ItemsTime_Allow().
#define static_init | ( | ) | CALL_ACCUMULATED_FUNCTION(__static_init_1) |
Definition at line 33 of file static.qh.
Referenced by CSQC_Init(), m_init(), and spawnfunc().
#define STATIC_INIT_EARLY | ( | func | ) | _STATIC_INIT(func##_0, __static_init_0) |
#define static_init_early | ( | ) | CALL_ACCUMULATED_FUNCTION(__static_init_0) |
#define STATIC_INIT_LATE | ( | func | ) | _STATIC_INIT(func##_2, __static_init_2) |
directly after STATIC_INIT
Definition at line 37 of file static.qh.
Referenced by viewloc_PlayerPhysics().
#define static_init_late | ( | ) | CALL_ACCUMULATED_FUNCTION(__static_init_2) |
Definition at line 38 of file static.qh.
Referenced by CSQC_Init(), m_init(), and spawnfunc().
#define static_init_precache | ( | ) | CALL_ACCUMULATED_FUNCTION(__static_init_3) |
Definition at line 43 of file static.qh.
Referenced by CSQC_Init(), m_init(), and spawnfunc().
float | ( | int | tmr | ) |