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

Description

Definition at line 96 of file g3d_resanmshp.h.

Public Member Functions

 NW4R_G3D_RESOURCE_FUNC_DEF (ResAnmShp)
 
ulong GetRevision () const
 
bool CheckRevision () const
 
void GetAnmResult (ShpAnmResult *pResult, ulong idx, f32 frame, const ShpAnmVtxSet *pShapeArray) const
 
const ResAnmShpAnmDataGetShapeAnm (int idx) const
 
const ResAnmShpAnmDataGetShapeAnm (ulong idx) const
 
ulong GetShapeAnmNumEntries () const
 
const s32 * GetVtxNameArray () const
 
int GetNumFrame () const
 
int GetNumVtxNames () const
 
AnmPolicy GetAnmPolicy () const
 
- Public Member Functions inherited from nw4r::g3d::ResCommon< ResAnmShpData >
 ResCommon (void *pData)
 
 ResCommon (const void *pData)
 
bool IsValid () const
 
ResAnmShpDataptr ()
 
const ResAnmShpDataptr () const
 
ResAnmShpDataref ()
 
const ResAnmShpDataref () const
 
ResAnmShpDataofs_to_ptr_raw (s32 ofs)
 
const ResAnmShpDataofs_to_ptr_raw (s32 ofs) const
 
ResAnmShpDataofs_to_ptr (s32 ofs)
 
const ResAnmShpDataofs_to_ptr (s32 ofs) const
 
ResAnmShpData ofs_to_obj (s32 ofs)
 
const ResAnmShpData ofs_to_obj (s32 ofs) const
 

Static Public Attributes

static const ulong SIGNATURE = 'SHP0'
 
static const int REVISION = 3
 

Member Function Documentation

◆ GetRevision()

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

Definition at line 104 of file g3d_resanmshp.h.

◆ CheckRevision()

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

Definition at line 108 of file g3d_resanmshp.h.

◆ GetShapeAnm() [1/2]

const ResAnmShpAnmData * nw4r::g3d::ResAnmShp::GetShapeAnm ( int idx) const
inline

Definition at line 115 of file g3d_resanmshp.h.

◆ GetShapeAnm() [2/2]

const ResAnmShpAnmData * nw4r::g3d::ResAnmShp::GetShapeAnm ( ulong idx) const
inline

Definition at line 119 of file g3d_resanmshp.h.

◆ GetShapeAnmNumEntries()

ulong nw4r::g3d::ResAnmShp::GetShapeAnmNumEntries ( ) const
inline

Definition at line 124 of file g3d_resanmshp.h.

◆ GetVtxNameArray()

const s32 * nw4r::g3d::ResAnmShp::GetVtxNameArray ( ) const
inline

Definition at line 128 of file g3d_resanmshp.h.

◆ GetNumFrame()

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

Definition at line 132 of file g3d_resanmshp.h.

◆ GetNumVtxNames()

int nw4r::g3d::ResAnmShp::GetNumVtxNames ( ) const
inline

Definition at line 136 of file g3d_resanmshp.h.

◆ GetAnmPolicy()

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

Definition at line 140 of file g3d_resanmshp.h.

Member Data Documentation

◆ SIGNATURE

const ulong nw4r::g3d::ResAnmShp::SIGNATURE = 'SHP0'
static

Definition at line 98 of file g3d_resanmshp.h.

◆ REVISION

const int nw4r::g3d::ResAnmShp::REVISION = 3
static

Definition at line 99 of file g3d_resanmshp.h.