Richard Boegli's CnC_Generals_Zero_Hour Fork WIP
This is documentation of Richard Boegil's Zero Hour Fork
 
Loading...
Searching...
No Matches
TerrainLogic::DynamicWaterEntry Struct Reference

#include <TerrainLogic.h>

Public Attributes

const WaterHandlewaterTable
 handle to water table to edit
 
Real changePerFrame
 how much height to add to the water each frame (negative=lowering)
 
Real targetHeight
 the target height we want to be at
 
Real damageAmount
 amount of damage to do to objects that are underwater
 
Real currentHeight
 we need to keep track of this ourselves cause some water height are represented with ints
 

Detailed Description

Definition at line 366 of file TerrainLogic.h.

Member Data Documentation

◆ changePerFrame

Real TerrainLogic::DynamicWaterEntry::changePerFrame

how much height to add to the water each frame (negative=lowering)

Definition at line 369 of file TerrainLogic.h.

◆ currentHeight

Real TerrainLogic::DynamicWaterEntry::currentHeight

we need to keep track of this ourselves cause some water height are represented with ints

Definition at line 372 of file TerrainLogic.h.

◆ damageAmount

Real TerrainLogic::DynamicWaterEntry::damageAmount

amount of damage to do to objects that are underwater

Definition at line 371 of file TerrainLogic.h.

◆ targetHeight

Real TerrainLogic::DynamicWaterEntry::targetHeight

the target height we want to be at

Definition at line 370 of file TerrainLogic.h.

◆ waterTable

const WaterHandle* TerrainLogic::DynamicWaterEntry::waterTable

handle to water table to edit

Definition at line 368 of file TerrainLogic.h.


The documentation for this struct was generated from the following file: