JJ2Anims class
#include <Jazz2/Compatibility/JJ2Anims.h>
Parses original .j2a animation files.
Reads the original game's combined animation archive (Anims.j2a), decoding its animation sets, frames and embedded audio samples, and writes the converted sprites and sounds into the engine's .pak format. Asset naming and palette handling are driven by AnimSetMapping.
Public static functions
- static auto Convert(StringView path, PakWriter& pakWriter, bool isPlus = false) -> JJ2Version
- Converts the specified animation file and writes the result to a
.pakfile. -
static void WriteImageContent(Stream& so,
const std::
uint8_t* data, std:: int32_t width, std:: int32_t height, std:: int32_t channelCount) - Writes raw image content to the specified stream.