vrheights

view src/game.h @ 11:537db3079134

- setting a variable from the console now sets the same variable in libgoatvr too - set_gvar_parse now returns the inferred type
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 03 Oct 2014 23:11:23 +0300
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_ */