mirror of
https://github.com/open-goal/jak-project
synced 2026-09-10 12:25:21 -04:00
[jak2] Work-in-progress texture animations (#2819)
This commit is contained in:
@@ -267,6 +267,11 @@ Config make_config_via_json(nlohmann::json& json) {
|
||||
config.levels_to_extract = inputs_json.at("levels_to_extract").get<std::vector<std::string>>();
|
||||
config.levels_extract = json.at("levels_extract").get<bool>();
|
||||
|
||||
if (inputs_json.contains("animated_textures")) {
|
||||
config.animated_textures =
|
||||
inputs_json.at("animated_textures").get<std::unordered_set<std::string>>();
|
||||
}
|
||||
|
||||
auto art_info_json = read_json_file_from_config(json, "art_info_file");
|
||||
config.art_groups_by_file =
|
||||
art_info_json.at("files").get<std::unordered_map<std::string, std::string>>();
|
||||
|
||||
Reference in New Issue
Block a user