intravenous
annotate src/game.h @ 2:472c28b8b875
I think I pretty much nailed the camera
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sat, 21 Apr 2012 23:03:36 +0300 |
parents | 2b30f261f641 |
children |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef GAME_H_ |
nuclear@0 | 2 #define GAME_H_ |
nuclear@0 | 3 |
nuclear@1 | 4 typedef double time_sec_t; |
nuclear@1 | 5 |
nuclear@1 | 6 extern int win_xsz, win_ysz; |
nuclear@1 | 7 |
nuclear@0 | 8 bool game_init(); |
nuclear@0 | 9 void game_shutdown(); |
nuclear@0 | 10 |
nuclear@0 | 11 void game_update(unsigned long msec); |
nuclear@0 | 12 void game_draw(); |
nuclear@0 | 13 |
nuclear@0 | 14 void game_input_keyb(int key, int state); |
nuclear@1 | 15 void game_input_mbutton(int bn, int state, int x, int y); |
nuclear@1 | 16 void game_input_mmotion(int x, int y); |
nuclear@0 | 17 |
nuclear@0 | 18 #endif // GAME_H_ |