tavli

view src/game.h @ 18:986c0b76513f

shadows, not completed
author John Tsiombikas <nuclear@member.fsf.org>
date Mon, 29 Jun 2015 01:29:36 +0300
parents 16a420432aa3
children 37dead56f01e
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 int sdr_shadow, sdr_shadow_notex;
7 extern unsigned long cur_time;
9 extern bool wireframe;
11 bool game_init();
12 void game_cleanup();
13 void game_update(unsigned long time_msec);
14 void game_display();
15 void game_reshape(int x, int y);
16 void game_keyboard(int bn, bool press);
17 void game_mbutton(int bn, bool press, int x, int y);
18 void game_mmotion(int x, int y);
20 void redisplay();
21 void quit();
23 #endif /* GAME_H_ */