bloboland
view src/game.h @ 4:9021a906c5d3
lots of stuff
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Tue, 18 Dec 2012 06:13:09 +0200 |
parents | cfe68befb7cc |
children |
line source
1 #ifndef GAME_H_
2 #define GAME_H_
4 extern int win_xsz, win_ysz;
6 #define GAME_MAX_KEYS 256
7 #define GAME_MAX_BUTTONS 16
9 extern bool keystate[GAME_MAX_KEYS];
10 extern bool bnstate[GAME_MAX_BUTTONS];
11 extern float stereo_focus_dist, stereo_eye_sep;
13 bool game_init();
14 void game_shutdown();
16 void game_iter(double dt);
17 void game_render();
19 void game_input_shoot(int bn);
20 void game_input_move(float x, float y, float z);
21 void game_input_rot(float x, float y);
23 #endif // GAME_H_