X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?p=vrfileman;a=blobdiff_plain;f=src%2Fapp.h;h=0030a9df17a586345b1d9b2e184efb468d1bc16f;hp=ee34a44af5459e76ab13407cf34f0faf15829a7a;hb=8afeabf06c79c755e5aaffa224e06c4abc92d833;hpb=6b808da85d32714e2587823e18e76d45039d628d diff --git a/src/app.h b/src/app.h index ee34a44..0030a9d 100644 --- a/src/app.h +++ b/src/app.h @@ -1,9 +1,15 @@ #ifndef APP_H_ #define APP_H_ +#include "gmath/gmath.h" + extern int win_width, win_height; extern float win_aspect; extern long time_msec; +extern double time_sec; + +extern Mat4 view_matrix; + bool app_init(int argc, char **argv); void app_cleanup(); @@ -15,6 +21,9 @@ 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(); long app_get_msec();