diff options
Diffstat (limited to 'src/crepe/api/Config.h')
| -rw-r--r-- | src/crepe/api/Config.h | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/src/crepe/api/Config.h b/src/crepe/api/Config.h index 5bd6913..693400a 100644 --- a/src/crepe/api/Config.h +++ b/src/crepe/api/Config.h @@ -1,6 +1,8 @@  #pragma once  #include "../util/Log.h" +#include "types.h" +#include <string>  namespace crepe { @@ -39,6 +41,14 @@ struct Config final {  		double gravity = 1;  	} physics; +	//! default window settings +	struct { +		//TODO make this constexpr because this will never change +		ivec2 default_size = {1080, 720}; +		std::string window_title = "Jetpack joyride clone"; + +	} window_settings; +  	//! Asset loading options  	struct {  		/** |