[jak2] More texture animations (#2831)

Added framework to do texture animations entirely in C++. Currently only
works on relatively simple ones, and doesn't handle updating all
parameters - only the speeds.

Connected texture animations to merc and tfrag for skull gems, dark
bomb, and scrolling conveyors.

Cleaned up Tfragment/Tfrag3, which used to be two classes. This was one
of the first C++ renderers, so it had a weird design.
This commit is contained in:
water111
2023-07-16 13:02:53 -04:00
committed by GitHub
parent e0bc7ce732
commit 72c27a6eaa
24 changed files with 1676 additions and 846 deletions
+2 -2
View File
@@ -294,8 +294,8 @@ int main(int argc, char** argv) {
auto level_out_path =
file_util::get_jak_project_dir() / "out" / game_version_names[config.game_version] / "fr3";
file_util::create_dir_if_needed(level_out_path);
extract_all_levels(db, tex_db, config.levels_to_extract, "GAME.CGO", config.hacks,
config.rip_levels, config.extract_collision, level_out_path);
extract_all_levels(db, tex_db, config.levels_to_extract, "GAME.CGO", config, config.rip_levels,
config.extract_collision, level_out_path);
}
mem_log("After extraction: {} MB", get_peak_rss() / (1024 * 1024));