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

#include <ParticleUplinkCannonUpdate.h>

Inherits SpecialPowerUpdateModule.

Public Member Functions

 ParticleUplinkCannonUpdate (Thing *thing, const ModuleData *moduleData)
 
virtual Bool initiateIntentToDoSpecialPower (const SpecialPowerTemplate *specialPowerTemplate, const Object *targetObj, const Coord3D *targetPos, const Waypoint *way, UnsignedInt commandOptions)
 
virtual Bool isSpecialAbility () const
 
virtual Bool isSpecialPower () const
 
virtual Bool isActive () const
 
virtual SpecialPowerUpdateInterfacegetSpecialPowerUpdateInterface ()
 
virtual CommandOption getCommandOption () const
 
virtual Bool isPowerCurrentlyInUse (const CommandButton *command=NULL) const
 
virtual ScienceType getExtraRequiredScience () const
 
virtual void onObjectCreated ()
 
virtual UpdateSleepTime update ()
 
void removeAllEffects ()
 
void createOuterNodeParticleSystems (IntensityTypes intensity)
 
void createConnectorLasers (IntensityTypes intensity)
 
void createConnectorFlare (IntensityTypes intensity)
 
void createLaserBaseFlare (IntensityTypes intensity)
 
void createGroundToOrbitLaser (UnsignedInt growthFrames)
 
void createOrbitToTargetLaser (UnsignedInt growthFrames)
 
void createGroundHitParticleSystem (IntensityTypes intensity)
 
Bool calculateDefaultInformation ()
 
Bool calculateUpBonePositions ()
 
virtual Bool doesSpecialPowerHaveOverridableDestinationActive () const
 
virtual Bool doesSpecialPowerHaveOverridableDestination () const
 
virtual void setSpecialPowerOverridableDestination (const Coord3D *loc)
 
virtual DisabledMaskType getDisabledTypesToProcess () const
 
- Public Member Functions inherited from SpecialPowerUpdateModule
 SpecialPowerUpdateModule (Thing *thing, const ModuleData *moduleData)
 
virtual Bool doesSpecialPowerUpdatePassScienceTest () const
 
- Public Member Functions inherited from UpdateModule
 UpdateModule (Thing *thing, const ModuleData *moduleData)
 
virtual UpdateModuleInterfacegetUpdate ()
 
DisabledMaskType getDisabledTypesToProcess () const
 
UPDATEMODULE_FRIEND_DECLARATOR UnsignedInt friend_getPriority () const
 
UPDATEMODULE_FRIEND_DECLARATOR UnsignedInt friend_getNextCallFrame () const
 
UPDATEMODULE_FRIEND_DECLARATOR SleepyUpdatePhase friend_getNextCallPhase () const
 
UPDATEMODULE_FRIEND_DECLARATOR void friend_setNextCallFrame (UnsignedInt frame)
 
UPDATEMODULE_FRIEND_DECLARATOR Int friend_getIndexInLogic () const
 
UPDATEMODULE_FRIEND_DECLARATOR void friend_setIndexInLogic (Int i)
 
UPDATEMODULE_FRIEND_DECLARATOR const Objectfriend_getObject () const
 
- Public Member Functions inherited from BehaviorModule
 BehaviorModule (Thing *thing, const ModuleData *moduleData)
 
virtual BodyModuleInterfacegetBody ()
 
virtual CollideModuleInterfacegetCollide ()
 
virtual ContainModuleInterfacegetContain ()
 
virtual CreateModuleInterfacegetCreate ()
 
virtual DamageModuleInterfacegetDamage ()
 
virtual DestroyModuleInterfacegetDestroy ()
 
virtual DieModuleInterfacegetDie ()
 
virtual SpecialPowerModuleInterfacegetSpecialPower ()
 
virtual UpgradeModuleInterfacegetUpgrade ()
 
virtual StealthUpdategetStealth ()
 
virtual SpyVisionUpdategetSpyVisionUpdate ()
 
virtual ParkingPlaceBehaviorInterfacegetParkingPlaceBehaviorInterface ()
 
