vrheights

view src/game.h @ 16:7f6d68d95c22

updated to new version of goatvr
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 30 Oct 2015 06:34:31 +0200
parents b49461618f61
children
line source
1 #ifndef GAME_H_
2 #define GAME_H_
4 extern bool opt_separate_walk_look;
6 bool game_init();
7 void game_cleanup();
9 void game_update(long tm);
10 void game_display();
11 void game_reshape(int x, int y);
12 void game_keyboard(int key, bool pressed);
13 void game_mouse_button(int bn, bool state, int x, int y);
14 void game_mouse_motion(int x, int y);
16 /* defined in main.cc */
17 void exit_game();
18 void move_window(int x, int y);
19 void resize_window(int x, int y);
20 void get_window_pos(int *x, int *y);
21 void enter_fullscreen();
22 void leave_fullscreen();
24 #endif /* GAME_H_ */