Pyrogenesis
13997
|
Object providing efficient abstracted access to the LOS state. More...
#include <ICmpRangeManager.h>
Public Member Functions | |
bool | IsVisible (ssize_t i, ssize_t j) |
Returns whether the given vertex is visible (i.e. More... | |
bool | IsExplored (ssize_t i, ssize_t j) |
Returns whether the given vertex is explored (i.e. More... | |
bool | IsVisible_UncheckedRange (ssize_t i, ssize_t j) |
Returns whether the given vertex is visible (i.e. More... | |
bool | IsExplored_UncheckedRange (ssize_t i, ssize_t j) |
Returns whether the given vertex is explored (i.e. More... | |
Private Member Functions | |
CLosQuerier (u32 playerMask, const std::vector< u32 > &data, ssize_t verticesPerSide) | |
const CLosQuerier & | operator= (const CLosQuerier &) |
Private Attributes | |
u32 | m_PlayerMask |
const 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.
Definition at line 210 of file ICmpRangeManager.h.
|
inlineprivate |
Definition at line 216 of file ICmpRangeManager.h.
Returns whether the given vertex is explored (i.e.
was (or still is) within a unit's LOS).
Definition at line 242 of file ICmpRangeManager.h.
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.
Definition at line 274 of file ICmpRangeManager.h.
Returns whether the given vertex is visible (i.e.
is within a unit's LOS).
Definition at line 227 of file ICmpRangeManager.h.
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.
Definition at line 258 of file ICmpRangeManager.h.
|
private |
|
friend |
Definition at line 213 of file ICmpRangeManager.h.
|
friend |
Definition at line 214 of file ICmpRangeManager.h.
|
private |
Definition at line 288 of file ICmpRangeManager.h.
|
private |
Definition at line 287 of file ICmpRangeManager.h.
|
private |
Definition at line 289 of file ICmpRangeManager.h.