]> git.localhorst.tv Git - blank.git/blobdiff - src/init.hpp
updated description and TODO list
[blank.git] / src / init.hpp
index bf6191b1daf6e1c3e7a8afacb13b3c5d87d0d532..6064fca4b58a5cd6acb5b037a2f5881216b4823d 100644 (file)
@@ -37,7 +37,6 @@ class InitGL {
 
 public:
        InitGL();
-       ~InitGL();
 
        InitGL(const InitGL &) = delete;
        InitGL &operator =(const InitGL &) = delete;
@@ -54,6 +53,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 +82,11 @@ public:
        GLContext &operator =(const GLContext &) = delete;
 
        static void EnableVSync();
+       static void EnableDepthTest();
+       static void EnableBackfaceCulling();
+
+       static void Clear();
+       static void ClearDepthBuffer();
 
 private:
        SDL_GLContext handle;
@@ -88,7 +98,6 @@ class InitGLEW {
 
 public:
        InitGLEW();
-       ~InitGLEW();
 
        InitGLEW(const InitGLEW &) = delete;
        InitGLEW &operator =(const InitGLEW &) = delete;