Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
Los.h File Reference
#include "Grid.h"
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 : u8 { UNEXPLORED = 0 , EXPLORED = 1 , VISIBLE = 2 , MASK = 3 }
 

Variables

static constexpr i32 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 : u8
strong
Enumerator
UNEXPLORED 
EXPLORED 
VISIBLE 
MASK 

Variable Documentation

◆ LOS_TILE_SIZE

constexpr i32 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).