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

#include <W3DDefaultDraw.h>

Inherits DrawModule.

Public Member Functions

 W3DDefaultDraw (Thing *thing, const ModuleData *moduleData)
 
virtual void doDrawModule (const Matrix3D *transformMtx)
 the draw method
 
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)
 

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

The default client update module

Definition at line 50 of file W3DDefaultDraw.h.

Constructor & Destructor Documentation

◆ W3DDefaultDraw()

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

Definition at line 54 of file W3DDefaultDraw.cpp.

Member Function Documentation

◆ allocateShadows()

virtual void W3DDefaultDraw::allocateShadows ( void )
inlinevirtual

we don't care about preserving temporary shadows.

Implements DrawModule.

Definition at line 66 of file W3DDefaultDraw.h.

◆ doDrawModule()

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

the draw method

Implements DrawModule.

Definition at line 141 of file W3DDefaultDraw.cpp.

◆ reactToGeometryChange()

virtual void W3DDefaultDraw::reactToGeometryChange ( )
inlinevirtual

Implements DrawModule.

Definition at line 69 of file W3DDefaultDraw.h.

◆ reactToTransformChange()

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

Implements DrawModule.

Definition at line 93 of file W3DDefaultDraw.cpp.

◆ releaseShadows()

virtual void W3DDefaultDraw::releaseShadows ( void )
inlinevirtual

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

Implements DrawModule.

Definition at line 65 of file W3DDefaultDraw.h.

◆ setFullyObscuredByShroud()

void W3DDefaultDraw::setFullyObscuredByShroud ( Bool fullyObscured)
virtual

we don't care about preserving temporary shadows.

Implements DrawModule.

Definition at line 132 of file W3DDefaultDraw.cpp.

◆ setShadowsEnabled()

void W3DDefaultDraw::setShadowsEnabled ( Bool enable)
virtual

Implements DrawModule.

Definition at line 123 of file W3DDefaultDraw.cpp.


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