vrheights

diff 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
line diff
     1.1 --- a/src/game.h	Wed Sep 24 11:34:07 2014 +0300
     1.2 +++ b/src/game.h	Thu Sep 25 11:44:45 2014 +0300
     1.3 @@ -1,16 +1,22 @@
     1.4 -#ifndef GAME_H_
     1.5 -#define GAME_H_
     1.6 -
     1.7 -bool game_init();
     1.8 -void game_cleanup();
     1.9 -
    1.10 -void game_update(long tm);
    1.11 -void game_display();
    1.12 -void game_reshape(int x, int y);
    1.13 -void game_keyboard(int key, bool pressed);
    1.14 -void game_mouse_button(int bn, bool state, int x, int y);
    1.15 -void game_mouse_motion(int x, int y);
    1.16 -
    1.17 -void exit_game();	/* defined in main.cc */
    1.18 -
    1.19 -#endif	/* GAME_H_ */
    1.20 \ No newline at end of file
    1.21 +#ifndef GAME_H_
    1.22 +#define GAME_H_
    1.23 +
    1.24 +bool game_init();
    1.25 +void game_cleanup();
    1.26 +
    1.27 +void game_update(long tm);
    1.28 +void game_display();
    1.29 +void game_reshape(int x, int y);
    1.30 +void game_keyboard(int key, bool pressed);
    1.31 +void game_mouse_button(int bn, bool state, int x, int y);
    1.32 +void game_mouse_motion(int x, int y);
    1.33 +
    1.34 +/* defined in main.cc */
    1.35 +void exit_game();
    1.36 +void move_window(int x, int y);
    1.37 +void resize_window(int x, int y);
    1.38 +void get_window_pos(int *x, int *y);
    1.39 +void enter_fullscreen();
    1.40 +void leave_fullscreen();
    1.41 +
    1.42 +#endif	/* GAME_H_ */