mirror of
https://github.com/open-goal/jak-project
synced 2026-09-01 17:59:55 -04:00
[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:
@@ -504,6 +504,12 @@ TPageResultStats process_tpage(ObjectFileData& data,
|
||||
|
||||
if (animated_textures.count(tex.name) && !ignore_animated) {
|
||||
switch (tex.psm) {
|
||||
case int(PSM::PSMCT32):
|
||||
// no need.
|
||||
break;
|
||||
case int(PSM::PSMT4):
|
||||
// currently not needed.
|
||||
break;
|
||||
case int(PSM::PSMT8):
|
||||
ASSERT(tex.clutpsm == int(CPSM::PSMCT32));
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user