virtual RebuildHoleBehaviorInterfacegetRebuildHoleBehaviorInterface ()
 
virtual BridgeBehaviorInterfacegetBridgeBehaviorInterface ()
 
virtual BridgeTowerBehaviorInterfacegetBridgeTowerBehaviorInterface ()
 
virtual BridgeScaffoldBehaviorInterfacegetBridgeScaffoldBehaviorInterface ()
 
virtual OverchargeBehaviorInterfacegetOverchargeBehaviorInterface ()
 
virtual TransportPassengerInterfacegetTransportPassengerInterface ()
 
virtual CaveInterfacegetCaveInterface ()
 
virtual LandMineInterfacegetLandMineInterface ()
 
virtual DieModuleInterfacegetEjectPilotDieInterface ()
 
virtual ProjectileUpdateInterfacegetProjectileUpdateInterface ()
 
virtual AIUpdateInterfacegetAIUpdateInterface ()
 
virtual ExitInterfacegetUpdateExitInterface ()
 
virtual DockUpdateInterfacegetDockUpdateInterface ()
 
virtual RailedTransportDockUpdateInterfacegetRailedTransportDockUpdateInterface (void)
 
virtual SlowDeathBehaviorInterfacegetSlowDeathBehaviorInterface ()
 
virtual SlavedUpdateInterfacegetSlavedUpdateInterface ()
 
virtual ProductionUpdateInterfacegetProductionUpdateInterface ()
 
virtual HordeUpdateInterfacegetHordeUpdateInterface ()
 
virtual PowerPlantUpdateInterfacegetPowerPlantUpdateInterface ()
 
virtual SpawnBehaviorInterfacegetSpawnBehaviorInterface ()
 
virtual CountermeasuresBehaviorInterfacegetCountermeasuresBehaviorInterface ()
 
virtual const CountermeasuresBehaviorInterfacegetCountermeasuresBehaviorInterface () const
 
- Public Member Functions inherited from ObjectModule
 ObjectModule (Thing *thing, const ModuleData *moduleData)
 < this abstract class needs memory pool hooks
 
virtual void onCapture (Player *oldOwner, Player *newOwner)
 
virtual void onDisabledEdge (Bool nowDisabled)
 
- 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 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 Member Functions

void setLogicalStatus (PUCStatus status)
 
void setClientStatus (PUCStatus status, Bool revealThisFrame)
 
void killEverything ()
 
- Protected Member Functions inherited from UpdateModule
void setWakeFrame (Object *obj, UpdateSleepTime wakeDelay)
 
UpdateSleepTime getWakeFrame () const
 
virtual SleepyUpdatePhase getUpdatePhase () const
 
UpdateSleepTime frameToSleepTime (UnsignedInt frame1, UnsignedInt frame2=FOREVER, UnsignedInt frame3=FOREVER, UnsignedInt frame4=FOREVER)
 
- Protected Member Functions inherited from BehaviorModule
virtual void crc (Xfer *xfer)
 
virtual void xfer (Xfer *xfer)
 
virtual void loadPostProcess (void)
 
- Protected Member Functions inherited from ObjectModule
ObjectgetObject ()
 
const ObjectgetObject () const
 
- 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
 

Protected Attributes

SpecialPowerModuleInterfacem_specialPowerModule
 
AudioEventRTS m_powerupSound
 
AudioEventRTS m_unpackToReadySound
 
AudioEventRTS m_firingToIdleSound
 
AudioEventRTS m_annihilationSound
 
Matrix3D m_outerNodeOrientations [MAX_OUTER_NODES]
 
Coord3D m_outerNodePositions [MAX_OUTER_NODES]
 
Coord3D m_connectorNodePosition
 
Coord3D m_laserOriginPosition
 
Coord3D m_initialTargetPosition
 
Coord3D m_currentTargetPosition
 
Coord3D m_overrideTargetDestination
 
PUCStatus m_status
 
LaserStatus m_laserStatus
 
UnsignedInt m_frames
 
ParticleSystemID m_outerSystemIDs [MAX_OUTER_NODES]
 
