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

#include <TerrainLogic.h>

Public Member Functions

 BridgeInfo ()
 

Public Attributes

Coord3D from
 
Coord3D to
 
Real bridgeWidth
 The points that the bridge was drawn using.
 
Coord3D fromLeft
 Width of the bridge.
 
Coord3D fromRight
 
Coord3D toLeft
 
Coord3D toRight
 
Int bridgeIndex
 The 4 corners of the rectangle that the bridge covers.
 
BodyDamageType curDamageState
 
ObjectID bridgeObjectID
 
ObjectID towerObjectID [BRIDGE_MAX_TOWERS]
 
Bool damageStateChanged
 

Detailed Description

Helper class for bridge info in terrain logic.

Definition at line 133 of file TerrainLogic.h.

Constructor & Destructor Documentation

◆ BridgeInfo()

BridgeInfo::BridgeInfo ( )

Definition at line 107 of file TerrainLogic.cpp.

Member Data Documentation

◆ bridgeIndex

Int BridgeInfo::bridgeIndex

The 4 corners of the rectangle that the bridge covers.

The index to the drawable bridges.

Definition at line 142 of file TerrainLogic.h.

◆ bridgeObjectID

ObjectID BridgeInfo::bridgeObjectID

Definition at line 144 of file TerrainLogic.h.

◆ bridgeWidth

Real BridgeInfo::bridgeWidth

The points that the bridge was drawn using.

Definition at line 140 of file TerrainLogic.h.

◆ curDamageState

BodyDamageType BridgeInfo::curDamageState

Definition at line 143 of file TerrainLogic.h.

◆ damageStateChanged

Bool BridgeInfo::damageStateChanged

Definition at line 146 of file TerrainLogic.h.

◆ from

Coord3D BridgeInfo::from

Definition at line 139 of file TerrainLogic.h.

◆ fromLeft

Coord3D BridgeInfo::fromLeft

Width of the bridge.

Definition at line 141 of file TerrainLogic.h.

◆ fromRight

Coord3D BridgeInfo::fromRight

Definition at line 141 of file TerrainLogic.h.

◆ to

Coord3D BridgeInfo::to

Definition at line 139 of file TerrainLogic.h.

◆ toLeft

Coord3D BridgeInfo::toLeft

Definition at line 141 of file TerrainLogic.h.

◆ toRight

Coord3D BridgeInfo::toRight

Definition at line 141 of file TerrainLogic.h.

◆ towerObjectID

ObjectID BridgeInfo::towerObjectID[BRIDGE_MAX_TOWERS]

Definition at line 145 of file TerrainLogic.h.


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