labyrinth

view src/game.h @ 3:45b91185b298

android port
author John Tsiombikas <nuclear@member.fsf.org>
date Fri, 01 May 2015 04:36:50 +0300
parents
children
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_ */