labyrinth

diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/game.h	Fri May 01 04:36:50 2015 +0300
     1.3 @@ -0,0 +1,19 @@
     1.4 +#ifndef GAME_H_
     1.5 +#define GAME_H_
     1.6 +
     1.7 +int game_init(void);
     1.8 +void game_shutdown(void);
     1.9 +
    1.10 +void game_display(unsigned long msec);
    1.11 +void game_reshape(int x, int y);
    1.12 +
    1.13 +void game_keyboard(int key, int press);
    1.14 +void game_mouse_button(int id, int bn, int press, int x, int y);
    1.15 +void game_mouse_motion(int id, int x, int y);
    1.16 +
    1.17 +/* provided by the system frontend */
    1.18 +void set_mouse_pos(int x, int y);
    1.19 +void set_mouse_cursor(int enable);
    1.20 +
    1.21 +#endif /* GAME_H_ */
    1.22 +