tavli

view src/game.h @ 15:b1a195c3ee16

added shaders
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 28 Jun 2015 08:34:24 +0300
parents 283eb6e9f0a3
children 16a420432aa3
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;
7 extern bool wireframe;
9 bool game_init();
10 void game_cleanup();
11 void game_update(unsigned long time_msec);
12 void game_display();
13 void game_reshape(int x, int y);
14 void game_keyboard(int bn, bool press);
15 void game_mbutton(int bn, bool press, int x, int y);
16 void game_mmotion(int x, int y);
18 void redisplay();
19 void quit();
21 #endif /* GAME_H_ */