vrchess

view src/game.h @ 12:778ed91cb7fd

fullscreen to rift now works in extended mode with freeglut
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 23 Aug 2014 12:03:29 +0300
parents a797e426e309
children
line source
1 #ifndef GAME_H_
2 #define GAME_H_
4 bool game_init();
5 void game_cleanup();
7 void game_update(unsigned int msec);
8 void game_render();
10 void game_reshape(int x, int y);
11 void game_keyboard(int key, bool pressed, int x, int y);
12 void game_mouse(int bn, bool pressed, int x, int y);
13 void game_motion(int x, int y);
14 void game_mwheel(int dir);
16 void game_6dof_move(float x, float y, float z);
17 void game_6dof_rotate(float x, float y, float z);
19 #endif // GAME_H_