#include <DrawModule.h>
Inherits DrawableModule.
Inherited by W3DDebrisDraw, W3DDefaultDraw, W3DLaserDraw, W3DModelDraw, W3DProjectileStreamDraw, W3DPropDraw, W3DRopeDraw, W3DTracerDraw, and W3DTreeDraw.
Public Member Functions | |
| DrawModule (Thing *thing, const ModuleData *moduleData) | |
| virtual void | doDrawModule (const Matrix3D *transformMtx)=0 |
| virtual void | setShadowsEnabled (Bool enable)=0 |
| virtual void | releaseShadows (void)=0 |
| frees all shadow resources used by this module - used by Options screen. | |
| virtual void | allocateShadows (void)=0 |
| create shadow resources if not already present. Used by Options screen. | |
| virtual void | setTerrainDecal (TerrainDecalType type) |
| virtual void | setTerrainDecalSize (Real x, Real y) |
| virtual void | setTerrainDecalOpacity (Real o) |
| virtual void | setFullyObscuredByShroud (Bool fullyObscured)=0 |
| virtual Bool | isVisible () const |
| for limiting tree sway, etc to visible objects | |
| virtual void | reactToTransformChange (const Matrix3D *oldMtx, const Coord3D *oldPos, Real oldAngle)=0 |
| virtual void | reactToGeometryChange ()=0 |
| virtual Bool | isLaser () const |
| virtual ObjectDrawInterface * | getObjectDrawInterface () |
| virtual const ObjectDrawInterface * | getObjectDrawInterface () const |
| virtual DebrisDrawInterface * | getDebrisDrawInterface () |
| virtual const DebrisDrawInterface * | getDebrisDrawInterface () const |
| virtual TracerDrawInterface * | getTracerDrawInterface () |
| virtual const TracerDrawInterface * | getTracerDrawInterface () const |
| virtual RopeDrawInterface * | getRopeDrawInterface () |
| virtual const RopeDrawInterface * | getRopeDrawInterface () const |
| virtual LaserDrawInterface * | getLaserDrawInterface () |
| virtual const LaserDrawInterface * | getLaserDrawInterface () const |
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) | |
Static Public Member Functions | |
| static ModuleType | getModuleType () |
| static Int | getInterfaceMask () |
Static Public Member Functions inherited from Module | |
| static ModuleData * | friend_newModuleData (INI *ini) |
Additional Inherited Members | |
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 |
Definition at line 63 of file DrawModule.h.
|
inline |
Definition at line 115 of file DrawModule.h.
|
pure virtual |
create shadow resources if not already present. Used by Options screen.
Implemented in W3DDebrisDraw, W3DDefaultDraw, W3DLaserDraw, W3DModelDraw, W3DProjectileStreamDraw, W3DPropDraw, W3DRopeDraw, W3DTracerDraw, and W3DTreeDraw.
|
pure virtual |
Implemented in W3DDebrisDraw, W3DDefaultDraw, W3DDependencyModelDraw, W3DLaserDraw, W3DModelDraw, W3DOverlordAircraftDraw, W3DOverlordTankDraw, W3DOverlordTruckDraw, W3DPoliceCarDraw, W3DProjectileStreamDraw, W3DPropDraw, W3DRopeDraw, W3DScienceModelDraw, W3DTankDraw, W3DTankTruckDraw, W3DTracerDraw, W3DTreeDraw, and W3DTruckDraw.
|
inlinevirtual |
Reimplemented in W3DDebrisDraw.
Definition at line 102 of file DrawModule.h.
|
inlinevirtual |
Reimplemented in W3DDebrisDraw.
Definition at line 103 of file DrawModule.h.
|
inlinestatic |
Definition at line 73 of file DrawModule.h.
|
inlinevirtual |
Reimplemented in W3DLaserDraw.
Definition at line 111 of file DrawModule.h.
|
inlinevirtual |
Reimplemented in W3DLaserDraw.
Definition at line 112 of file DrawModule.h.
|
inlinestatic |
Definition at line 72 of file DrawModule.h.
|
inlinevirtual |
Reimplemented in W3DModelDraw.
Definition at line 99 of file DrawModule.h.
|
inlinevirtual |
Reimplemented in W3DModelDraw.
Definition at line 100 of file DrawModule.h.
|
inlinevirtual |
Reimplemented in W3DRopeDraw.
Definition at line 108 of file DrawModule.h.
|
inlinevirtual |
Reimplemented in W3DRopeDraw.
Definition at line 109 of file DrawModule.h.
|
inlinevirtual |
Reimplemented in W3DTracerDraw.
Definition at line 105 of file DrawModule.h.
|
inlinevirtual |
Reimplemented in W3DTracerDraw.
Definition at line 106 of file DrawModule.h.
|
inlinevirtual |
Reimplemented in W3DLaserDraw.
Definition at line 96 of file DrawModule.h.
|
inlinevirtual |
for limiting tree sway, etc to visible objects
Reimplemented in W3DModelDraw.
Definition at line 91 of file DrawModule.h.
|
pure virtual |
Implemented in W3DDebrisDraw, W3DDefaultDraw, W3DLaserDraw, W3DModelDraw, W3DProjectileStreamDraw, W3DPropDraw, W3DRopeDraw, W3DSupplyDraw, W3DTankTruckDraw, W3DTracerDraw, W3DTreeDraw, and W3DTruckDraw.
|
pure virtual |
Implemented in W3DDebrisDraw, W3DDefaultDraw, W3DLaserDraw, W3DModelDraw, W3DProjectileStreamDraw, W3DPropDraw, W3DRopeDraw, W3DTracerDraw, and W3DTreeDraw.
|
pure virtual |
frees all shadow resources used by this module - used by Options screen.
Implemented in W3DDebrisDraw, W3DDefaultDraw, W3DLaserDraw, W3DModelDraw, W3DProjectileStreamDraw, W3DPropDraw, W3DRopeDraw, W3DTracerDraw, and W3DTreeDraw.
|
pure virtual |
Implemented in W3DDebrisDraw, W3DDefaultDraw, W3DLaserDraw, W3DModelDraw, W3DProjectileStreamDraw, W3DPropDraw, W3DRopeDraw, W3DTankDraw, W3DTankTruckDraw, W3DTracerDraw, W3DTreeDraw, and W3DTruckDraw.
|
pure virtual |
Implemented in W3DDebrisDraw, W3DDefaultDraw, W3DLaserDraw, W3DModelDraw, W3DProjectileStreamDraw, W3DPropDraw, W3DRopeDraw, W3DTracerDraw, and W3DTreeDraw.
|
inlinevirtual |
Reimplemented in W3DModelDraw.
Definition at line 85 of file DrawModule.h.
|
inlinevirtual |
Reimplemented in W3DModelDraw.
Definition at line 87 of file DrawModule.h.
Reimplemented in W3DModelDraw.
Definition at line 86 of file DrawModule.h.