tavli
annotate 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 |
rev | line source |
---|---|
nuclear@0 | 1 #ifndef GAME_H_ |
nuclear@0 | 2 #define GAME_H_ |
nuclear@0 | 3 |
nuclear@0 | 4 extern int win_width, win_height; |
nuclear@15 | 5 extern unsigned int sdr_phong, sdr_phong_notex; |
nuclear@18 | 6 extern unsigned int sdr_shadow, sdr_shadow_notex; |
nuclear@19 | 7 extern unsigned int sdr_unlit; |
nuclear@17 | 8 extern unsigned long cur_time; |
nuclear@0 | 9 |
nuclear@14 | 10 extern bool wireframe; |
nuclear@14 | 11 |
nuclear@0 | 12 bool game_init(); |
nuclear@0 | 13 void game_cleanup(); |
nuclear@0 | 14 void game_update(unsigned long time_msec); |
nuclear@0 | 15 void game_display(); |
nuclear@0 | 16 void game_reshape(int x, int y); |
nuclear@0 | 17 void game_keyboard(int bn, bool press); |
nuclear@0 | 18 void game_mbutton(int bn, bool press, int x, int y); |
nuclear@0 | 19 void game_mmotion(int x, int y); |
nuclear@0 | 20 |
nuclear@0 | 21 void redisplay(); |
nuclear@0 | 22 void quit(); |
nuclear@0 | 23 |
nuclear@0 | 24 #endif /* GAME_H_ */ |