X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=vrfileman;a=blobdiff_plain;f=src%2Fapp.h;h=c3d5f0347608a6af3a4e07b8ac2e9009ab6e3caa;hp=a95e1171d57f7161023951044d80c65820e6a8a6;hb=20f18dc9afa4e7a9efb6253edce231f664d14215;hpb=cb2703917746784c4ea3408a049ff4297dfc268e diff --git a/src/app.h b/src/app.h index a95e117..c3d5f03 100644 --- a/src/app.h +++ b/src/app.h @@ -2,10 +2,12 @@ #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 Mat4 view_matrix; @@ -20,6 +22,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();