diff options
author | Clyne Sullivan <clyne@bitgloo.com> | 2019-09-26 11:35:31 -0400 |
---|---|---|
committer | Clyne Sullivan <clyne@bitgloo.com> | 2019-09-26 11:35:31 -0400 |
commit | 5fa8ec8586e3c9087fd68129e1b7d7f94e847a09 (patch) | |
tree | 451946789bd3fc0b79a80b5b3007d26c2159f428 /src/render.hpp | |
parent | 00da4d690af08d45788d770f9aadc9548438f074 (diff) |
begin config usage; text positioning
Diffstat (limited to 'src/render.hpp')
-rw-r--r-- | src/render.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/render.hpp b/src/render.hpp index 88668cc..c4456cf 100644 --- a/src/render.hpp +++ b/src/render.hpp @@ -56,9 +56,9 @@ class RenderSystem : public entityx::System<RenderSystem>, public entityx::Receiver<RenderSystem> { private: - constexpr static const char *title = "gamedev2"; - constexpr static int width = 1280; - constexpr static int height = 720; + std::string title; + int width; + int height; std::unique_ptr<SDL_Window, void (*)(SDL_Window *)> window; SDL_GLContext context; |