diff options
Diffstat (limited to 'src/config.cpp')
-rw-r--r-- | src/config.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/config.cpp b/src/config.cpp index 85cc413..c70546c 100644 --- a/src/config.cpp +++ b/src/config.cpp @@ -22,9 +22,14 @@ #include <cereal/cereal.hpp> #include <cereal/archives/json.hpp> +#include <filesystem> #include <fstream> -std::map<std::string, std::variant<int, double, std::string>> Config::values; +std::map<std::string, std::variant<int, double, std::string>> Config::values = { + { "title", "gamedev2" }, + { "screenWidth", 640 }, + { "screenHeight", 480 } +}; void Config::save(void) { |