vrheights
view src/game.h @ 5:053a52f0cb64
console
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 26 Sep 2014 18:40:15 +0300 |
parents | b49461618f61 |
children |
line source
1 #ifndef GAME_H_
2 #define GAME_H_
4 extern bool opt_separate_walk_look;
6 bool game_init();
7 void game_cleanup();
9 void game_update(long tm);
10 void game_display();
11 void game_reshape(int x, int y);
12 void game_keyboard(int key, bool pressed);
13 void game_mouse_button(int bn, bool state, int x, int y);
14 void game_mouse_motion(int x, int y);
16 /* defined in main.cc */
17 void exit_game();
18 void move_window(int x, int y);
19 void resize_window(int x, int y);
20 void get_window_pos(int *x, int *y);
21 void enter_fullscreen();
22 void leave_fullscreen();
24 #endif /* GAME_H_ */