Rooms are now styled randomly based on assets/styles.json which will evolve into specifications for themes of levels and rooms in them plus other configs.
This commit is contained in:
parent
e45de2a2cf
commit
d2a5dfa713
7 changed files with 56 additions and 2 deletions
|
@ -14,6 +14,7 @@ struct Config {
|
|||
Config(nlohmann::json config, std::string src_path)
|
||||
: $config(config), $src_path(src_path) {}
|
||||
|
||||
nlohmann::json &operator[](size_t);
|
||||
nlohmann::json &operator[](const std::string &key);
|
||||
nlohmann::json &json() { return $config; };
|
||||
std::wstring wstring(const std::string main_key, const std::string sub_key);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue