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

#include <DozerAIUpdate.h>

Inherits AIUpdateModuleData.

Public Member Functions

 DozerAIUpdateModuleData (void)
 
- Public Member Functions inherited from AIUpdateModuleData
 AIUpdateModuleData ()
 
virtual ~AIUpdateModuleData ()
 
virtual Bool isAiModuleData () const
 
const LocomotorTemplateVectorfindLocomotorTemplateVector (LocomotorSetType t) const
 
- Public Member Functions inherited from BehaviorModuleData
 BehaviorModuleData ()
 
- Public Member Functions inherited from ModuleData
 ModuleData ()
 
virtual ~ModuleData ()
 
void setModuleTagNameKey (NameKeyType key)
 
NameKeyType getModuleTagNameKey () const
 
virtual const W3DModelDrawModuleDatagetAsW3DModelDrawModuleData () const
 
virtual const W3DTreeDrawModuleDatagetAsW3DTreeDrawModuleData () 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 AIUpdateModuleData
static void buildFieldParse (MultiIniFieldParse &p)
 
static void parseLocomotorSet (INI *ini, void *instance, void *store, const void *)
 
- 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_repairHealthPercentPerSecond
 how many health points per second the dozer repairs at
 
Real m_boredTime
 after this many frames, a dozer will try to find something to do on its own
 
Real m_boredRange
 range the dozers try to auto repair when they're bored
 
- Public Attributes inherited from AIUpdateModuleData
LocomotorTemplateMap m_locomotorTemplates
 locomotors for object
 
const TurretAIDatam_turretData [MAX_TURRETS]
 
UnsignedInt m_moodAttackCheckRate
 how frequently we should recheck for enemies due to moods, when idle
 
Bool m_forbidPlayerCommands
 Should isAllowedToRespondToAiCommands() filter out commands from the player, thus making it ai-controllable only?
 
Bool m_turretsLinked
 Turrets are linked together and attack together.
 
UnsignedInt m_autoAcquireEnemiesWhenIdle
 

Detailed Description

NOTE: If you edit module data you must do it in both the Dozer AND the Worker

Definition at line 170 of file DozerAIUpdate.h.

Constructor & Destructor Documentation

◆ DozerAIUpdateModuleData()

DozerAIUpdateModuleData::DozerAIUpdateModuleData ( void )

Definition at line 1417 of file DozerAIUpdate.cpp.

Member Function Documentation

◆ buildFieldParse()

void DozerAIUpdateModuleData::buildFieldParse ( MultiIniFieldParse & p)
static

Definition at line 1427 of file DozerAIUpdate.cpp.

Member Data Documentation

◆ m_boredRange

Real DozerAIUpdateModuleData::m_boredRange

range the dozers try to auto repair when they're bored

Definition at line 183 of file DozerAIUpdate.h.

◆ m_boredTime

Real DozerAIUpdateModuleData::m_boredTime

after this many frames, a dozer will try to find something to do on its own

Definition at line 182 of file DozerAIUpdate.h.

◆ m_repairHealthPercentPerSecond

Real DozerAIUpdateModuleData::m_repairHealthPercentPerSecond

how many health points per second the dozer repairs at

Definition at line 181 of file DozerAIUpdate.h.


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