tavli
annotate src/game.h @ 14:283eb6e9f0a3
scenery
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Sun, 28 Jun 2015 07:44:23 +0300 |
parents | 52e0dd47753b |
children | b1a195c3ee16 |
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@0 | 5 |
nuclear@14 | 6 extern bool wireframe; |
nuclear@14 | 7 |
nuclear@0 | 8 bool game_init(); |
nuclear@0 | 9 void game_cleanup(); |
nuclear@0 | 10 void game_update(unsigned long time_msec); |
nuclear@0 | 11 void game_display(); |
nuclear@0 | 12 void game_reshape(int x, int y); |
nuclear@0 | 13 void game_keyboard(int bn, bool press); |
nuclear@0 | 14 void game_mbutton(int bn, bool press, int x, int y); |
nuclear@0 | 15 void game_mmotion(int x, int y); |
nuclear@0 | 16 |
nuclear@0 | 17 void redisplay(); |
nuclear@0 | 18 void quit(); |
nuclear@0 | 19 |
nuclear@0 | 20 #endif /* GAME_H_ */ |