_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <tile.h>
Public Member Functions | |
| CMapFieldPlayerInfo () | |
mapfield.cpp - The map field. | |
| bool | IsExplored (const CPlayer &player) const |
| Check if a field for the user is explored. More... | |
| bool | IsVisible (const CPlayer &player) const |
| bool | IsTeamVisible (const CPlayer &player) const |
| unsigned char | TeamVisibilityState (const CPlayer &player) const |
Public Attributes | |
| unsigned short | SeenTile |
| unsigned short | Visible [PlayerMax] |
| last seen tile (FOW) More... | |
| unsigned char | VisCloak [PlayerMax] |
| Seen counter 0 unexplored. More... | |
| unsigned char | Radar [PlayerMax] |
| Visiblity for cloaking. More... | |
| unsigned char | RadarJammer [PlayerMax] |
| Visiblity for radar. More... | |
|
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 |
| unsigned char CMapFieldPlayerInfo::TeamVisibilityState | ( | const CPlayer & | player | ) | const |
Find out how a field is seen (By player, or by shared vision)
| player | Player to check for. |
| unsigned char CMapFieldPlayerInfo::Radar[PlayerMax] |
Visiblity for cloaking.
| unsigned char CMapFieldPlayerInfo::RadarJammer[PlayerMax] |
Visiblity for radar.
| unsigned short CMapFieldPlayerInfo::SeenTile |
| unsigned char CMapFieldPlayerInfo::VisCloak[PlayerMax] |
Seen counter 0 unexplored.
| unsigned short CMapFieldPlayerInfo::Visible[PlayerMax] |
last seen tile (FOW)
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.