Rise
The Vieneo Province
weather Class Reference

#include <weather.h>

Collaboration diagram for weather:
[legend]

Public Member Functions

 weather (Viewscreen *ptr)
 
void FrameMove (float fElapsedTime)
 
void SetWindDirectionRadians (float prmWinddir)
 
void SetTurbulenceScalar (float prmTurbulence)
 
void SetTemperatureCelsius (float prmTemperature)
 
void SetWindspeedKms (float prmWindspeed)
 
void SetTurbidity (float prmTurbidity)
 
void SetCloudSurfaceTargetKm (float prmCloudSurfaceTargetKm)
 
void SetCloudCeilingTargetKm (float prmCloudCeilingTargetKm)
 
void InitializeSmoothValues ()
 
float GetWindspeedKms () const
 
float GetTurbidity () const
 
float GetWindDirectionRadians () const
 
float GetTurbulence () const
 
float GetTemperatureCelsius () const
 
float GetCloudCeilingMslKm () const
 

Public Attributes

D3DXCOLOR dwFogColorZenith = 0UL
 
D3DXCOLOR dwFogFactorZenith = 0UL
 
D3DXCOLOR dwFogColorHorizon = 0UL
 
float cloudHorizonDistance = 0.0f
 
float cloudHorizonAngle = 0.0f
 
float elevation = 0.0f
 
D3DXCOLOR colorhorizon = 0UL
 
D3DXCOLOR betascreen = 0UL
 
float cloudVisSmooth = 1.0f
 
float cloudVisTarget = 1.0f
 
float shearRate = 0.0f
 
float fFogEndHorizon = 0.0f
 
float shadow = 0.0f
 
float cloudThickness = 0.0f
 
float daylightOverride = -1.0f
 
float alphascreenOverride = -1.0f
 
float gammascreenOverride = -1.0f
 
bool elmoOverride = false
 

Private Attributes

Viewscreenviewscreen = nullptr
 
Loggerlogger = nullptr
 
char msg [199] = { 0 }
 
short r = 0
 
short s = 0
 
short t = 0
 
bool hullionization = false
 
float turbulence = 0.0f
 
float windspeed = 0.0f
 
float turbidity = 2.0f
 
float smoothTurbidity = -1.0f
 
float winddir = 0.0f
 
float smoothwinddir = -1.0f
 
float temperature = 20.0f
 
float smoothTemperature = -1.0f
 
float cloudCeilingTargetKm = 1.8f
 
float cloudSurfaceTargetKm = 0.0f
 
float cloudCeilingSmoothAglKm = -1.0f
 
float cloudSurfaceSmoothKm = -1.0f
 

Detailed Description

Definition at line 18 of file weather.h.

Constructor & Destructor Documentation

◆ weather()

weather::weather ( Viewscreen ptr)

Definition at line 5 of file weather.cpp.

Member Function Documentation

◆ FrameMove()

void weather::FrameMove ( float  fElapsedTime)

https://mycurvefit.com/share/ef14b447-2d19-4766-9cc0-ddc644c41751

Definition at line 11 of file weather.cpp.

Here is the caller graph for this function:

◆ GetCloudCeilingMslKm()

float weather::GetCloudCeilingMslKm ( ) const
Todo:
override with GUI values

Definition at line 945 of file weather.cpp.

Here is the caller graph for this function:

◆ GetTemperatureCelsius()

float weather::GetTemperatureCelsius ( ) const
Todo:
override with GUI values

Definition at line 937 of file weather.cpp.

Here is the caller graph for this function:

◆ GetTurbidity()

float weather::GetTurbidity ( ) const
Todo:
override with GUI values

Definition at line 913 of file weather.cpp.

Here is the caller graph for this function:

◆ GetTurbulence()

float weather::GetTurbulence ( ) const
Todo:
override with GUI values

Definition at line 929 of file weather.cpp.

Here is the caller graph for this function:

◆ GetWindDirectionRadians()

float weather::GetWindDirectionRadians ( ) const
Todo:
override with GUI values

Definition at line 921 of file weather.cpp.

Here is the caller graph for this function:

◆ GetWindspeedKms()

float weather::GetWindspeedKms ( ) const
Todo:
override with GUI values

Definition at line 905 of file weather.cpp.

Here is the caller graph for this function:

◆ InitializeSmoothValues()

void weather::InitializeSmoothValues ( )

Definition at line 897 of file weather.cpp.

Here is the caller graph for this function:

◆ SetCloudCeilingTargetKm()

void weather::SetCloudCeilingTargetKm ( float  prmCloudCeilingTargetKm)

Definition at line 887 of file weather.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetCloudSurfaceTargetKm()

void weather::SetCloudSurfaceTargetKm ( float  prmCloudSurfaceTargetKm)

Definition at line 877 of file weather.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetTemperatureCelsius()

void weather::SetTemperatureCelsius ( float  prmTemperature)

