tavli

view src/game.h @ 17:16a420432aa3

pieces on the board
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 28 Jun 2015 23:04:37 +0300
parents b1a195c3ee16
children 986c0b76513f
line source
1 #ifndef GAME_H_
2 #define GAME_H_
4 extern int win_width, win_height;
5 extern unsigned int sdr_phong, sdr_phong_notex;
6 extern unsigned long cur_time;
8 extern bool wireframe;
10 bool game_init();
11 void game_cleanup();
12 void game_update(unsigned long time_msec);
13 void game_display();
14 void game_reshape(int x, int y);
15 void game_keyboard(int bn, bool press);
16 void game_mbutton(int bn, bool press, int x, int y);
17 void game_mmotion(int x, int y);
19 void redisplay();
20 void quit();
22 #endif /* GAME_H_ */