vrheights

annotate src/game.h @ 2:b49461618f61

starting point
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 25 Sep 2014 11:44:45 +0300
parents ccbd444939a1
children 053a52f0cb64
rev   line source
nuclear@2 1 #ifndef GAME_H_
nuclear@2 2 #define GAME_H_
nuclear@2 3
nuclear@2 4 bool game_init();
nuclear@2 5 void game_cleanup();
nuclear@2 6
nuclear@2 7 void game_update(long tm);
nuclear@2 8 void game_display();
nuclear@2 9 void game_reshape(int x, int y);
nuclear@2 10 void game_keyboard(int key, bool pressed);
nuclear@2 11 void game_mouse_button(int bn, bool state, int x, int y);
nuclear@2 12 void game_mouse_motion(int x, int y);
nuclear@2 13
nuclear@2 14 /* defined in main.cc */
nuclear@2 15 void exit_game();
nuclear@2 16 void move_window(int x, int y);
nuclear@2 17 void resize_window(int x, int y);
nuclear@2 18 void get_window_pos(int *x, int *y);
nuclear@2 19 void enter_fullscreen();
nuclear@2 20 void leave_fullscreen();
nuclear@2 21
nuclear@2 22 #endif /* GAME_H_ */