nuclear@0: #ifndef GAME_H_ nuclear@0: #define GAME_H_ nuclear@0: nuclear@1: typedef double time_sec_t; nuclear@1: nuclear@1: extern int win_xsz, win_ysz; nuclear@1: nuclear@0: bool game_init(); nuclear@0: void game_shutdown(); nuclear@0: nuclear@0: void game_update(unsigned long msec); nuclear@0: void game_draw(); nuclear@0: nuclear@0: void game_input_keyb(int key, int state); nuclear@1: void game_input_mbutton(int bn, int state, int x, int y); nuclear@1: void game_input_mmotion(int x, int y); nuclear@0: nuclear@0: #endif // GAME_H_