Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   Compound Members   Related Pages  

TI_ Timer Engine System Calls


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)

Define Documentation

#define TI_CmpSec newtime,
oldtime       (TI_CmpTime(newtime*1000,oldtime*1000)/1000)
 

Returns the time difference between newtime and oldtime, parameters and return value are in seconds.

#define TI_GetAbsMilliSec      (TI_GetAbsTime(x)%1000)
 

Returns the milliseconds part of the game time.

#define TI_GetAbsSec      (TI_GetAbsTime(x)/1000)
 

Returns the game time in seconds.


Function Documentation

int TI_CmpTime int    newtime,
int    oldtime
 

Returns the time difference between newtime and oldtime. Parameters and return value are in milliseconds.

void TI_Delay int    time
 

Stops a task (started with START) for time milliseconds. If started outside a task-scope an error will occur.

int TI_GetAbsTime  
 

Returns the game time in milliseconds.


Generated on Mon Aug 26 18:26:37 2002 for X² KC by doxygen1.2.17