tavli
view src/game.h @ 19:37dead56f01e
fixed shadows
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 29 Jun 2015 06:18:45 +0300 |
parents | 986c0b76513f |
children | c3fbf9616dbd |
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 int sdr_unlit;
8 extern unsigned long cur_time;
10 extern bool wireframe;
12 bool game_init();
13 void game_cleanup();
14 void game_update(unsigned long time_msec);
15 void game_display();
16 void game_reshape(int x, int y);
17 void game_keyboard(int bn, bool press);
18 void game_mbutton(int bn, bool press, int x, int y);
19 void game_mmotion(int x, int y);
21 void redisplay();
22 void quit();
24 #endif /* GAME_H_ */