diff options
author | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2019-01-25 04:46:05 +0100 |
---|---|---|
committer | LaG1924 <12997935+LaG1924@users.noreply.github.com> | 2019-01-25 04:46:05 +0100 |
commit | acd89cf669a5fb18668f5cb5762a971b0ba42801 (patch) | |
tree | 1eb2c281036a7d0757be00ae3844c7da0199e659 /src/Render.hpp | |
parent | Merge pull request #30 from uis246/iss29 (diff) | |
download | AltCraft-acd89cf669a5fb18668f5cb5762a971b0ba42801.tar AltCraft-acd89cf669a5fb18668f5cb5762a971b0ba42801.tar.gz AltCraft-acd89cf669a5fb18668f5cb5762a971b0ba42801.tar.bz2 AltCraft-acd89cf669a5fb18668f5cb5762a971b0ba42801.tar.lz AltCraft-acd89cf669a5fb18668f5cb5762a971b0ba42801.tar.xz AltCraft-acd89cf669a5fb18668f5cb5762a971b0ba42801.tar.zst AltCraft-acd89cf669a5fb18668f5cb5762a971b0ba42801.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Render.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Render.hpp b/src/Render.hpp index adb0547..eea5450 100644 --- a/src/Render.hpp +++ b/src/Render.hpp @@ -12,6 +12,7 @@ #include "Event.hpp" class RendererWorld; +class Framebuffer; class Render { SDL_Window *window; @@ -28,7 +29,8 @@ class Render { std::map<SDL_Scancode, bool> isKeyPressed; bool HasFocus=true; float sensetivity = 0.1f; - bool isWireframe = false; + bool isWireframe = false; + std::unique_ptr<Framebuffer> framebuffer; std::vector<std::string> chatMessages; EventListener listener; std::string stateString; @@ -41,6 +43,7 @@ class Render { bool fieldVsync; bool fieldFlight; float fieldBrightness; + float fieldResolutionScale; void SetMouseCapture(bool IsCaptured); |