vrheights

view src/game.h @ 2:b49461618f61

starting point
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 25 Sep 2014 11:44:45 +0300
parents ccbd444939a1
children 053a52f0cb64
line source
1 #ifndef GAME_H_
2 #define GAME_H_
4 bool game_init();
5 void game_cleanup();
7 void game_update(long tm);
8 void game_display();
9 void game_reshape(int x, int y);
10 void game_keyboard(int key, bool pressed);
11 void game_mouse_button(int bn, bool state, int x, int y);
12 void game_mouse_motion(int x, int y);
14 /* defined in main.cc */
15 void exit_game();
16 void move_window(int x, int y);
17 void resize_window(int x, int y);
18 void get_window_pos(int *x, int *y);
19 void enter_fullscreen();
20 void leave_fullscreen();
22 #endif /* GAME_H_ */