[decomp] flying-lurker (#846)

* `flying-lurker`

* why'd this get left behind?

* also `ambient` and add a `banned_objects` config and fix offline tests

* clang

* fix `ambient-type-sound`
This commit is contained in:
ManDude
2021-09-21 23:40:38 +01:00
committed by GitHub
parent 5683f04046
commit d8e659df66
81 changed files with 11226 additions and 4477 deletions
+4
View File
@@ -59,6 +59,10 @@ Config read_config_file(const std::string& path_to_config_file) {
for (const auto& x : allowed) {
config.allowed_objects.insert(x);
}
auto banned = cfg.at("banned_objects").get<std::vector<std::string>>();
for (const auto& x : banned) {
config.banned_objects.insert(x);
}
auto type_casts_json = read_json_file_from_config(cfg, "type_casts_file");
for (auto& kv : type_casts_json.items()) {