_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <tile.h>
◆ CMapFieldPlayerInfo()
| CMapFieldPlayerInfo::CMapFieldPlayerInfo |
( |
| ) |
|
|
inline |
◆ IsExplored()
| bool CMapFieldPlayerInfo::IsExplored |
( |
const CPlayer & |
player | ) |
const |
Check if a field for the user is explored.
◆ IsTeamVisible()
| bool CMapFieldPlayerInfo::IsTeamVisible |
( |
const CPlayer & |
player | ) |
const |
◆ IsVisible()
| bool CMapFieldPlayerInfo::IsVisible |
( |
const CPlayer & |
player | ) |
const |
- Note
- Manage Map.NoFogOfWar
◆ TeamVisibilityState()
| 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.
◆ Radar
| unsigned char CMapFieldPlayerInfo::Radar[PlayerMax] |
◆ RadarJammer
| unsigned char CMapFieldPlayerInfo::RadarJammer[PlayerMax] |
◆ SeenTile
| unsigned short CMapFieldPlayerInfo::SeenTile |
◆ VisCloak
| unsigned char CMapFieldPlayerInfo::VisCloak[PlayerMax] |
Seen counter 0 unexplored.
◆ Visible
| unsigned short CMapFieldPlayerInfo::Visible[PlayerMax] |
The documentation for this class was generated from the following files:
(C) Copyright 1998-2012 by The