tavli

view src/game.h @ 24:0aadb519b5ee

correct highlighting
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 08 Jul 2015 15:11:58 +0300
parents c3fbf9616dbd
children
line source
1 #ifndef GAME_H_
2 #define GAME_H_
4 #include "vmath/vmath.h"
6 extern int win_width, win_height;
7 extern unsigned int sdr_phong, sdr_phong_notex;
8 extern unsigned int sdr_shadow, sdr_shadow_notex;
9 extern unsigned int sdr_unlit;
10 extern unsigned long cur_time;
12 extern Ray pick_ray;
14 extern bool wireframe;
15 extern int dbg_int;
17 bool game_init();
18 void game_cleanup();
19 void game_update(unsigned long time_msec);
20 void game_display();
21 void game_reshape(int x, int y);
22 void game_keyboard(int bn, bool press);
23 void game_mbutton(int bn, bool press, int x, int y);
24 void game_mmotion(int x, int y);
26 void redisplay();
27 void quit();
29 #endif /* GAME_H_ */