Go to the documentation of this file.
37 #define CYCLE_LENGTH 13
90 static void start_action ()
99 static void stop_action ()
140 static double Minute;
152 #endif // GAMETIME_H_
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.
Declares some basic types.
#define u_int32
32 bits long unsigned integer
static void init(u_int16 rt_minutes)
Initialize the gametime class.
static double minute()
Return the in-game time that passed since the last call to this method.
#define u_int8
8 bits long unsigned integer
#define u_int16
16 bits long unsigned integer
static u_int8 frames_to_skip()
Returns the number of updates to perform before drawing the next frame.
Tehe gametime class makes the speed of the game independent of the machine it runs on.