3dphotoshoot

diff src/game.h @ 0:a4bf2687e406

3d photoshoot initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 12 May 2015 05:31:21 +0300
parents
children c14613d27a3a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/game.h	Tue May 12 05:31:21 2015 +0300
     1.3 @@ -0,0 +1,19 @@
     1.4 +#ifndef GAME_H_
     1.5 +#define GAME_H_
     1.6 +
     1.7 +int game_init(void);
     1.8 +void game_shutdown(void);
     1.9 +
    1.10 +void game_display(unsigned long msec);
    1.11 +void game_reshape(int x, int y);
    1.12 +
    1.13 +void game_keyboard(int key, int press);
    1.14 +void game_mouse_button(int id, int bn, int press, int x, int y);
    1.15 +void game_mouse_motion(int id, int x, int y);
    1.16 +
    1.17 +/* provided by the system frontend */
    1.18 +void set_mouse_pos(int x, int y);
    1.19 +void set_mouse_cursor(int enable);
    1.20 +
    1.21 +#endif /* GAME_H_ */
    1.22 +