labyrinth

view src/game.h @ 7:b557812c45db

generating the android (ant) project stuff from the makefile
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 04 May 2015 02:46:35 +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_ */