labyrinth
annotate 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 |
rev | line source |
---|---|
nuclear@3 | 1 #ifndef GAME_H_ |
nuclear@3 | 2 #define GAME_H_ |
nuclear@3 | 3 |
nuclear@3 | 4 int game_init(void); |
nuclear@3 | 5 void game_shutdown(void); |
nuclear@3 | 6 |
nuclear@3 | 7 void game_display(unsigned long msec); |
nuclear@3 | 8 void game_reshape(int x, int y); |
nuclear@3 | 9 |
nuclear@3 | 10 void game_keyboard(int key, int press); |
nuclear@3 | 11 void game_mouse_button(int id, int bn, int press, int x, int y); |
nuclear@3 | 12 void game_mouse_motion(int id, int x, int y); |
nuclear@3 | 13 |
nuclear@3 | 14 /* provided by the system frontend */ |
nuclear@3 | 15 void set_mouse_pos(int x, int y); |
nuclear@3 | 16 void set_mouse_cursor(int enable); |
nuclear@3 | 17 |
nuclear@3 | 18 #endif /* GAME_H_ */ |
nuclear@3 | 19 |