mirror of
https://github.com/open-goal/jak-project
synced 2026-06-06 19:52:01 -04:00
[decompiler] Jak 2 modifications, new all-types code (#1553)
* temp * look at old game types * clean up
This commit is contained in:
@@ -76,7 +76,10 @@ Config read_config_file(const std::string& path_to_config_file,
|
||||
config.is_pal = cfg.at("is_pal").get<bool>();
|
||||
config.rip_levels = cfg.at("levels_convert_to_obj").get<bool>();
|
||||
config.extract_collision = cfg.at("extract_collision").get<bool>();
|
||||
|
||||
config.generate_all_types = cfg.at("generate_all_types").get<bool>();
|
||||
if (cfg.contains("old_all_types_file")) {
|
||||
config.old_all_types_file = cfg.at("old_all_types_file").get<std::string>();
|
||||
}
|
||||
auto allowed = cfg.at("allowed_objects").get<std::vector<std::string>>();
|
||||
for (const auto& x : allowed) {
|
||||
config.allowed_objects.insert(x);
|
||||
|
||||
Reference in New Issue
Block a user