3dphotoshoot

view src/game.h @ 21:4ca4e3c5a754

port to C++ completed, shader programs now use the SdrProg class
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 11 Jun 2015 04:56:33 +0300
parents a4bf2687e406
children d7fe157c402d
line source
1 #ifndef GAME_H_
2 #define GAME_H_
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
8 int game_init(void);
9 void game_shutdown(void);
11 void game_display(unsigned long msec);
12 void game_reshape(int x, int y);
14 void game_keyboard(int key, int press);
15 void game_mouse_button(int id, int bn, int press, int x, int y);
16 void game_mouse_motion(int id, int x, int y);
18 /* provided by the system frontend */
19 void set_mouse_pos(int x, int y);
20 void set_mouse_cursor(int enable);
22 #ifdef __cplusplus
23 }
24 #endif
26 #endif /* GAME_H_ */