vrchess

diff src/game.h @ 0:b326d53321f7

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 25 Apr 2014 05:20:53 +0300
parents
children 879194e4b1f0
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/game.h	Fri Apr 25 05:20:53 2014 +0300
     1.3 @@ -0,0 +1,18 @@
     1.4 +#ifndef GAME_H_
     1.5 +#define GAME_H_
     1.6 +
     1.7 +bool game_init();
     1.8 +void game_cleanup();
     1.9 +
    1.10 +void game_update(unsigned int msec);
    1.11 +void game_render(int eye);
    1.12 +
    1.13 +void game_reshape(int x, int y);
    1.14 +void game_keyboard(int key, bool pressed, int x, int y);
    1.15 +void game_mouse(int bn, bool pressed, int x, int y);
    1.16 +void game_motion(int x, int y);
    1.17 +
    1.18 +void game_6dof_move(float x, float y, float z);
    1.19 +void game_6dof_rotate(float x, float y, float z);
    1.20 +
    1.21 +#endif	// GAME_H_
    1.22 \ No newline at end of file