tavli

view 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 source
1 #ifndef GAME_H_
2 #define GAME_H_
4 extern int win_width, win_height;
6 bool game_init();
7 void game_cleanup();
8 void game_update(unsigned long time_msec);
9 void game_display();
10 void game_reshape(int x, int y);
11 void game_keyboard(int bn, bool press);
12 void game_mbutton(int bn, bool press, int x, int y);
13 void game_mmotion(int x, int y);
15 void redisplay();
16 void quit();
18 #endif /* GAME_H_ */