DrawableID m_laserBeamIDs [MAX_OUTER_NODES]
 
DrawableID m_groundToOrbitBeamID
 
DrawableID m_orbitToTargetBeamID
 
ParticleSystemID m_connectorSystemID
 
ParticleSystemID m_laserBaseSystemID
 
UnsignedInt m_scorchMarksMade
 
UnsignedInt m_nextScorchMarkFrame
 
UnsignedInt m_nextLaunchFXFrame
 
UnsignedInt m_damagePulsesMade
 
UnsignedInt m_nextDamagePulseFrame
 
UnsignedInt m_startAttackFrame
 
UnsignedInt m_startDecayFrame
 
UnsignedInt m_lastDrivingClickFrame
 
UnsignedInt m_2ndLastDrivingClickFrame
 
UnsignedInt m_nextDestWaypointID
 
Bool m_upBonesCached
 
Bool m_defaultInfoCached
 
Bool m_invalidSettings
 
Bool m_manualTargetMode
 
Bool m_scriptedWaypointMode
 
Bool m_clientShroudedLastFrame
 

Additional Inherited Members

- Static Public Member Functions inherited from UpdateModule
static Int getInterfaceMask ()
 
- Static Public Member Functions inherited from BehaviorModule
static Int getInterfaceMask ()
 
static ModuleType getModuleType ()
 
- Static Public Member Functions inherited from Module
static ModuleDatafriend_newModuleData (INI *ini)
 

Detailed Description

The default update module

Definition at line 148 of file ParticleUplinkCannonUpdate.h.

Constructor & Destructor Documentation

◆ ParticleUplinkCannonUpdate()

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

Definition at line 166 of file ParticleUplinkCannonUpdate.cpp.

Member Function Documentation

◆ calculateDefaultInformation()

Bool ParticleUplinkCannonUpdate::calculateDefaultInformation ( )

Definition at line 1059 of file ParticleUplinkCannonUpdate.cpp.

◆ calculateUpBonePositions()

Bool ParticleUplinkCannonUpdate::calculateUpBonePositions ( )

Definition at line 1091 of file ParticleUplinkCannonUpdate.cpp.

◆ createConnectorFlare()

void ParticleUplinkCannonUpdate::createConnectorFlare ( IntensityTypes intensity)

Definition at line 867 of file ParticleUplinkCannonUpdate.cpp.

◆ createConnectorLasers()

void ParticleUplinkCannonUpdate::createConnectorLasers ( IntensityTypes intensity)

Definition at line 817 of file ParticleUplinkCannonUpdate.cpp.

◆ createGroundHitParticleSystem()

void ParticleUplinkCannonUpdate::createGroundHitParticleSystem ( IntensityTypes intensity)

Definition at line 1015 of file ParticleUplinkCannonUpdate.cpp.

◆ createGroundToOrbitLaser()

void ParticleUplinkCannonUpdate::createGroundToOrbitLaser ( UnsignedInt growthFrames)

Definition at line 937 of file ParticleUplinkCannonUpdate.cpp.

◆ createLaserBaseFlare()

void ParticleUplinkCannonUpdate::createLaserBaseFlare ( IntensityTypes intensity)

Definition at line 902 of file ParticleUplinkCannonUpdate.cpp.

◆ createOrbitToTargetLaser()

void ParticleUplinkCannonUpdate::createOrbitToTargetLaser ( UnsignedInt growthFrames)

Definition at line 973 of file ParticleUplinkCannonUpdate.cpp.

◆ createOuterNodeParticleSystems()

void ParticleUplinkCannonUpdate::createOuterNodeParticleSystems ( IntensityTypes intensity)

Definition at line 777 of file ParticleUplinkCannonUpdate.cpp.

◆ doesSpecialPowerHaveOverridableDestination()

virtual Bool ParticleUplinkCannonUpdate::doesSpecialPowerHaveOverridableDestination ( ) const
inlinevirtual

Implements SpecialPowerUpdateModule.

Definition at line 186 of file ParticleUplinkCannonUpdate.h.

◆ doesSpecialPowerHaveOverridableDestinationActive()

