ld33_umonster

view src/game.h @ 10:1b30bd381667

sweep curve mesh gen and dragon horns
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 27 Aug 2015 05:25:04 +0300
parents
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 long cur_time;
9 extern bool dbg_wireframe;
10 extern int dbg_int;
12 enum { MOD_ALT, MOD_CTL, MOD_SHIFT };
14 bool game_init();
15 void game_cleanup();
16 void game_update(unsigned long time_msec);
17 void game_display();
18 void game_reshape(int x, int y);
19 void game_keyboard(int key, bool press);
20 void game_modifier_key(int key, bool press);
21 void game_mbutton(int bn, bool press, int x, int y);
22 void game_mmotion(int x, int y);
24 void set_fullscreen(bool fs);
25 void redisplay();
26 void quit();
28 void draw_teapot();
30 #endif /* GAME_H_ */