3dphotoshoot

view src/game.h @ 22:d7fe157c402d

fonts
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 13 Jun 2015 05:32:07 +0300
parents c14613d27a3a
children 2712c5da2e00
line source
1 #ifndef GAME_H_
2 #define GAME_H_
4 extern int win_width, win_height;
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
10 int game_init(void);
11 void game_shutdown(void);
13 void game_display(unsigned long msec);
14 void game_reshape(int x, int y);
16 void game_keyboard(int key, int press);
17 void game_mouse_button(int id, int bn, int press, int x, int y);
18 void game_mouse_motion(int id, int x, int y);
20 /* provided by the system frontend */
21 void set_mouse_pos(int x, int y);
22 void set_mouse_cursor(int enable);
24 #ifdef __cplusplus
25 }
26 #endif
28 #endif /* GAME_H_ */