Pyrogenesis HEAD
Pyrogenesis, a RTS Engine
|
Object providing efficient abstracted access to the LOS state. More...
#include <Los.h>
Public Member Functions | |
bool | IsVisible (ssize_t i, ssize_t j) const |
Returns whether the given vertex is visible (i.e. More... | |
bool | IsExplored (ssize_t i, ssize_t j) const |
Returns whether the given vertex is explored (i.e. More... | |
bool | IsVisible_UncheckedRange (ssize_t i, ssize_t j) const |
Returns whether the given vertex is visible (i.e. More... | |
bool | IsExplored_UncheckedRange (ssize_t i, ssize_t j) const |
Returns whether the given vertex is explored (i.e. More... | |
Private Member Functions | |
CLosQuerier (u32 playerMask, const Grid< u32 > &data, ssize_t verticesPerSide) | |
const CLosQuerier & | operator= (const CLosQuerier &) |
Private Attributes | |
u32 | m_PlayerMask |
const Grid< u32 > & | m_Data |
ssize_t | m_VerticesPerSide |
Friends | |
class | CCmpRangeManager |
class | TestLOSTexture |
Object providing efficient abstracted access to the LOS state.
This depends on some implementation details of CCmpRangeManager.
This ignores the GetLosRevealAll flag - callers should check that explicitly.
|
inlineprivate |
Returns whether the given vertex is explored (i.e.
was (or still is) within a unit's LOS).
Returns whether the given vertex is explored (i.e.
was (or still is) within a unit's LOS). i and j must be in the range [0, verticesPerSide), else behaviour is undefined.
Returns whether the given vertex is visible (i.e.
is within a unit's LOS).
Returns whether the given vertex is visible (i.e.
is within a unit's LOS). i and j must be in the range [0, verticesPerSide), else behaviour is undefined.
|
private |
|
friend |
|
friend |
|
private |
|
private |