![]() |
Rise
The Vieneo Province
|
#include <grid.h>
Classes | |
| struct | SurfacePoint |
Public Member Functions | |
| bool | TryElevation (char face, short u, short v, short &meters) const |
| bool | InterpolateElevation (char face, double u, double v, float &meters) const |
| bool | InterpolateRadarSurface (char face, double u, double v, float &meters, float &waterFraction) const |
| VECTOR2SHORT | ElevationCenter () const |
| char | ElevationFace () const |
| uint64_t | ElevationRevision () const |
| void | ElevationChanged () const |
| grid (Viewscreen *ptrGame) | |
| void | CalculateCubeAndTcp () |
| float | AirglowGaussian () |
| void | Process () |
| void | ReceiveWholeGrid (const SRenderGrid &datapacket) |
| void | RequestWholeGrid () |
| void | PrepareForReposition () |
| void | ClearGrid () |
| void | ClearGrid (short, short) const |
| void | CalculateInsideArray (short t, short s) const |
| void | RemoveBuildZone (short ordinal) const |
Public Attributes | |
| bool | dataReady = false |
| bool | geometryReady = false |
| bool | patchGeometry = false |
| char | dataPending = 0 |
| bool | wholeGridPending = false |
| bool | resetWeatherOnNextGrid = false |
| bool | makeBuildings = true |
| bool | makeClouds = true |
| VECTOR2SHORT | tcp = VECTOR2SHORT() |
| char | cube = -1 |
Private Member Functions | |
| bool | TryRadarSurface (char face, short u, short v, short &meters, bool &water) const |
| void | Trace (const char *msg, Logger::Level severity=Logger::Level::Info) const |
Private Attributes | |
| Viewscreen * | viewscreen = nullptr |
| char | oldcube = -1 |
| VECTOR2SHORT | oldtcp = VECTOR2SHORT() |
| bool | g_bAboveCloudsOld = false |
| char | requestedCube = -1 |
| VECTOR2SHORT | requestedTcp = VECTOR2SHORT() |
| bool | wholeGridReceived = false |
| uint64_t | elevationRevision = 1 |
| uint64_t | elevationIndexRevision = 0 |
| std::unordered_map< uint32_t, SurfacePoint > | elevationByPlot |
| grid::grid | ( | Viewscreen * | ptrGame | ) |
| float grid::AirglowGaussian | ( | ) |
| void grid::CalculateCubeAndTcp | ( | ) |
| void grid::CalculateInsideArray | ( | short | t, |
| short | s ) const |
| void grid::ClearGrid | ( | ) |
https://jira.risetvp.com/view.php?id=980
Definition at line 78 of file grid.cpp.
| void grid::ClearGrid | ( | short | l, |
| short | m ) const |
|
inline |
|
inline |
|
inline |
| bool grid::InterpolateElevation | ( | char | face, |
| double | u, | ||
| double | v, | ||
| float & | meters ) const |
| bool grid::InterpolateRadarSurface | ( | char | face, |
| double | u, | ||
| double | v, | ||
| float & | meters, | ||
| float & | waterFraction ) const |
| void grid::PrepareForReposition | ( | ) |
| void grid::Process | ( | ) |
| void grid::ReceiveWholeGrid | ( | const SRenderGrid & | datapacket | ) |
| void grid::RemoveBuildZone | ( | short | ordinal | ) | const |
| void grid::RequestWholeGrid | ( | ) |
|
private |
| bool grid::TryElevation | ( | char | face, |
| short | u, | ||
| short | v, | ||
| short & | meters ) const |
|
private |
|
mutableprivate |
|
private |
|
private |
| VECTOR2SHORT grid::tcp = VECTOR2SHORT() |
|
private |