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

Description

Definition at line 7 of file anm_tex_srt.hpp.

Classes

class  child_c
 

Public Member Functions

virtual void remove ()
 
virtual void play ()
 
virtual banm_c::anmType_e getType (void) const
 
bool create (nw4r::g3d::ResMdl mdl, nw4r::g3d::ResAnmTexSrt anmTexSrt, mAllocator_c *allocator, size_t *objSize, long count)
 
void setAnm (m3d::bmdl_c &mdl, nw4r::g3d::ResAnmTexSrt anmTexSrt, long idx, m3d::playMode_e playMode)
 
void releaseAnm (long idx)
 
void play (long idx)
 
float getFrame (long idx) const
 
void setFrame (float frame, long idx)
 
float getRate (long idx) const
 
void setRate (float rate, long idx)
 
bool isStop (long idx) const
 
bool checkFrame (float frame, long idx) const
 
void setPlayMode (m3d::playMode_e playMode, long idx)
 
float getFrameMax (long idx) const
 
void setFrameStart (float frame, long idx)
 
- Public Member Functions inherited from m3d::banm_c
bool createAllocator (mAllocator_c *allocator, size_t *size)
 
bool IsBound () const
 
float getFrame () const
 
void setFrameOnly (float frame)
 
float getRate () const
 
void setRate (float rate)
 
nw4r::g3d::AnmObjgetObj ()
 

Static Public Member Functions

static size_t heapCost (nw4r::g3d::ResMdl mdl, nw4r::g3d::ResAnmTexSrt anmTexSrt, long count, bool calcAligned)
 

Public Attributes

child_cchildren
 

Additional Inherited Members

- Public Types inherited from m3d::banm_c
enum  anmType_e {
  TYPE_ANM_CHR ,
  TYPE_ANM_VIS ,
  TYPE_ANM_MAT_CLR ,
  TYPE_ANM_TEX_PAT ,
  TYPE_ANM_TEX_SRT ,
  TYPE_ANM_OTHER
}
 
- Protected Attributes inherited from m3d::banm_c
nw4r::g3d::AnmObjmpObj
 
EGG::FrmHeapmpHeap
 
mAllocator_c mAllocator
 

Constructor & Destructor Documentation

◆ ~anmTexSrt_c()

m3d::anmTexSrt_c::~anmTexSrt_c ( )
virtual

Definition at line 123 of file anm_tex_srt.cpp.

Member Function Documentation

◆ remove()

void m3d::anmTexSrt_c::remove ( )
virtual

Reimplemented from m3d::banm_c.

Definition at line 127 of file anm_tex_srt.cpp.

◆ play() [1/2]

void m3d::anmTexSrt_c::play ( )
virtual

Reimplemented from m3d::banm_c.

Definition at line 153 of file anm_tex_srt.cpp.

◆ getType()

virtual banm_c::anmType_e m3d::anmTexSrt_c::getType ( void ) const
inlinevirtual

Implements m3d::banm_c.

Definition at line 12 of file anm_tex_srt.hpp.

◆ heapCost()

size_t m3d::anmTexSrt_c::heapCost ( nw4r::g3d::ResMdl mdl,
nw4r::g3d::ResAnmTexSrt anmTexSrt,
long count,
bool calcAligned )
static

Definition at line 65 of file anm_tex_srt.cpp.

◆ create()

bool m3d::anmTexSrt_c::create ( nw4r::g3d::ResMdl mdl,
nw4r::g3d::ResAnmTexSrt anmTexSrt,
mAllocator_c * allocator,
size_t * objSize,
long count )

Definition at line 76 of file anm_tex_srt.cpp.

◆ setAnm()

void m3d::anmTexSrt_c::setAnm ( m3d::bmdl_c & mdl,
nw4r::g3d::ResAnmTexSrt anmTexSrt,
long idx,
m3d::playMode_e playMode )

Definition at line 139 of file anm_tex_srt.cpp.

◆ releaseAnm()

void m3d::anmTexSrt_c::releaseAnm ( long idx)

Definition at line 147 of file anm_tex_srt.cpp.

◆ play() [2/2]

void m3d::anmTexSrt_c::play ( long idx)

Definition at line 161 of file anm_tex_srt.cpp.

◆ getFrame()

float m3d::anmTexSrt_c::getFrame ( long idx) const

Definition at line 167 of file anm_tex_srt.cpp.

◆ setFrame()

void m3d::anmTexSrt_c::setFrame ( float frame,
long idx )

Definition at line 171 of file anm_tex_srt.cpp.

◆ getRate()

float m3d::anmTexSrt_c::getRate ( long idx) const

Definition at line 175 of file anm_tex_srt.cpp.

◆ setRate()

void m3d::anmTexSrt_c::setRate ( float rate,
long idx )

Definition at line 179 of file anm_tex_srt.cpp.

◆ isStop()

bool m3d::anmTexSrt_c::isStop ( long idx) const

Definition at line 183 of file anm_tex_srt.cpp.

◆ setPlayMode()

void m3d::anmTexSrt_c::setPlayMode ( m3d::playMode_e playMode,
long idx )

Definition at line 187 of file anm_tex_srt.cpp.

◆ getFrameMax()

float m3d::anmTexSrt_c::getFrameMax ( long idx) const

Definition at line 191 of file anm_tex_srt.cpp.

◆ setFrameStart()

void m3d::anmTexSrt_c::setFrameStart ( float frame,
long idx )

Definition at line 195 of file anm_tex_srt.cpp.

Member Data Documentation

◆ children

child_c* m3d::anmTexSrt_c::children

Definition at line 41 of file anm_tex_srt.hpp.