X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fapp.h;h=97f8f8b64897f7e25c03708a09a21baa96328f3e;hb=47fdbdc2feec8d097d296fe019fbeb653c0b0efc;hp=bfe96cb083126424e6d7747fa7882a756abae56c;hpb=dd39621d642e417f1e343cbf813205a658272639;p=vrfileman diff --git a/src/app.h b/src/app.h index bfe96cb..97f8f8b 100644 --- a/src/app.h +++ b/src/app.h @@ -1,9 +1,17 @@ #ifndef APP_H_ #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; + bool app_init(int argc, char **argv); void app_cleanup(); @@ -15,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();