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

Description

Definition at line 7 of file anm_tex_pat.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::ResAnmTexPat anmTexPat, mAllocator_c *allocator, size_t *objSize, long count)
 
void setAnm (m3d::bmdl_c &mdl, nw4r::g3d::ResAnmTexPat anmTexPat, 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
 
float getFrameStart (long idx) const
 
- 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::ResAnmTexPat anmTexPat, 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

◆ ~anmTexPat_c()

m3d::anmTexPat_c::~anmTexPat_c ( )
virtual

Definition at line 110 of file anm_tex_pat.cpp.

Member Function Documentation

◆ remove()

void m3d::anmTexPat_c::remove ( )
virtual

Reimplemented from m3d::banm_c.

Definition at line 114 of file anm_tex_pat.cpp.

◆ play() [1/2]

void m3d::anmTexPat_c::play ( )
virtual

Reimplemented from m3d::banm_c.

Definition at line 140 of file anm_tex_pat.cpp.

◆ getType()

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

Implements m3d::banm_c.

Definition at line 12 of file anm_tex_pat.hpp.

◆ heapCost()

size_t m3d::anmTexPat_c::heapCost ( nw4r::g3d::ResMdl mdl,
nw4r::g3d::ResAnmTexPat anmTexPat,
long count,
bool calcAligned )
static

Definition at line 61 of file anm_tex_pat.cpp.

◆ create()

bool m3d::anmTexPat_c::create ( nw4r::g3d::ResMdl mdl,
nw4r::g3d::ResAnmTexPat anmTexPat,
mAllocator_c * allocator,
size_t * objSize,
long count )

Definition at line 72 of file anm_tex_pat.cpp.

◆ setAnm()

void m3d::anmTexPat_c::setAnm ( m3d::bmdl_c & mdl,
nw4r::g3d::ResAnmTexPat anmTexPat,
long idx,
m3d::playMode_e playMode )

Definition at line 126 of file anm_tex_pat.cpp.

◆ releaseAnm()

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

Definition at line 134 of file anm_tex_pat.cpp.

◆ play() [2/2]

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

Definition at line 148 of file anm_tex_pat.cpp.

◆ getFrame()

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

Definition at line 154 of file anm_tex_pat.cpp.

◆ setFrame()

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

Definition at line 158 of file anm_tex_pat.cpp.

◆ getRate()

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

Definition at line 162 of file anm_tex_pat.cpp.

◆ setRate()

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

Definition at line 166 of file anm_tex_pat.cpp.

◆ isStop()

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

Definition at line 170 of file anm_tex_pat.cpp.

◆ checkFrame()

bool m3d::anmTexPat_c::checkFrame ( float frame,
long idx ) const

Definition at line 174 of file anm_tex_pat.cpp.

◆ setPlayMode()

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

Definition at line 178 of file anm_tex_pat.cpp.

◆ getFrameMax()

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

Definition at line 182 of file anm_tex_pat.cpp.

Member Data Documentation

◆ children

child_c* m3d::anmTexPat_c::children

Definition at line 41 of file anm_tex_pat.hpp.