Definition at line 851 of file weather.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetTurbidity()

void weather::SetTurbidity ( float  prmTurbidity)

Definition at line 867 of file weather.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetTurbulenceScalar()

void weather::SetTurbulenceScalar ( float  prmTurbulence)
Todo:
we don't smooth?

Definition at line 845 of file weather.cpp.

Here is the caller graph for this function:

◆ SetWindDirectionRadians()

void weather::SetWindDirectionRadians ( float  prmWinddir)

Definition at line 835 of file weather.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetWindspeedKms()

void weather::SetWindspeedKms ( float  prmWindspeed)
Todo:
we don't smooth?

Definition at line 861 of file weather.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ alphascreenOverride

float weather::alphascreenOverride = -1.0f

Definition at line 84 of file weather.h.

◆ betascreen

D3DXCOLOR weather::betascreen = 0UL

Definition at line 69 of file weather.h.

◆ cloudCeilingSmoothAglKm

float weather::cloudCeilingSmoothAglKm = -1.0f
private

Definition at line 40 of file weather.h.

◆ cloudCeilingTargetKm

float weather::cloudCeilingTargetKm = 1.8f
private

Definition at line 38 of file weather.h.

◆ cloudHorizonAngle

float weather::cloudHorizonAngle = 0.0f

Definition at line 66 of file weather.h.

◆ cloudHorizonDistance

float weather::cloudHorizonDistance = 0.0f

Definition at line 66 of file weather.h.

◆ cloudSurfaceSmoothKm

float weather::cloudSurfaceSmoothKm = -1.0f
private

Definition at line 41 of file weather.h.

◆ cloudSurfaceTargetKm

float weather::cloudSurfaceTargetKm = 0.0f
private

Definition at line 39 of file weather.h.

◆ cloudThickness

float weather::cloudThickness = 0.0f

Definition at line 81 of file weather.h.

◆ cloudVisSmooth

float weather::cloudVisSmooth = 1.0f

Definition at line 70 of file weather.h.

◆ cloudVisTarget

float weather::cloudVisTarget = 1.0f

Definition at line 70 of file weather.h.

◆ colorhorizon

D3DXCOLOR weather::colorhorizon = 0UL

Definition at line 68 of file weather.h.

◆ daylightOverride

float weather::daylightOverride = -1.0f

Definition at line 83 of file weather.h.

◆ dwFogColorHorizon

D3DXCOLOR weather::dwFogColorHorizon = 0UL

Definition at line 65 of file weather.h.

◆ dwFogColorZenith

D3DXCOLOR weather::dwFogColorZenith = 0UL

Definition at line 63 of file weather.h.

◆ dwFogFactorZenith

D3DXCOLOR weather::dwFogFactorZenith = 0UL

Definition at line 64 of file weather.h.

◆ elevation

float weather::elevation = 0.0f

Definition at line 67 of file weather.h.

◆ elmoOverride

bool weather::elmoOverride = false

Definition at line 86 of file weather.h.

◆ fFogEndHorizon

float weather::fFogEndHorizon = 0.0f

Definition at line 74 of file weather.h.

◆ gammascreenOverride

float weather::gammascreenOverride = -1.0f

Definition at line 85 of file weather.h.

◆ hullionization

bool weather::hullionization = false
private

Definition at line 26 of file weather.h.

◆ logger

Logger* weather::logger = nullptr
private

Definition at line 21 of file weather.h.

◆ msg

char weather::msg[199] = { 0 }
private

Definition at line 23 of file weather.h.

◆ r

short weather::r = 0
private

Definition at line 24 of file weather.h.

◆ s

short weather::s = 0
private

Definition at line 24 of file weather.h.

◆ shadow

float weather::shadow = 0.0f

Definition at line 80 of file weather.h.

◆ shearRate

float weather::shearRate = 0.0f

Definition at line 71 of file weather.h.

◆ smoothTemperature

float weather::smoothTemperature = -1.0f
private

Definition at line 36 of file weather.h.

◆ smoothTurbidity

float weather::smoothTurbidity = -1.0f
private

Definition at line 32 of file weather.h.

◆ smoothwinddir

float weather::smoothwinddir = -1.0f
private

Definition at line 34 of file weather.h.

◆ t

short weather::t = 0
private

Definition at line 24 of file weather.h.

◆ temperature

float weather::temperature = 20.0f
private

Definition at line 35 of file weather.h.

◆ turbidity

float weather::turbidity = 2.0f
private

Definition at line 31 of file weather.h.

◆ turbulence

float weather::turbulence = 0.0f
private

Definition at line 28 of file weather.h.

◆ viewscreen

Viewscreen* weather::viewscreen = nullptr
private

Definition at line 20 of file weather.h.

◆ winddir

float weather::winddir = 0.0f
private

Definition at line 33 of file weather.h.

◆ windspeed

float weather::windspeed = 0.0f
private

Definition at line 29 of file weather.h.


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