From 5fa8ec8586e3c9087fd68129e1b7d7f94e847a09 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Thu, 26 Sep 2019 11:35:31 -0400 Subject: begin config usage; text positioning --- src/render.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/render.hpp') 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, public entityx::Receiver { 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 window; SDL_GLContext context; -- cgit v1.2.3