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

#include <ScriptEngine.h>

Public Attributes

Real m_direction
 Direction of the breeze in radians. 0 == +x direction.
 
Coord2D m_directionVec
 sin/cos of direction, for efficiency.
 
Real m_intensity
 How far to sway back & forth in radians. 0 = none.
 
Real m_lean
 How far to lean with the wind in radians. 0 = none.
 
Real m_randomness
 Randomness 0=perfectly uniform, 1 = +- up to 50% randomly.
 
Short m_breezePeriod
 How many frames it takes to sway forward & back.
 
Short m_breezeVersion
 Incremented each time the settings are updated.
 

Detailed Description

Definition at line 59 of file ScriptEngine.h.

Member Data Documentation

◆ m_breezePeriod

Short BreezeInfo::m_breezePeriod

How many frames it takes to sway forward & back.

Definition at line 66 of file ScriptEngine.h.

◆ m_breezeVersion

Short BreezeInfo::m_breezeVersion

Incremented each time the settings are updated.

Definition at line 67 of file ScriptEngine.h.

◆ m_direction

Real BreezeInfo::m_direction

Direction of the breeze in radians. 0 == +x direction.

Definition at line 61 of file ScriptEngine.h.

◆ m_directionVec

Coord2D BreezeInfo::m_directionVec

sin/cos of direction, for efficiency.

Definition at line 62 of file ScriptEngine.h.

◆ m_intensity

Real BreezeInfo::m_intensity

How far to sway back & forth in radians. 0 = none.

Definition at line 63 of file ScriptEngine.h.

◆ m_lean

Real BreezeInfo::m_lean

How far to lean with the wind in radians. 0 = none.

Definition at line 64 of file ScriptEngine.h.

◆ m_randomness

Real BreezeInfo::m_randomness

Randomness 0=perfectly uniform, 1 = +- up to 50% randomly.

Definition at line 65 of file ScriptEngine.h.


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