vrheights
annotate src/game.h @ 0:ccbd444939a1
initial commit
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 22 Sep 2014 18:36:24 +0300 |
parents | |
children | b49461618f61 |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef GAME_H_ |
nuclear@0 | 2 #define GAME_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 bool game_init(); |
nuclear@0 | 5 void game_cleanup(); |
nuclear@0 | 6 |
nuclear@0 | 7 void game_update(long tm); |
nuclear@0 | 8 void game_display(); |
nuclear@0 | 9 void game_reshape(int x, int y); |
nuclear@0 | 10 void game_keyboard(int key, bool pressed); |
nuclear@0 | 11 void game_mouse_button(int bn, bool state, int x, int y); |
nuclear@0 | 12 void game_mouse_motion(int x, int y); |
nuclear@0 | 13 |
nuclear@0 | 14 void exit_game(); /* defined in main.cc */ |
nuclear@0 | 15 |
nuclear@0 | 16 #endif /* GAME_H_ */ |