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

Description

Definition at line 29 of file anm_tex_srt.hpp.

Public Member Functions

virtual banm_c::anmType_e getType (void) const
 
bool create (nw4r::g3d::ResMdl mdl, nw4r::g3d::ResAnmTexSrt anmTexSrt, mAllocator_c *allocator, size_t *objSize)
 
void setAnm (m3d::bmdl_c &mdl, nw4r::g3d::ResAnmTexSrt anmTexSrt, m3d::playMode_e playMode)
 
void releaseAnm ()
 
void setFrmCtrlDefault (nw4r::g3d::ResAnmTexSrt &anmTexSrt, m3d::playMode_e playMode)
 
- Public Member Functions inherited from m3d::fanm_c
 fanm_c ()
 Constructs an animation object.
 
virtual ~fanm_c ()
 Destroys the animation object.
 
virtual void play ()
 Updates the animation. Call this function every frame to update the animation.
 
void set (float duration, m3d::playMode_e playMode, float updateRate, float startFrame)
 Starts the animation with the given parameters.
 
void setFrame (float frame)
 Jumps to the specified frame in the animation.
 
bool isStop () const
 Checks whether the animation is stopped.
 
bool checkFrame (float frame) const
 Checks whether the animation has reached the specified frame.
 
- Public Member Functions inherited from m3d::banm_c
virtual void remove ()
 
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, bool calcAligned)
 

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
}
 
- Public Attributes inherited from m3d::fanm_c
float mFrameMax
 The last frame number of the animation.
 
float mFrameStart
 The first frame number of the animation.
 
float mCurrFrame
 The frame the animation is currently on.
 
u8 mPlayMode
 The play mode of the animation.
 
- Protected Attributes inherited from m3d::banm_c
nw4r::g3d::AnmObjmpObj
 
EGG::FrmHeapmpHeap
 
mAllocator_c mAllocator
 

Constructor & Destructor Documentation

◆ ~child_c()

virtual m3d::anmTexSrt_c::child_c::~child_c ( )
inlinevirtual

Definition at line 32 of file anm_tex_srt.hpp.

Member Function Documentation

◆ getType()

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

Implements m3d::banm_c.

Definition at line 31 of file anm_tex_srt.hpp.

◆ heapCost()

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

Definition at line 4 of file anm_tex_srt.cpp.

◆ create()

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

Definition at line 13 of file anm_tex_srt.cpp.

◆ setAnm()

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

Definition at line 42 of file anm_tex_srt.cpp.

◆ releaseAnm()

void m3d::anmTexSrt_c::child_c::releaseAnm ( )

Definition at line 49 of file anm_tex_srt.cpp.

◆ setFrmCtrlDefault()

void m3d::anmTexSrt_c::child_c::setFrmCtrlDefault ( nw4r::g3d::ResAnmTexSrt & anmTexSrt,
m3d::playMode_e playMode )

Definition at line 58 of file anm_tex_srt.cpp.