Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Los.h File Reference
Include dependency graph for Los.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  CLosQuerier
 Object providing efficient abstracted access to the LOS state. More...
 

Enumerations

enum class  LosState : std::uint8_t { UNEXPLORED = 0 , EXPLORED = 1 , VISIBLE = 2 , MASK = 3 }
 

Variables

static constexpr std::int32_t LOS_TILE_SIZE = 4
 Computing LOS data at a very high resolution is not necessary and quite slow. More...
 

Enumeration Type Documentation

◆ LosState

enum class LosState : std::uint8_t
strong
Enumerator
UNEXPLORED 
EXPLORED 
VISIBLE 
MASK 

Variable Documentation

◆ LOS_TILE_SIZE

constexpr std::int32_t LOS_TILE_SIZE = 4
staticconstexpr

Computing LOS data at a very high resolution is not necessary and quite slow.

This is the size, in meters, separating each LOS vertex. (Note that this also means it is the minimal meaningful resolution of any vision range change).