bloboland

view src/game.h @ 2:1757973feaed

added stereoscopic rendering for no apparent reason
author John Tsiombikas <nuclear@member.fsf.org>
date Sun, 16 Dec 2012 00:37:35 +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_