vrheights
diff 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 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/src/game.h Mon Sep 22 18:36:24 2014 +0300 1.3 @@ -0,0 +1,16 @@ 1.4 +#ifndef GAME_H_ 1.5 +#define GAME_H_ 1.6 + 1.7 +bool game_init(); 1.8 +void game_cleanup(); 1.9 + 1.10 +void game_update(long tm); 1.11 +void game_display(); 1.12 +void game_reshape(int x, int y); 1.13 +void game_keyboard(int key, bool pressed); 1.14 +void game_mouse_button(int bn, bool state, int x, int y); 1.15 +void game_mouse_motion(int x, int y); 1.16 + 1.17 +void exit_game(); /* defined in main.cc */ 1.18 + 1.19 +#endif /* GAME_H_ */ 1.20 \ No newline at end of file