From 6ba8f83d482b5b7ade4cf63293cb9625a7e91f55 Mon Sep 17 00:00:00 2001 From: heavydemon21 Date: Tue, 17 Dec 2024 14:44:40 +0100 Subject: config will be checout with master once PR#77 is merged, and sdlcontext adjustemetns for merging --- src/crepe/api/Config.h | 4 ++++ src/crepe/facade/SDLContext.h | 7 ------- 2 files changed, 4 insertions(+), 7 deletions(-) (limited to 'src/crepe') diff --git a/src/crepe/api/Config.h b/src/crepe/api/Config.h index ed1cf38..e91ecd1 100644 --- a/src/crepe/api/Config.h +++ b/src/crepe/api/Config.h @@ -46,6 +46,10 @@ struct Config final { std::string location = "save.crepe.db"; } savemgr; + struct { + unsigned int size = 16; + } font; + //! physics-related settings struct { /** diff --git a/src/crepe/facade/SDLContext.h b/src/crepe/facade/SDLContext.h index 7c791f2..e9c334e 100644 --- a/src/crepe/facade/SDLContext.h +++ b/src/crepe/facade/SDLContext.h @@ -78,13 +78,6 @@ public: const Transform & transform; }; -public: - /** - * \brief Gets the singleton instance of SDLContext. - * \return Reference to the SDLContext instance. - */ - static SDLContext & get_instance(); - public: SDLContext(const SDLContext &) = delete; SDLContext(SDLContext &&) = delete; -- cgit v1.2.3