X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=vrfileman;a=blobdiff_plain;f=src%2Fapp.h;h=97f8f8b64897f7e25c03708a09a21baa96328f3e;hp=a95e1171d57f7161023951044d80c65820e6a8a6;hb=1c2b18e725db9e066d5dcb11123fc2019aec2ee7;hpb=cb2703917746784c4ea3408a049ff4297dfc268e diff --git a/src/app.h b/src/app.h index a95e117..97f8f8b 100644 --- a/src/app.h +++ b/src/app.h @@ -2,11 +2,14 @@ #define APP_H_ #include "gmath/gmath.h" +#include "opt.h" extern int win_width, win_height; extern float win_aspect; extern long time_msec; +extern double time_sec; +extern float cam_height; extern Mat4 view_matrix; @@ -20,6 +23,8 @@ void app_mouse_button(int bn, bool pressed, int x, int y); void app_mouse_motion(int x, int y); // the following functions are implemented by the window system backend +void app_resize(int x, int y); +void app_fullscreen(bool fs); void app_quit(); void app_redraw(); void app_swap_buffers();