Bool ParticleUplinkCannonUpdate::doesSpecialPowerHaveOverridableDestinationActive ( ) const
virtual

Implements SpecialPowerUpdateModule.

Definition at line 1328 of file ParticleUplinkCannonUpdate.cpp.

◆ getCommandOption()

virtual CommandOption ParticleUplinkCannonUpdate::getCommandOption ( ) const
inlinevirtual

Implements SpecialPowerUpdateModule.

Definition at line 165 of file ParticleUplinkCannonUpdate.h.

◆ getDisabledTypesToProcess()

virtual DisabledMaskType ParticleUplinkCannonUpdate::getDisabledTypesToProcess ( ) const
inlinevirtual

Implements UpdateModuleInterface.

Definition at line 190 of file ParticleUplinkCannonUpdate.h.

◆ getExtraRequiredScience()

virtual ScienceType ParticleUplinkCannonUpdate::getExtraRequiredScience ( ) const
inlinevirtual

Reimplemented from SpecialPowerUpdateModule.

Definition at line 167 of file ParticleUplinkCannonUpdate.h.

◆ getSpecialPowerUpdateInterface()

virtual SpecialPowerUpdateInterface * ParticleUplinkCannonUpdate::getSpecialPowerUpdateInterface ( )
inlinevirtual

Reimplemented from BehaviorModule.

Definition at line 164 of file ParticleUplinkCannonUpdate.h.

◆ initiateIntentToDoSpecialPower()

Bool ParticleUplinkCannonUpdate::initiateIntentToDoSpecialPower ( const SpecialPowerTemplate * specialPowerTemplate,
const Object * targetObj,
const Coord3D * targetPos,
const Waypoint * way,
UnsignedInt commandOptions )
virtual

Implements SpecialPowerUpdateModule.

Definition at line 272 of file ParticleUplinkCannonUpdate.cpp.

◆ isActive()

virtual Bool ParticleUplinkCannonUpdate::isActive ( ) const
inlinevirtual

Implements SpecialPowerUpdateModule.

Definition at line 163 of file ParticleUplinkCannonUpdate.h.

◆ isPowerCurrentlyInUse()

Bool ParticleUplinkCannonUpdate::isPowerCurrentlyInUse ( const CommandButton * command = NULL) const
virtual

Implements SpecialPowerUpdateModule.

Definition at line 359 of file ParticleUplinkCannonUpdate.cpp.

◆ isSpecialAbility()

virtual Bool ParticleUplinkCannonUpdate::isSpecialAbility ( ) const
inlinevirtual

Implements SpecialPowerUpdateModule.

Definition at line 161 of file ParticleUplinkCannonUpdate.h.

◆ isSpecialPower()

virtual Bool ParticleUplinkCannonUpdate::isSpecialPower ( ) const
inlinevirtual

Implements SpecialPowerUpdateModule.

Definition at line 162 of file ParticleUplinkCannonUpdate.h.

◆ killEverything()

void ParticleUplinkCannonUpdate::killEverything ( )
protected

Definition at line 211 of file ParticleUplinkCannonUpdate.cpp.

◆ onObjectCreated()

void ParticleUplinkCannonUpdate::onObjectCreated ( void )
virtual

this is called after all the Modules for a given Thing are created; it allows Modules to resolve any inter-Module dependencies.

Reimplemented from Module.

Definition at line 244 of file ParticleUplinkCannonUpdate.cpp.

◆ removeAllEffects()

void ParticleUplinkCannonUpdate::removeAllEffects ( )

Definition at line 1020 of file ParticleUplinkCannonUpdate.cpp.

◆ setClientStatus()

void ParticleUplinkCannonUpdate::setClientStatus ( PUCStatus status,
Bool revealThisFrame )
protected

Definition at line 1220 of file ParticleUplinkCannonUpdate.cpp.

◆ setLogicalStatus()

void ParticleUplinkCannonUpdate::setLogicalStatus ( PUCStatus status)
protected

Definition at line 1115 of file ParticleUplinkCannonUpdate.cpp.

