|
NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
Definition at line 6 of file anm_chr.hpp.
Public Member Functions | |
| virtual banm_c::anmType_e | getType () const |
| bool | create (nw4r::g3d::ResMdl mdl, nw4r::g3d::ResAnmChr anmChr, mAllocator_c *allocator, size_t *objSize) |
| void | setAnm (m3d::bmdl_c &mdl, nw4r::g3d::ResAnmChr anmChr, m3d::playMode_e playMode) |
| void | setAnmAfter (m3d::bmdl_c &mdl, nw4r::g3d::ResAnmChr anmChr, m3d::playMode_e playMode) |
| void | setFrmCtrlDefault (nw4r::g3d::ResAnmChr &anmChr, 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::AnmObj * | getObj () |
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::AnmObj * | mpObj |
| EGG::FrmHeap * | mpHeap |
| mAllocator_c | mAllocator |
|
inlinevirtual |
Implements m3d::banm_c.
Definition at line 8 of file anm_chr.hpp.
| bool m3d::anmChr_c::create | ( | nw4r::g3d::ResMdl | mdl, |
| nw4r::g3d::ResAnmChr | anmChr, | ||
| mAllocator_c * | allocator, | ||
| size_t * | objSize ) |
Definition at line 5 of file anm_chr.cpp.
| void m3d::anmChr_c::setAnm | ( | m3d::bmdl_c & | mdl, |
| nw4r::g3d::ResAnmChr | anmChr, | ||
| m3d::playMode_e | playMode ) |
Definition at line 30 of file anm_chr.cpp.
| void m3d::anmChr_c::setAnmAfter | ( | m3d::bmdl_c & | mdl, |
| nw4r::g3d::ResAnmChr | anmChr, | ||
| m3d::playMode_e | playMode ) |
Definition at line 36 of file anm_chr.cpp.
| void m3d::anmChr_c::setFrmCtrlDefault | ( | nw4r::g3d::ResAnmChr & | anmChr, |
| m3d::playMode_e | playMode ) |
Definition at line 75 of file anm_chr.cpp.