]> git.lizzy.rs Git - dragonblocks_alpha.git/blobdiff - src/client/window.h
refactoring
[dragonblocks_alpha.git] / src / client / window.h
index 83b784f70ab2f3b6e354deafd248544ebc5900d9..0203510a4d6d64e0709c14e1602106c9d8187909 100644 (file)
@@ -3,19 +3,16 @@
 
 #include <GLFW/glfw3.h>
 
-extern struct Window
-{
+extern struct Window {
+       int width, height;
        GLFWwindow *handle;
        bool fullscreen;
-       struct
-       {
-               int x, y;
-               int width, height;
-       } small_bounds;
+       f32 fov;
+       mat4x4 projection;
 } window;
 
-bool window_init(int width, int height);
+bool window_init();
 void window_enter_fullscreen();
 void window_exit_fullscreen();
 
-#endif
+#endif // _WINDOW_H_