Quick refactor of the config system to make it easier to refactor config.cpp/hpp later.
This commit is contained in:
parent
47f659ae8e
commit
e523aa8b02
29 changed files with 138 additions and 140 deletions
|
|
@ -15,7 +15,7 @@ using namespace components;
|
|||
|
||||
void WorldBuilder::stylize_rooms() {
|
||||
auto& tiles = $map.tiles();
|
||||
Config style_config("assets/styles.json");
|
||||
auto style_config = settings::get("styles");
|
||||
json& styles = style_config.json();
|
||||
|
||||
for(auto& room : $map.rooms()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue