3dphotoshoot

view src/game.h @ 4:38377f54527a

having a whack at the camera api... at least the java crap compiles, we'll try calling it later
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 19 May 2015 06:05:51 +0300
parents
children c14613d27a3a
line source
1 #ifndef GAME_H_
2 #define GAME_H_
4 int game_init(void);
5 void game_shutdown(void);
7 void game_display(unsigned long msec);
8 void game_reshape(int x, int y);
10 void game_keyboard(int key, int press);
11 void game_mouse_button(int id, int bn, int press, int x, int y);
12 void game_mouse_motion(int id, int x, int y);
14 /* provided by the system frontend */
15 void set_mouse_pos(int x, int y);
16 void set_mouse_cursor(int enable);
18 #endif /* GAME_H_ */