vrheights

annotate 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
rev   line source
nuclear@2 1 #ifndef GAME_H_
nuclear@2 2 #define GAME_H_
nuclear@2 3
nuclear@5 4 extern bool opt_separate_walk_look;
nuclear@5 5
nuclear@2 6 bool game_init();
nuclear@2 7 void game_cleanup();
nuclear@2 8
nuclear@2 9 void game_update(long tm);
nuclear@2 10 void game_display();
nuclear@2 11 void game_reshape(int x, int y);
nuclear@2 12 void game_keyboard(int key, bool pressed);
nuclear@2 13 void game_mouse_button(int bn, bool state, int x, int y);
nuclear@2 14 void game_mouse_motion(int x, int y);
nuclear@2 15
nuclear@2 16 /* defined in main.cc */
nuclear@2 17 void exit_game();
nuclear@2 18 void move_window(int x, int y);
nuclear@2 19 void resize_window(int x, int y);
nuclear@2 20 void get_window_pos(int *x, int *y);
nuclear@2 21 void enter_fullscreen();
nuclear@2 22 void leave_fullscreen();
nuclear@2 23
nuclear@2 24 #endif /* GAME_H_ */