mirror of
https://github.com/open-goal/jak-project
synced 2026-05-29 08:43:08 -04:00
72c27a6eaa
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.
38 lines
851 B
C++
38 lines
851 B
C++
#include "texture_slots.h"
|
|
|
|
namespace {
|
|
std::vector<std::string> jak2_slots = {
|
|
"jakbsmall-eyebrow",
|
|
"jakbsmall-face",
|
|
"jakbsmall-finger",
|
|
"jakbsmall-hair",
|
|
"jak-orig-arm-formorph",
|
|
"jak-orig-eyebrow-formorph",
|
|
"jak-orig-eyelid-formorph",
|
|
"jak-orig-finger-formorph",
|
|
"jakb-facelft",
|
|
"jakb-facert",
|
|
"jakb-hairtrans",
|
|
"jakb-eyelid",
|
|
"jakb-finger",
|
|
"jakb-eyebrow",
|
|
//"kor-eyeeffect-formorph",
|
|
//"kor-hair-formorph",
|
|
//"kor-head-formorph",
|
|
//"kor-head-formorph-noreflect",
|
|
//"kor-lowercaps-formorph",
|
|
//"kor-uppercaps-formorph",
|
|
"skull-gem-dest",
|
|
"bomb-gradient",
|
|
"cas-conveyor-dest",
|
|
"cas-conveyor-dest-01",
|
|
"cas-conveyor-dest-02",
|
|
"cas-conveyor-dest-03",
|
|
};
|
|
|
|
}
|
|
|
|
const std::vector<std::string>& jak2_animated_texture_slots() {
|
|
return jak2_slots;
|
|
}
|