tavli

diff src/game.h @ 0:52e0dd47753b

initial commit
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 21 Jun 2015 06:30:39 +0300
parents
children 283eb6e9f0a3
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/src/game.h	Sun Jun 21 06:30:39 2015 +0300
     1.3 @@ -0,0 +1,18 @@
     1.4 +#ifndef GAME_H_
     1.5 +#define GAME_H_
     1.6 +
     1.7 +extern int win_width, win_height;
     1.8 +
     1.9 +bool game_init();
    1.10 +void game_cleanup();
    1.11 +void game_update(unsigned long time_msec);
    1.12 +void game_display();
    1.13 +void game_reshape(int x, int y);
    1.14 +void game_keyboard(int bn, bool press);
    1.15 +void game_mbutton(int bn, bool press, int x, int y);
    1.16 +void game_mmotion(int x, int y);
    1.17 +
    1.18 +void redisplay();
    1.19 +void quit();
    1.20 +
    1.21 +#endif	/* GAME_H_ */