#include <StructureToppleUpdate.h>
Inherits UpdateModule, and DieModuleInterface.
Static Public Member Functions | |
| static Int | getInterfaceMask () |
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) |
Protected Types | |
| enum | StructureToppleStateType { TOPPLESTATE_STANDING , TOPPLESTATE_WAITINGFORTOPPLESTART , TOPPLESTATE_TOPPLING , TOPPLESTATE_WAITINGFORDONE , TOPPLESTATE_DONE } |
Protected Member Functions | |
| void | beginStructureTopple (const DamageInfo *damageInfo) |
| void | applyCrushingDamage (Real theta) |
| void | doDamageLine (Object *building, const WeaponTemplate *wt, Real jcos, Real jsin, Real facingWidth, Real toppleAngle) |
| void | doToppleStartFX (Object *building, const DamageInfo *damageInfo) |
| void | doToppleDelayBurstFX () |
| void | doToppleDoneStuff () |
| void | doAngleFX (Real curAngle, Real newAngle) |
| void | doPhaseStuff (StructureTopplePhaseType stphase, const Coord3D *target) |
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 |
Definition at line 142 of file StructureToppleUpdate.h.
|
protected |
| Enumerator | |
|---|---|
| TOPPLESTATE_STANDING | |
| TOPPLESTATE_WAITINGFORTOPPLESTART | |
| TOPPLESTATE_TOPPLING | |
| TOPPLESTATE_WAITINGFORDONE | |
| TOPPLESTATE_DONE | |
Definition at line 179 of file StructureToppleUpdate.h.
| StructureToppleUpdate::StructureToppleUpdate | ( | Thing * | thing, |
| const ModuleData * | moduleData ) |
Definition at line 61 of file StructureToppleUpdate.cpp.
|
protected |
Definition at line 359 of file StructureToppleUpdate.cpp.
|
protected |
Definition at line 143 of file StructureToppleUpdate.cpp.
Definition at line 340 of file StructureToppleUpdate.cpp.
|
protected |
Definition at line 422 of file StructureToppleUpdate.cpp.
|
protected |
Definition at line 547 of file StructureToppleUpdate.cpp.
|
protected |
Definition at line 480 of file StructureToppleUpdate.cpp.
|
protected |
Definition at line 318 of file StructureToppleUpdate.cpp.
|
protected |
Definition at line 467 of file StructureToppleUpdate.cpp.
|
inlinevirtual |
Reimplemented from BehaviorModule.
Definition at line 157 of file StructureToppleUpdate.h.
|
inlinestatic |
Definition at line 154 of file StructureToppleUpdate.h.
|
virtual |
Implements DieModuleInterface.
Definition at line 192 of file StructureToppleUpdate.cpp.
|
virtual |
Implements UpdateModule.
Definition at line 210 of file StructureToppleUpdate.cpp.
|
protected |
Definition at line 191 of file StructureToppleUpdate.h.
|
protected |
Definition at line 196 of file StructureToppleUpdate.h.
|
protected |
Definition at line 195 of file StructureToppleUpdate.h.
|
protected |
Definition at line 193 of file StructureToppleUpdate.h.
|
protected |
Definition at line 194 of file StructureToppleUpdate.h.
|
protected |
Definition at line 192 of file StructureToppleUpdate.h.
|
protected |
Definition at line 188 of file StructureToppleUpdate.h.
|
protected |
Definition at line 187 of file StructureToppleUpdate.h.
|
protected |
Definition at line 189 of file StructureToppleUpdate.h.
|
protected |
Definition at line 190 of file StructureToppleUpdate.h.