#include <BoneFXUpdate.h>
Inherits UpdateModule.
Protected Types | |
| typedef std::vector< ParticleSystemID > | ParticleSystemIDVec |
Protected Member Functions | |
| virtual void | onObjectCreated () |
| virtual void | resolveBoneLocations () |
| void | doFXListAtBone (const FXList *fxList, const Coord3D *bonePosition) |
| void | doOCLAtBone (const ObjectCreationList *ocl, const Coord3D *bonePosition) |
| void | doParticleSystemAtBone (const ParticleSystemTemplate *particleSystemTemplate, const Coord3D *bonePosition) |
| void | killRunningParticleSystems () |
| void | computeNextClientFXTime (const BaseBoneListInfo *info, Int &nextFrame) |
| void | computeNextLogicFXTime (const BaseBoneListInfo *info, Int &nextFrame) |
| void | initTimes () |
Protected Member Functions inherited from UpdateModule | |
| void | setWakeFrame (Object *obj, UpdateSleepTime wakeDelay) |
| UpdateSleepTime | getWakeFrame () const |
| virtual SleepyUpdatePhase | getUpdatePhase () const |
| UpdateSleepTime | frameToSleepTime (UnsignedInt frame1, UnsignedInt frame2=FOREVER, UnsignedInt frame3=FOREVER, UnsignedInt frame4=FOREVER) |
Protected Member Functions inherited from BehaviorModule | |
| virtual void | crc (Xfer *xfer) |
| virtual void | xfer (Xfer *xfer) |
| virtual void | loadPostProcess (void) |
Protected Member Functions inherited from ObjectModule | |
| Object * | getObject () |
| const Object * | getObject () const |
Protected Member Functions inherited from Module | |
| const ModuleData * | getModuleData () const |
Protected Member Functions inherited from MemoryPoolObject | |
| virtual | ~MemoryPoolObject () |
| void * | operator new (size_t s) |
| void | operator delete (void *p) |
| virtual MemoryPool * | getObjectMemoryPool ()=0 |
Protected Attributes | |
| ParticleSystemIDVec | m_particleSystemIDs |
| we keep a record of attached particle system so we can detach and kill them when we want to | |
| Int | m_nextFXFrame [BODYDAMAGETYPE_COUNT][BONE_FX_MAX_BONES] |
| Int | m_nextOCLFrame [BODYDAMAGETYPE_COUNT][BONE_FX_MAX_BONES] |
| Int | m_nextParticleSystemFrame [BODYDAMAGETYPE_COUNT][BONE_FX_MAX_BONES] |
| Coord3D | m_FXBonePositions [BODYDAMAGETYPE_COUNT][BONE_FX_MAX_BONES] |
| Coord3D | m_OCLBonePositions [BODYDAMAGETYPE_COUNT][BONE_FX_MAX_BONES] |
| Coord3D | m_PSBonePositions [BODYDAMAGETYPE_COUNT][BONE_FX_MAX_BONES] |
| BodyDamageType | m_curBodyState |
| Bool | m_bonesResolved [BODYDAMAGETYPE_COUNT] |
| Bool | m_active |
Additional Inherited Members | |
Static Public Member Functions inherited from UpdateModule | |
| static Int | getInterfaceMask () |
Static Public Member Functions inherited from BehaviorModule | |
| static Int | getInterfaceMask () |
| static ModuleType | getModuleType () |
Static Public Member Functions inherited from Module | |
| static ModuleData * | friend_newModuleData (INI *ini) |
Definition at line 232 of file BoneFXUpdate.h.
|
protected |
Definition at line 266 of file BoneFXUpdate.h.
| BoneFXUpdate::BoneFXUpdate | ( | Thing * | thing, |
| const ModuleData * | moduleData ) |
Definition at line 77 of file BoneFXUpdate.cpp.
| void BoneFXUpdate::changeBodyDamageState | ( | BodyDamageType | oldState, |
| BodyDamageType | newState ) |
Definition at line 375 of file BoneFXUpdate.cpp.
|
protected |
Definition at line 466 of file BoneFXUpdate.cpp.
|
protected |
Definition at line 477 of file BoneFXUpdate.cpp.
Definition at line 384 of file BoneFXUpdate.cpp.
|
protected |
Definition at line 411 of file BoneFXUpdate.cpp.
|
protected |
Definition at line 436 of file BoneFXUpdate.cpp.
|
protected |
Definition at line 321 of file BoneFXUpdate.cpp.
|
protected |
Definition at line 488 of file BoneFXUpdate.cpp.
|
protectedvirtual |
this is called after all the Modules for a given Thing are created; it allows Modules to resolve any inter-Module dependencies.
Reimplemented from Module.
Definition at line 99 of file BoneFXUpdate.cpp.
|
protectedvirtual |
Definition at line 502 of file BoneFXUpdate.cpp.
| void BoneFXUpdate::stopAllBoneFX | ( | ) |
Definition at line 544 of file BoneFXUpdate.cpp.
|
virtual |
Implements UpdateModule.
Definition at line 290 of file BoneFXUpdate.cpp.
|
protected |
Definition at line 278 of file BoneFXUpdate.h.
|
protected |
Definition at line 277 of file BoneFXUpdate.h.
|
protected |
Definition at line 276 of file BoneFXUpdate.h.
|
protected |
Definition at line 273 of file BoneFXUpdate.h.
|
protected |
Definition at line 270 of file BoneFXUpdate.h.
|
protected |
Definition at line 271 of file BoneFXUpdate.h.
|
protected |
Definition at line 272 of file BoneFXUpdate.h.
|
protected |
Definition at line 274 of file BoneFXUpdate.h.
|
protected |
we keep a record of attached particle system so we can detach and kill them when we want to
Definition at line 269 of file BoneFXUpdate.h.
|
protected |
Definition at line 275 of file BoneFXUpdate.h.