#include <ResAnmChr.hh>
Represents the CHR0 file format, which pertains to model movement animations.
Definition at line 48 of file ResAnmChr.hh.
Classes | |
struct | AnmData |
struct | CV32Data |
Const value (CV) animation data. More... | |
struct | CVData |
struct | Data |
struct | Frm48Data |
Frame values (FVS) animation data. More... | |
struct | FVS48Data |
struct | FVSData |
struct | InfoData |
struct | NodeData |
Public Member Functions | |
STATIC_ASSERT (sizeof(NodeData)==0xC) | |
STATIC_ASSERT (sizeof(InfoData)==0xC) | |
STATIC_ASSERT (sizeof(Data)==0x2C) | |
ResAnmChr (const void *data) | |
void | read (EGG::Stream &stream) |
ChrAnmResult | getAnmResult (f32 frame, size_t idx) const |
u16 | frameCount () const |
AnmPolicy | policy () const |
Private Types | |
typedef void(*) | GetAnmResultFunc(f32 frame, ChrAnmResult &result, const ResAnmChr::InfoData &infoData, const ResAnmChr::NodeData *nodeData) |
Private Attributes | |
const Data * | m_rawData |
InfoData | m_infoData |
Static Private Attributes | |
static constexpr size_t | NUM_RESULT_FUNCS = 8 |
static const std::array< GetAnmResultFunc, NUM_RESULT_FUNCS > | s_getAnmResultTable |
|
private |
Definition at line 207 of file ResAnmChr.hh.
|
inline |
Definition at line 186 of file ResAnmChr.hh.
|
inlinenodiscard |
Definition at line 198 of file ResAnmChr.hh.
|
nodiscard0x80055540 |
Definition at line 9 of file ResAnmChr.cc.
|
inlinenodiscard |
Definition at line 202 of file ResAnmChr.hh.
|
inline |
Definition at line 191 of file ResAnmChr.hh.
|
private |
Definition at line 211 of file ResAnmChr.hh.
|
private |
Definition at line 210 of file ResAnmChr.hh.
|
staticconstexprprivate |
Definition at line 213 of file ResAnmChr.hh.
|
staticprivate |
Definition at line 214 of file ResAnmChr.hh.