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

#include <HeightDieUpdate.h>

Inherits UpdateModuleData.

Public Member Functions

 HeightDieUpdateModuleData (void)
 
- Public Member Functions inherited from BehaviorModuleData
 BehaviorModuleData ()
 
- Public Member Functions inherited from ModuleData
 ModuleData ()
 
virtual ~ModuleData ()
 
void setModuleTagNameKey (NameKeyType key)
 
NameKeyType getModuleTagNameKey () const
 
virtual Bool isAiModuleData () const
 
virtual const W3DModelDrawModuleData * getAsW3DModelDrawModuleData () const
 
virtual const W3DTreeDrawModuleData * getAsW3DTreeDrawModuleData () const
 
virtual StaticGameLODLevel getMinimumRequiredGameLOD () const
 
virtual void crc (Xfer *xfer)
 run the "light" crc check on this data structure
 
virtual void xfer (Xfer *xfer)
 
virtual void loadPostProcess (void)
 
- Public Member Functions inherited from Snapshot
 Snapshot (void)
 
 ~Snapshot (void)
 

Static Public Member Functions

static void buildFieldParse (MultiIniFieldParse &p)
 
- Static Public Member Functions inherited from UpdateModuleData
static void buildFieldParse (MultiIniFieldParse &p)
 
- Static Public Member Functions inherited from BehaviorModuleData
static void buildFieldParse (MultiIniFieldParse &p)
 
- Static Public Member Functions inherited from ModuleData
static void buildFieldParse (MultiIniFieldParse &p)
 

Public Attributes

Real m_targetHeightAboveTerrain
 die at this height above terrain
 
Bool m_targetHeightIncludesStructures
 target height considers terrain AND structure height underneath us
 
Bool m_onlyWhenMovingDown
 don't detonate unless moving in downward z dir
 
Real m_destroyAttachedParticlesAtHeight
 HACK, destroy any attached particle system of object when below this height.
 
Bool m_snapToGroundOnDeath
 snap to the ground when killed
 
UnsignedInt m_initialDelay
 Don't explode before this time.
 

Detailed Description

Definition at line 40 of file HeightDieUpdate.h.

Constructor & Destructor Documentation

◆ HeightDieUpdateModuleData()

HeightDieUpdateModuleData::HeightDieUpdateModuleData ( void )

Definition at line 53 of file HeightDieUpdate.cpp.

Member Function Documentation

◆ buildFieldParse()

void HeightDieUpdateModuleData::buildFieldParse ( MultiIniFieldParse & p)
static

Definition at line 67 of file HeightDieUpdate.cpp.

Member Data Documentation

◆ m_destroyAttachedParticlesAtHeight

Real HeightDieUpdateModuleData::m_destroyAttachedParticlesAtHeight

HACK, destroy any attached particle system of object when below this height.

Definition at line 52 of file HeightDieUpdate.h.

◆ m_initialDelay

UnsignedInt HeightDieUpdateModuleData::m_initialDelay

Don't explode before this time.

Definition at line 54 of file HeightDieUpdate.h.

◆ m_onlyWhenMovingDown

Bool HeightDieUpdateModuleData::m_onlyWhenMovingDown

don't detonate unless moving in downward z dir

Definition at line 51 of file HeightDieUpdate.h.

◆ m_snapToGroundOnDeath

Bool HeightDieUpdateModuleData::m_snapToGroundOnDeath

snap to the ground when killed

Definition at line 53 of file HeightDieUpdate.h.

◆ m_targetHeightAboveTerrain

Real HeightDieUpdateModuleData::m_targetHeightAboveTerrain

die at this height above terrain

Definition at line 49 of file HeightDieUpdate.h.

◆ m_targetHeightIncludesStructures

Bool HeightDieUpdateModuleData::m_targetHeightIncludesStructures

target height considers terrain AND structure height underneath us

Definition at line 50 of file HeightDieUpdate.h.


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