33 #define CYCLE_LENGTH 13
86 static void start_action ()
95 static void stop_action ()
136 static double Minute;
148 #endif // GAMETIME_H_
Declares some basic types.
#define u_int16
16 bits long unsigned integer
static double minute()
Return the in-game time that passed since the last call to this method.
#define u_int32
32 bits long unsigned integer
Tehe gametime class makes the speed of the game independent of the machine it runs on...
static void update()
Call this after each run of the main loop to sync the game's speed to the machine it is running on...
#define u_int8
8 bits long unsigned integer
static u_int8 frames_to_skip()
Returns the number of updates to perform before drawing the next frame.
static void init(u_int16 rt_minutes)
Initialize the gametime class.