NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
|
Definition at line 103 of file g3d_anmshp.h.
Private Member Functions | |
AnmObjShpBlend (MEMAllocator *pAllocator, u16 *pBindingBuf, int numBinding, AnmObjShpRes **ppChildrenBuf, int numChildren, f32 *pWeightBuf) | |
virtual const ShpAnmResult * | GetResult (ShpAnmResult *pResult, ulong idx) |
virtual void | SetWeight (int idx, f32 weight) |
virtual f32 | GetWeight (int idx) const |
NW4R_G3D_RTTI_DECL_DERIVED (AnmObjShpBlend, AnmObjShpNode) | |
Static Private Member Functions | |
static AnmObjShpBlend * | Construct (MEMAllocator *pAllocator, ulong *pSize, ResMdl mdl, int numChildren) |
Private Attributes | |
f32 * | mpWeightArray |
Additional Inherited Members | |
![]() | |
enum | AnmFlag { FLAG_NEED_UPDATE = (1 << 0) , FLAG_CACHE_OBSOLETE = (1 << 1) , FLAG_ANM_BOUND = (1 << 2) , FLAG_USE_QUATERNION_ROTATION_BLEND = (1 << 3) , FLAG_USE_ACCURATE_SCALE_BLEND = (1 << 4) } |
![]() | |
enum | G3dProcTask { G3DPROC_NONE = 0x00000 , G3DPROC_CALC_WORLD = 0x00001 , G3DPROC_CALC_MAT = 0x00002 , G3DPROC_CALC_VTX = 0x00003 , G3DPROC_CALC_VIEW = 0x00004 , G3DPROC_GATHER_SCNOBJ = 0x00005 , G3DPROC_DRAW_OPA = 0x00006 , G3DPROC_DRAW_XLU = 0x00007 , G3DPROC_UPDATEFRAME = 0x00008 , __G3DPROC_OPTIONAL_END , G3DPROC_CHILD_DETACHED = 0x10001 , G3DPROC_ATTACH_PARENT = 0x10002 , G3DPROC_DETACH_PARENT = 0x10003 , G3DPROC_ZSORT = 0x10004 } |
![]() | |
AnmObjShpNode (MEMAllocator *pAllocator, u16 *pBindingBuf, int numBinding, AnmObjShpRes **ppChildrenBuf, int numChildren) | |
virtual void | G3dProc (ulong task, ulong param, void *pInfo) |
virtual void | SetFrame (f32 frame) |
virtual f32 | GetFrame () const |
virtual void | UpdateFrame () |
virtual void | SetUpdateRate (f32 rate) |
virtual f32 | GetUpdateRate () const |
virtual bool | Bind (const ResMdl mdl) |
virtual void | Release () |
virtual AnmObjShpRes * | Attach (int idx, AnmObjShpRes *pRes) |
virtual AnmObjShpRes * | Detach (int idx) |
virtual void | DetachAll () |
![]() | |
AnmObjShp (MEMAllocator *pAllocator, u16 *pBindingBuf, int numBinding) | |
bool | TestExistence (ulong idx) const |
bool | TestDefined (ulong idx) const |
![]() | |
AnmObj (MEMAllocator *pAllocator, G3dObj *pParent) | |
void | SetAnmFlag (AnmFlag flag, bool value) |
bool | TestAnmFlag (AnmFlag flag) const |
bool | IsBound () const |
![]() | |
virtual bool | IsDerivedFrom (TypeObj other) const |
virtual const TypeObj | GetTypeObj () const |
virtual const char * | GetTypeName () const |
G3dObj (MEMAllocator *pAllocator, G3dObj *pParent) | |
G3dObj * | GetParent () const |
void | SetParent (G3dObj *pParent) |
void | DetachFromParent () |
void | Destroy () |
![]() | |
static const G3dObj::TypeObj | GetTypeObjStatic () |
static void * | Alloc (MEMAllocator *pAllocator, ulong size) |
static void | Dealloc (MEMAllocator *pAllocator, void *pBlock) |
static void * | operator new (size_t, void *pBlock) |
static void | operator delete (void *) |
template<typename TTo> | |
static TTo * | DynamicCast (G3dObj *pObj) |
![]() | |
enum | BindingFlag { BINDING_ID_MASK = (1 << 14) - 1 , BINDING_INVALID = (1 << 14) , BINDING_UNDEFINED = (1 << 15) } |
![]() | |
NW4R_G3D_RTTI_DECL_DERIVED (AnmObjShpNode, AnmObjShp) | |
![]() | |
NW4R_G3D_RTTI_DECL_DERIVED (AnmObjShp, AnmObj) | |
![]() | |
int | mChildrenArraySize |
AnmObjShpRes ** | mpChildrenArray |
![]() | |
int | mNumBinding |
u16 *const | mpBinding |
![]() | |
static const int | DEFAULT_MAX_CHILDREN = 4 |
|
inlineprivatevirtual |
Definition at line 111 of file g3d_anmshp.h.
|
privatevirtual |
Implements nw4r::g3d::AnmObjShp.
|
privatevirtual |
Reimplemented from nw4r::g3d::AnmObjShp.
|
privatevirtual |
Reimplemented from nw4r::g3d::AnmObjShp.
|
private |
Definition at line 120 of file g3d_anmshp.h.