Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/simulation2/components/ICmpRangeManager.h
Show First 20 Lines • Show All 346 Lines • ▼ Show 20 Lines | #endif | ||||
/** | /** | ||||
* Returns the visibility status of the given position, with respect to the given player. | * Returns the visibility status of the given position, with respect to the given player. | ||||
* This respects the GetLosRevealAll flag. | * This respects the GetLosRevealAll flag. | ||||
*/ | */ | ||||
virtual ELosVisibility GetLosVisibilityPosition(entity_pos_t x, entity_pos_t z, player_id_t player) const = 0; | virtual ELosVisibility GetLosVisibilityPosition(entity_pos_t x, entity_pos_t z, player_id_t player) const = 0; | ||||
/** | /** | ||||
/** | |||||
* Request the update of the visibility cache of ent at next turn. | * Request the update of the visibility cache of ent at next turn. | ||||
* Typically used for fogging. | * Typically used for fogging. | ||||
*/ | */ | ||||
virtual void RequestVisibilityUpdate(entity_id_t ent) = 0; | virtual void RequestVisibilityUpdate(entity_id_t ent) = 0; | ||||
/** | /** | ||||
* GetLosVisibility wrapped for script calls. | * GetLosVisibility wrapped for script calls. | ||||
▲ Show 20 Lines • Show All 81 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator