#include <LaserUpdate.h>
Inherits ClientUpdateModule.
Public Member Functions | |
| LaserUpdate (Thing *thing, const ModuleData *moduleData) | |
| void | initLaser (const Object *parent, const Object *target, const Coord3D *startPos, const Coord3D *endPos, AsciiString parentBoneName, Int sizeDeltaFrames=0) |
| void | setDecayFrames (UnsignedInt decayFrames) |
| const Coord3D * | getStartPos () |
| const Coord3D * | getEndPos () |
| Real | getCurrentLaserRadius () const |
| void | setDirty (Bool dirty) |
| Bool | isDirty () |
| Real | getWidthScale () const |
| virtual void | clientUpdate () |
Public Member Functions inherited from ClientUpdateModule | |
| ClientUpdateModule (Thing *thing, const ModuleData *moduleData) | |
Public Member Functions inherited from DrawableModule | |
| DrawableModule (Thing *thing, const ModuleData *moduleData) | |
| < this abstract class needs memory pool hooks | |
Public Member Functions inherited from Module | |
| Module (const ModuleData *moduleData) | |
| < this abstract class needs memory pool hooks | |
| virtual NameKeyType | getModuleNameKey () const =0 |
| NameKeyType | getModuleTagNameKey () const |
| virtual void | onObjectCreated () |
| virtual void | onDrawableBoundToObject () |
| virtual void | preloadAssets (TimeOfDay timeOfDay) |
| preload any assets we might have for this time of day | |
| virtual void | onDelete (void) |
Public Member Functions inherited from MemoryPoolObject | |
| void | deleteInstance () |
Public Member Functions inherited from Snapshot | |
| Snapshot (void) | |
| ~Snapshot (void) | |
Protected Member Functions | |
| void | updateStartPos () |
| figures out and sets startPos | |
| void | updateEndPos () |
| figures out and sets endPos | |
Protected Member Functions inherited from DrawableModule | |
| Drawable * | getDrawable () |
| const Drawable * | getDrawable () const |
| virtual void | crc (Xfer *xfer) |
| virtual void | xfer (Xfer *xfer) |
| virtual void | loadPostProcess (void) |
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 |
Additional Inherited Members | |
Static Public Member Functions inherited from ClientUpdateModule | |
| static ModuleType | getModuleType () |
| static Int | getInterfaceMask () |
Static Public Member Functions inherited from Module | |
| static ModuleData * | friend_newModuleData (INI *ini) |
The default update module
Definition at line 66 of file LaserUpdate.h.
| LaserUpdate::LaserUpdate | ( | Thing * | thing, |
| const ModuleData * | moduleData ) |
Definition at line 76 of file LaserUpdate.cpp.
|
virtual |
| Real LaserUpdate::getCurrentLaserRadius | ( | ) | const |
Definition at line 396 of file LaserUpdate.cpp.
|
inline |
Definition at line 82 of file LaserUpdate.h.
|
inline |
Definition at line 81 of file LaserUpdate.h.
|
inline |
Definition at line 89 of file LaserUpdate.h.
| void LaserUpdate::initLaser | ( | const Object * | parent, |
| const Object * | target, | ||
| const Coord3D * | startPos, | ||
| const Coord3D * | endPos, | ||
| AsciiString | parentBoneName, | ||
| Int | sizeDeltaFrames = 0 ) |
Definition at line 247 of file LaserUpdate.cpp.
|
inline |
Definition at line 87 of file LaserUpdate.h.
| void LaserUpdate::setDecayFrames | ( | UnsignedInt | decayFrames | ) |
Definition at line 234 of file LaserUpdate.cpp.
|
inline |
Definition at line 86 of file LaserUpdate.h.
|
protected |
figures out and sets endPos
Definition at line 158 of file LaserUpdate.cpp.
|
protected |
figures out and sets startPos
Definition at line 111 of file LaserUpdate.cpp.
|
protected |
Definition at line 112 of file LaserUpdate.h.
|
protected |
Definition at line 114 of file LaserUpdate.h.
|
protected |
Definition at line 109 of file LaserUpdate.h.
|
protected |
Definition at line 113 of file LaserUpdate.h.
|
protected |
Definition at line 105 of file LaserUpdate.h.
|
protected |
Definition at line 100 of file LaserUpdate.h.
|
protected |
Definition at line 115 of file LaserUpdate.h.
|
protected |
Definition at line 102 of file LaserUpdate.h.
|
protected |
Definition at line 106 of file LaserUpdate.h.
|
protected |
Definition at line 99 of file LaserUpdate.h.
|
protected |
Definition at line 103 of file LaserUpdate.h.
|
protected |
Definition at line 107 of file LaserUpdate.h.
|
protected |
Definition at line 111 of file LaserUpdate.h.
|
protected |
Definition at line 108 of file LaserUpdate.h.
|
protected |
Definition at line 110 of file LaserUpdate.h.