NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
nw4r::g3d::ResAnmChr Class Reference
Inheritance diagram for nw4r::g3d::ResAnmChr:
[legend]

Description

Definition at line 241 of file g3d_resanmchr.h.

Public Member Functions

 NW4R_G3D_RESOURCE_FUNC_DEF (ResAnmChr)
 
ulong GetRevision () const
 
bool CheckRevision () const
 
void GetAnmResult (ChrAnmResult *pResult, ulong idx, f32 frame) const
 
const ResAnmChrNodeDataGetNodeAnm (int idx) const
 
const ResAnmChrNodeDataGetNodeAnm (ulong idx) const
 
s32 GetNodeAnmIndex (const ResName name) const
 
int GetNumFrame () const
 
int GetNumNode () const
 
AnmPolicy GetAnmPolicy () const
 
- Public Member Functions inherited from nw4r::g3d::ResCommon< ResAnmChrData >
 ResCommon (void *pData)
 
 ResCommon (const void *pData)
 
bool IsValid () const
 
ResAnmChrDataptr ()
 
const ResAnmChrDataptr () const
 
ResAnmChrDataref ()
 
const ResAnmChrDataref () const
 
ResAnmChrDataofs_to_ptr_raw (s32 ofs)
 
const ResAnmChrDataofs_to_ptr_raw (s32 ofs) const
 
ResAnmChrDataofs_to_ptr (s32 ofs)
 
const ResAnmChrDataofs_to_ptr (s32 ofs) const
 
ResAnmChrData ofs_to_obj (s32 ofs)
 
const ResAnmChrData ofs_to_obj (s32 ofs) const
 

Static Public Attributes

static const ulong SIGNATURE = 'CHR0'
 
static const int REVISION = 4
 

Member Function Documentation

◆ GetRevision()

ulong nw4r::g3d::ResAnmChr::GetRevision ( ) const
inline

Definition at line 249 of file g3d_resanmchr.h.

◆ CheckRevision()

bool nw4r::g3d::ResAnmChr::CheckRevision ( ) const
inline

Definition at line 253 of file g3d_resanmchr.h.

◆ GetNodeAnm() [1/2]

const ResAnmChrNodeData * nw4r::g3d::ResAnmChr::GetNodeAnm ( int idx) const
inline

Definition at line 259 of file g3d_resanmchr.h.

◆ GetNodeAnm() [2/2]

const ResAnmChrNodeData * nw4r::g3d::ResAnmChr::GetNodeAnm ( ulong idx) const
inline

Definition at line 263 of file g3d_resanmchr.h.

◆ GetNodeAnmIndex()

s32 nw4r::g3d::ResAnmChr::GetNodeAnmIndex ( const ResName name) const
inline

Definition at line 268 of file g3d_resanmchr.h.

◆ GetNumFrame()

int nw4r::g3d::ResAnmChr::GetNumFrame ( ) const
inline

Definition at line 272 of file g3d_resanmchr.h.

◆ GetNumNode()

int nw4r::g3d::ResAnmChr::GetNumNode ( ) const
inline

Definition at line 276 of file g3d_resanmchr.h.

◆ GetAnmPolicy()

AnmPolicy nw4r::g3d::ResAnmChr::GetAnmPolicy ( ) const
inline

Definition at line 280 of file g3d_resanmchr.h.

Member Data Documentation

◆ SIGNATURE

const ulong nw4r::g3d::ResAnmChr::SIGNATURE = 'CHR0'
static

Definition at line 243 of file g3d_resanmchr.h.

◆ REVISION

const int nw4r::g3d::ResAnmChr::REVISION = 4
static

Definition at line 244 of file g3d_resanmchr.h.