mirror of
https://github.com/open-goal/jak-project
synced 2026-09-05 02:55:51 -04:00
[graphics] tfrag3 renderer (#978)
* begin work * work * working objs * exporting * it works * before some time of day fixes * add time of day interp and also fix zbuffer * some small blending fixes * improve randomess * clean up extraction and missing blend mode * culling, time of day, more level fixes * more cleanup * cleanup memory usage * windows fix
This commit is contained in:
@@ -192,8 +192,15 @@ Config read_config_file(const std::string& path_to_config_file) {
|
||||
max_len;
|
||||
}
|
||||
|
||||
for (auto& entry : hacks_json.at("missing_textures")) {
|
||||
int tpage = entry.at(1).get<int>();
|
||||
int idx = entry.at(2).get<int>();
|
||||
config.hacks.missing_textures_by_level[entry.at(0).get<std::string>()].emplace_back(tpage, idx);
|
||||
}
|
||||
|
||||
config.bad_format_strings =
|
||||
hacks_json.at("bad_format_strings").get<std::unordered_map<std::string, int>>();
|
||||
config.levels_to_extract = cfg.at("levels_to_extract").get<std::vector<std::string>>();
|
||||
return config;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user