◆ setSpecialPowerOverridableDestination()

void ParticleUplinkCannonUpdate::setSpecialPowerOverridableDestination ( const Coord3D * loc)
virtual

Implements SpecialPowerUpdateModule.

Definition at line 369 of file ParticleUplinkCannonUpdate.cpp.

◆ update()

UpdateSleepTime ParticleUplinkCannonUpdate::update ( void )
virtual

The update callback.

return UPDATE_SLEEP_FOREVER;

Implements UpdateModule.

Definition at line 384 of file ParticleUplinkCannonUpdate.cpp.

Member Data Documentation

◆ m_2ndLastDrivingClickFrame

UnsignedInt ParticleUplinkCannonUpdate::m_2ndLastDrivingClickFrame
protected

Definition at line 232 of file ParticleUplinkCannonUpdate.h.

◆ m_annihilationSound

AudioEventRTS ParticleUplinkCannonUpdate::m_annihilationSound
protected

Definition at line 203 of file ParticleUplinkCannonUpdate.h.

◆ m_clientShroudedLastFrame

Bool ParticleUplinkCannonUpdate::m_clientShroudedLastFrame
protected

Definition at line 240 of file ParticleUplinkCannonUpdate.h.

◆ m_connectorNodePosition

Coord3D ParticleUplinkCannonUpdate::m_connectorNodePosition
protected

Definition at line 208 of file ParticleUplinkCannonUpdate.h.

◆ m_connectorSystemID

ParticleSystemID ParticleUplinkCannonUpdate::m_connectorSystemID
protected

Definition at line 221 of file ParticleUplinkCannonUpdate.h.

◆ m_currentTargetPosition

Coord3D ParticleUplinkCannonUpdate::m_currentTargetPosition
protected

Definition at line 211 of file ParticleUplinkCannonUpdate.h.

◆ m_damagePulsesMade

UnsignedInt ParticleUplinkCannonUpdate::m_damagePulsesMade
protected

Definition at line 227 of file ParticleUplinkCannonUpdate.h.

◆ m_defaultInfoCached

Bool ParticleUplinkCannonUpdate::m_defaultInfoCached
protected

Definition at line 236 of file ParticleUplinkCannonUpdate.h.

◆ m_firingToIdleSound

AudioEventRTS ParticleUplinkCannonUpdate::m_firingToIdleSound
protected

Definition at line 202 of file ParticleUplinkCannonUpdate.h.

◆ m_frames

UnsignedInt ParticleUplinkCannonUpdate::m_frames
protected

Definition at line 216 of file ParticleUplinkCannonUpdate.h.

◆ m_groundToOrbitBeamID

DrawableID ParticleUplinkCannonUpdate::m_groundToOrbitBeamID
protected

Definition at line 219 of file ParticleUplinkCannonUpdate.h.

◆ m_initialTargetPosition

Coord3D ParticleUplinkCannonUpdate::m_initialTargetPosition
protected

Definition at line 210 of file ParticleUplinkCannonUpdate.h.

◆ m_invalidSettings

Bool ParticleUplinkCannonUpdate::m_invalidSettings
protected

Definition at line 237 of file ParticleUplinkCannonUpdate.h.

◆ m_laserBaseSystemID

ParticleSystemID ParticleUplinkCannonUpdate::m_laserBaseSystemID
protected

Definition at line 222 of file ParticleUplinkCannonUpdate.h.

◆ m_laserBeamIDs

DrawableID ParticleUplinkCannonUpdate::m_laserBeamIDs[MAX_OUTER_NODES]
protected

Definition at line 218 of file ParticleUplinkCannonUpdate.h.

◆ m_laserOriginPosition

Coord3D ParticleUplinkCannonUpdate::m_laserOriginPosition
protected

Definition at line 209 of file ParticleUplinkCannonUpdate.h.

◆ m_laserStatus

LaserStatus ParticleUplinkCannonUpdate::m_laserStatus
protected

Definition at line 215 of file ParticleUplinkCannonUpdate.h.

◆ m_lastDrivingClickFrame

