vrchess

annotate src/game.h @ 5:8b7da5ab814e

vr wrapper in progress
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 20 Aug 2014 16:34:43 +0300
parents 879194e4b1f0
children bd8202d6d28d
rev   line source
nuclear@2 1 #ifndef GAME_H_
nuclear@2 2 #define GAME_H_
nuclear@2 3
nuclear@2 4 bool game_init();
nuclear@2 5 void game_cleanup();
nuclear@2 6
nuclear@2 7 void game_update(unsigned int msec);
nuclear@2 8 void game_render(int eye);
nuclear@2 9
nuclear@2 10 void game_reshape(int x, int y);
nuclear@2 11 void game_keyboard(int key, bool pressed, int x, int y);
nuclear@2 12 void game_mouse(int bn, bool pressed, int x, int y);
nuclear@2 13 void game_motion(int x, int y);
nuclear@3 14 void game_mwheel(int dir);
nuclear@2 15
nuclear@2 16 void game_6dof_move(float x, float y, float z);
nuclear@2 17 void game_6dof_rotate(float x, float y, float z);
nuclear@2 18
nuclear@2 19 #endif // GAME_H_