]> git.localhorst.tv Git - blank.git/blobdiff - src/init.hpp
very basic chunk model
[blank.git] / src / init.hpp
index bf6191b1daf6e1c3e7a8afacb13b3c5d87d0d532..d596cbc346f880247a98b8b3ceae9e278acdaa9a 100644 (file)
@@ -54,6 +54,12 @@ public:
        Window(const Window &) = delete;
        Window &operator =(const Window &) = delete;
 
+       void GrabInput();
+       void ReleaseInput();
+
+       void GrabMouse();
+       void ReleaseMouse();
+
        GLContext CreateContext();
 
        void Flip();
@@ -77,6 +83,10 @@ public:
        GLContext &operator =(const GLContext &) = delete;
 
        static void EnableVSync();
+       static void EnableDepthTest();
+       static void EnableBackfaceCulling();
+
+       static void Clear();
 
 private:
        SDL_GLContext handle;