Defines | |
#define | TI_GetAbsSec(x) (TI_GetAbsTime(x)/1000) |
#define | TI_GetAbsMilliSec(x) (TI_GetAbsTime(x)%1000) |
#define | TI_CmpSec(newtime, oldtime) (TI_CmpTime(newtime*1000,oldtime*1000)/1000) |
Functions | |
void | TI_Delay (int time) |
int | TI_GetAbsTime () |
int | TI_CmpTime (int newtime, int oldtime) |
|
Returns the time difference between newtime and oldtime, parameters and return value are in seconds. |
|
Returns the milliseconds part of the game time.
|
|
Returns the game time in seconds.
|
|
Returns the time difference between newtime and oldtime. Parameters and return value are in milliseconds. |
|
Stops a task (started with START) for time milliseconds. If started outside a task-scope an error will occur. |
|
Returns the game time in milliseconds.
|