diff options
| author | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 14:44:40 +0100 | 
|---|---|---|
| committer | heavydemon21 <nielsstunnebrink1@gmail.com> | 2024-12-17 14:44:40 +0100 | 
| commit | 6ba8f83d482b5b7ade4cf63293cb9625a7e91f55 (patch) | |
| tree | d753166ca38ed0ecbf07a66e7e3a6665f97ac8dd | |
| parent | bd26d3812aceab9cfcd55c19b17271cd6ef4ccb0 (diff) | |
config will be checout with master once PR#77 is merged, and sdlcontext adjustemetns for merging
| -rw-r--r-- | src/crepe/api/Config.h | 4 | ||||
| -rw-r--r-- | src/crepe/facade/SDLContext.h | 7 | 
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; |