aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 14:44:40 +0100
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-12-17 14:44:40 +0100
commit6ba8f83d482b5b7ade4cf63293cb9625a7e91f55 (patch)
treed753166ca38ed0ecbf07a66e7e3a6665f97ac8dd /src
parentbd26d3812aceab9cfcd55c19b17271cd6ef4ccb0 (diff)
config will be checout with master once PR#77 is merged, and sdlcontext adjustemetns for merging
Diffstat (limited to 'src')
-rw-r--r--src/crepe/api/Config.h4
-rw-r--r--src/crepe/facade/SDLContext.h7
2 files changed, 4 insertions, 7 deletions
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
@@ -79,13 +79,6 @@ public:
};
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;
SDLContext & operator=(const SDLContext &) = delete;