26#define CPU_USE_FULL -1
30#define CPU_USE_LESS 10
int lifes
Remainging lives.
int nb_min_particles
time before a new logic update is done
int GFX_UPDATE_RATE
time between two graphic frames 20000 default
int BLUR
wanna blur effect ? ( 0 or 1 )
int CPU_MODE
status of the cpu mode , CPU_USE_FULL by default
int left_attack_pos
left attack trigger
int DONE
loop while DONE != 1
int wait_for_slowing_down_cpu
=0 for doing nothing, =1 if logic is done, = 2 if drawing is done too
int loop_time
time between each loop
int right_attack
left attack trigger
int LOGIC_RATE
time between two logic frames 20000 default
int left_attack
left attack trigger
int logic_time
time before a new logic update is done
int score
Store score value.
int draw_time
time before updating graphics in usec
int GFX_CONFIG_MODE
GFX_OPENGL_WINDOWED.
int fade_value
alpha value of black blit ( 20 default )
int real_framerate
Measured framerate.
int right_attack_pos
left attack trigger
void destroy_game_env(GAME_ENV **game)
GAME_ENV * load_game_config(char *config_name)
load a config from file
int init_game_env(GAME_ENV **game)
Game Environment structure.
Common headers and low-level hugly functions & define.