UnsignedInt ParticleUplinkCannonUpdate::m_lastDrivingClickFrame
protected

Definition at line 231 of file ParticleUplinkCannonUpdate.h.

◆ m_manualTargetMode

Bool ParticleUplinkCannonUpdate::m_manualTargetMode
protected

Definition at line 238 of file ParticleUplinkCannonUpdate.h.

◆ m_nextDamagePulseFrame

UnsignedInt ParticleUplinkCannonUpdate::m_nextDamagePulseFrame
protected

Definition at line 228 of file ParticleUplinkCannonUpdate.h.

◆ m_nextDestWaypointID

UnsignedInt ParticleUplinkCannonUpdate::m_nextDestWaypointID
protected

Definition at line 233 of file ParticleUplinkCannonUpdate.h.

◆ m_nextLaunchFXFrame

UnsignedInt ParticleUplinkCannonUpdate::m_nextLaunchFXFrame
protected

Definition at line 226 of file ParticleUplinkCannonUpdate.h.

◆ m_nextScorchMarkFrame

UnsignedInt ParticleUplinkCannonUpdate::m_nextScorchMarkFrame
protected

Definition at line 225 of file ParticleUplinkCannonUpdate.h.

◆ m_orbitToTargetBeamID

DrawableID ParticleUplinkCannonUpdate::m_orbitToTargetBeamID
protected

Definition at line 220 of file ParticleUplinkCannonUpdate.h.

◆ m_outerNodeOrientations

Matrix3D ParticleUplinkCannonUpdate::m_outerNodeOrientations[MAX_OUTER_NODES]
protected

Definition at line 205 of file ParticleUplinkCannonUpdate.h.

◆ m_outerNodePositions

Coord3D ParticleUplinkCannonUpdate::m_outerNodePositions[MAX_OUTER_NODES]
protected

Definition at line 207 of file ParticleUplinkCannonUpdate.h.

◆ m_outerSystemIDs

ParticleSystemID ParticleUplinkCannonUpdate::m_outerSystemIDs[MAX_OUTER_NODES]
protected

Definition at line 217 of file ParticleUplinkCannonUpdate.h.

◆ m_overrideTargetDestination

Coord3D ParticleUplinkCannonUpdate::m_overrideTargetDestination
protected

Definition at line 212 of file ParticleUplinkCannonUpdate.h.

◆ m_powerupSound

AudioEventRTS ParticleUplinkCannonUpdate::m_powerupSound
protected

Definition at line 200 of file ParticleUplinkCannonUpdate.h.

◆ m_scorchMarksMade

UnsignedInt ParticleUplinkCannonUpdate::m_scorchMarksMade
protected

Definition at line 224 of file ParticleUplinkCannonUpdate.h.

◆ m_scriptedWaypointMode

Bool ParticleUplinkCannonUpdate::m_scriptedWaypointMode
protected

Definition at line 239 of file ParticleUplinkCannonUpdate.h.

◆ m_specialPowerModule

SpecialPowerModuleInterface* ParticleUplinkCannonUpdate::m_specialPowerModule
protected

Definition at line 198 of file ParticleUplinkCannonUpdate.h.

◆ m_startAttackFrame

UnsignedInt ParticleUplinkCannonUpdate::m_startAttackFrame
protected

Definition at line 229 of file ParticleUplinkCannonUpdate.h.

◆ m_startDecayFrame

UnsignedInt ParticleUplinkCannonUpdate::m_startDecayFrame
protected

Definition at line 230 of file ParticleUplinkCannonUpdate.h.

◆ m_status

PUCStatus ParticleUplinkCannonUpdate::m_status
protected

Definition at line 214 of file ParticleUplinkCannonUpdate.h.

◆ m_unpackToReadySound

AudioEventRTS ParticleUplinkCannonUpdate::m_unpackToReadySound
protected

Definition at line 201 of file ParticleUplinkCannonUpdate.h.

◆ m_upBonesCached

Bool ParticleUplinkCannonUpdate::m_upBonesCached
protected

Definition at line 235 of file ParticleUplinkCannonUpdate.h.


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