summaryrefslogtreecommitdiffstats
path: root/src/Render.hpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-11-19 20:29:28 +0100
committerLaG1924 <lag1924@gmail.com>2021-11-19 20:29:28 +0100
commit83c61036966c4c358a094cabe27c8de60082200d (patch)
tree6947537bd6af8a1e0d16de6a75f3e07f7db3b268 /src/Render.hpp
parentAdded framebuffer to Gal (diff)
downloadAltCraft-83c61036966c4c358a094cabe27c8de60082200d.tar
AltCraft-83c61036966c4c358a094cabe27c8de60082200d.tar.gz
AltCraft-83c61036966c4c358a094cabe27c8de60082200d.tar.bz2
AltCraft-83c61036966c4c358a094cabe27c8de60082200d.tar.lz
AltCraft-83c61036966c4c358a094cabe27c8de60082200d.tar.xz
AltCraft-83c61036966c4c358a094cabe27c8de60082200d.tar.zst
AltCraft-83c61036966c4c358a094cabe27c8de60082200d.zip
Diffstat (limited to '')
-rw-r--r--src/Render.hpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/Render.hpp b/src/Render.hpp
index cf9b9f9..87494fa 100644
--- a/src/Render.hpp
+++ b/src/Render.hpp
@@ -8,7 +8,6 @@
#include <SDL.h>
#include "Utility.hpp"
-#include "Renderer.hpp"
#include "Event.hpp"
#include "Gal.hpp"
@@ -31,7 +30,7 @@ class Render {
float mouseXDelta, mouseYDelta;
std::unique_ptr<RendererWorld> world;
bool renderWorld = false;
- RenderState renderState;
+ size_t windowWidth, windowHeight;
std::map<SDL_Scancode, bool> isKeyPressed;
bool HasFocus=true;
float sensetivity = 0.1f;