Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
W3DPropDraw Class Reference

#include <W3DPropDraw.h>

Inherits DrawModule.

Public Member Functions

 W3DPropDraw (Thing *thing, const ModuleData *moduleData)
 
virtual void doDrawModule (const Matrix3D *transformMtx)
 
virtual void setShadowsEnabled (Bool enable)
 
virtual void releaseShadows (void)
 frees all shadow resources used by this module - used by Options screen.
 
virtual void allocateShadows (void)
 we don't care about preserving temporary shadows.
 
virtual void setFullyObscuredByShroud (Bool fullyObscured)
 we don't care about preserving temporary shadows.
 
virtual void reactToTransformChange (const Matrix3D *oldMtx, const Coord3D *oldPos, Real oldAngle)
 
virtual void reactToGeometryChange ()
 
- Public Member Functions inherited from DrawModule
 DrawModule (Thing *thing, const ModuleData *moduleData)
 
virtual void setTerrainDecal (TerrainDecalType type)
 
virtual void setTerrainDecalSize (Real x, Real y)
 
virtual void setTerrainDecalOpacity (Real o)
 
virtual Bool isVisible () const
 for limiting tree sway, etc to visible objects
 
virtual Bool isLaser () const
 
virtual ObjectDrawInterfacegetObjectDrawInterface ()
 
virtual const ObjectDrawInterfacegetObjectDrawInterface () const
 
virtual DebrisDrawInterfacegetDebrisDrawInterface ()
 
virtual const DebrisDrawInterfacegetDebrisDrawInterface () const
 
virtual TracerDrawInterfacegetTracerDrawInterface ()
 
virtual const TracerDrawInterfacegetTracerDrawInterface () const
 
virtual RopeDrawInterfacegetRopeDrawInterface ()
 
virtual const RopeDrawInterfacegetRopeDrawInterface () const
 
virtual LaserDrawInterfacegetLaserDrawInterface ()
 
virtual const LaserDrawInterfacegetLaserDrawInterface () 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)
 

Protected Attributes

Bool m_propAdded
 

Additional Inherited Members

- Static Public Member Functions inherited from DrawModule
static ModuleType getModuleType ()
 
static Int getInterfaceMask ()
 
- Static Public Member Functions inherited from Module
static ModuleDatafriend_newModuleData (INI *ini)
 
- Protected Member Functions inherited from DrawableModule
DrawablegetDrawable ()
 
const DrawablegetDrawable () const
 
virtual void crc (Xfer *xfer)
 
virtual void xfer (Xfer *xfer)
 
virtual void loadPostProcess (void)
 
- Protected Member Functions inherited from Module
const ModuleDatagetModuleData () const
 
- Protected Member Functions inherited from MemoryPoolObject
virtual ~MemoryPoolObject ()
 
void * operator new (size_t s)
 
void operator delete (void *p)
 
virtual MemoryPoolgetObjectMemoryPool ()=0
 

Detailed Description

W3D prop draw

Definition at line 55 of file W3DPropDraw.h.

Constructor & Destructor Documentation

◆ W3DPropDraw()

W3DPropDraw::W3DPropDraw ( Thing * thing,
const ModuleData * moduleData )

Definition at line 76 of file W3DPropDraw.cpp.

Member Function Documentation

◆ allocateShadows()

virtual void W3DPropDraw::allocateShadows ( void )
inlinevirtual

we don't care about preserving temporary shadows.

Implements DrawModule.

Definition at line 69 of file W3DPropDraw.h.

◆ doDrawModule()

void W3DPropDraw::doDrawModule ( const Matrix3D * transformMtx)
virtual

Implements DrawModule.

Definition at line 114 of file W3DPropDraw.cpp.

◆ reactToGeometryChange()

virtual void W3DPropDraw::reactToGeometryChange ( )
inlinevirtual

Implements DrawModule.

Definition at line 72 of file W3DPropDraw.h.

◆ reactToTransformChange()

void W3DPropDraw::reactToTransformChange ( const Matrix3D * oldMtx,
const Coord3D * oldPos,
Real oldAngle )
virtual

Implements DrawModule.

Definition at line 90 of file W3DPropDraw.cpp.

◆ releaseShadows()

virtual void W3DPropDraw::releaseShadows ( void )
inlinevirtual

frees all shadow resources used by this module - used by Options screen.

Implements DrawModule.

Definition at line 68 of file W3DPropDraw.h.

◆ setFullyObscuredByShroud()

virtual void W3DPropDraw::setFullyObscuredByShroud ( Bool fullyObscured)
inlinevirtual

we don't care about preserving temporary shadows.

Implements DrawModule.

Definition at line 70 of file W3DPropDraw.h.

◆ setShadowsEnabled()

virtual void W3DPropDraw::setShadowsEnabled ( Bool enable)
inlinevirtual

Implements DrawModule.

Definition at line 67 of file W3DPropDraw.h.

Member Data Documentation

◆ m_propAdded

Bool W3DPropDraw::m_propAdded
protected

Definition at line 75 of file W3DPropDraw.h.


The documentation for this class was generated from the following files: