#include <tile.h>
CMapFieldPlayerInfo::CMapFieldPlayerInfo |
( |
| ) |
|
|
inline |
bool CMapFieldPlayerInfo::IsExplored |
( |
const CPlayer & |
player | ) |
const |
Check if a field for the user is explored.
bool CMapFieldPlayerInfo::IsTeamVisible |
( |
const CPlayer & |
player | ) |
const |
bool CMapFieldPlayerInfo::IsVisible |
( |
const CPlayer & |
player | ) |
const |
- Note
- Manage Map.NoFogOfWar
unsigned char CMapFieldPlayerInfo::TeamVisibilityState |
( |
const CPlayer & |
player | ) |
const |
Find out how a field is seen (By player, or by shared vision)
- Parameters
-
player | Player to check for. |
- Note
- manage fogOfWar (using Map.NoFogOfWar)
- Returns
- 0 unexplored, 1 explored, 2 visible.
unsigned char CMapFieldPlayerInfo::Radar[PlayerMax] |
unsigned char CMapFieldPlayerInfo::RadarJammer[PlayerMax] |
unsigned short CMapFieldPlayerInfo::SeenTile |
unsigned char CMapFieldPlayerInfo::VisCloak[PlayerMax] |
Seen counter 0 unexplored.
unsigned short CMapFieldPlayerInfo::Visible[PlayerMax] |
The documentation for this class was generated from the following files:
(C) Copyright 1998-2012 by The