Fixed worldgen to only use tiles without collision in filling rooms, then a couple more changes to lighting so that if the light is <= 1 it just assumes the base light strength which ends up looking nicer and more like the kind of light I want.
This commit is contained in:
parent
59bbae0af0
commit
28d19d80a2
8 changed files with 36 additions and 29 deletions
|
@ -12,10 +12,8 @@ struct Config {
|
|||
Config(nlohmann::json config, std::string src_path)
|
||||
: $config(config), $src_path(src_path) {}
|
||||
|
||||
std::vector<std::string> keys();
|
||||
|
||||
nlohmann::json &operator[](const std::string &key);
|
||||
|
||||
nlohmann::json &json() { return $config; };
|
||||
std::wstring wstring(const std::string main_key);
|
||||
std::wstring wstring(const std::string main_key, const std::string sub_key);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue