tavli

view src/game.h @ 1:3fcd7b4d631f

board mesh generation
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 22 Jun 2015 05:05:37 +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_ */