____ _ __
/ __ )____ _____ | | / /___ ___________
/ __ / __ \/ ___/ | | /| / / __ `/ ___/ ___/
/ /_/ / /_/ (__ ) | |/ |/ / /_/ / / (__ )
/_____/\____/____/ |__/|__/\__,_/_/ /____/
A futuristic real-time strategy game.
This file is part of Bos Wars.
(C) Copyright 2001-2007 by the Bos Wars and Stratagus Project.
Distributed under the "GNU General Public License"#include <map.h>
Public Attributes | |
| std::string | Description |
| Map description. | |
| std::string | Filename |
| Map filename. | |
| int | MapWidth |
| Map width. | |
| int | MapHeight |
| Map height. | |
| int | PlayerType [PlayerMax] |
| Same player->Type. | |
| int | PlayerSide [PlayerMax] |
| Same player->Side. | |
| unsigned int | MapUID |
| Unique Map ID (hash). | |
Definition at line 188 of file map.h.
| std::string CMapInfo::Description |
Map description.
Definition at line 191 of file map.h.
Referenced by CclPresentMap(), CclStratagusMap(), FreeMapInfo(), CMap::Save(), SaveGame(), StartEditor(), StartReplay(), UnitActions(), and WriteMapPresentation().
| std::string CMapInfo::Filename |
Map filename.
Definition at line 192 of file map.h.
Referenced by CclDefineMapSetup(), CclStratagusMap(), CreateGame(), FreeMapInfo(), LoadMap(), LoadStratagusMap(), LoadStratagusMapInfo(), and CMap::Save().
Map width.
Definition at line 193 of file map.h.
Referenced by AiCheckSurrounding(), AiFindBuildingPlace2(), AiFindTarget(), AiMarkWaterTransporter(), AiMoveUnitInTheWay(), AiSendExplorers(), CanBuildHere(), CanBuildOn(), AreaBombardment::Cast(), Demolish::Cast(), CclPresentMap(), CclStratagusMap(), CBuildRestrictionAddOn::Check(), CBuildRestrictionDistance::Check(), CheckedCanMoveToMask(), ClipViewport(), ClosestFreeCoast(), CMap::CoastOnMap(), CommandAttack(), CommandAttackGround(), CommandMove(), CommandPatrolUnit(), CommandSharedVision(), CommandSpellCast(), CMinimap::Create(), CMap::Create(), DrawFogOfWarTile(), CViewport::DrawMapFogOfWar(), CMap::Field(), FreeMapInfo(), GameTypeLeftVsRight(), HandleActionBoard(), HandleActionFollow(), HandleActionMove(), HandleActionPatrol(), HitUnit(), CEditor::Init(), InitMatrix(), InitPathfinder(), InitUserInterface(), CViewport::IsInsideMapArea(), LoadStratagusMap(), MakeMatrix(), MapFogFilterFlags(), MapMarkTileRadar(), MapMarkTileRadarJammer(), MapMarkTileSight(), MapSight(), MapUnmarkTileRadar(), MapUnmarkTileRadarJammer(), MapUnmarkTileSight(), MissileHit(), MoveToTarget(), NewPath(), CMap::Reveal(), CMap::Save(), SaveStratagusMap(), CMinimap::Screen2MapX(), CViewport::Set(), StartEditor(), UnitFindResource(), UpdateUnitVariables(), CViewport::Viewport2MapX(), CMap::WaterOnMap(), and WriteMapPresentation().
Map height.
Definition at line 194 of file map.h.
Referenced by AiCheckSurrounding(), AiFindBuildingPlace2(), AiFindTarget(), AiMarkWaterTransporter(), AiMoveUnitInTheWay(), AiSendExplorers(), CanBuildHere(), CanBuildOn(), AreaBombardment::Cast(), Demolish::Cast(), CclPresentMap(), CclStratagusMap(), CBuildRestrictionAddOn::Check(), CBuildRestrictionDistance::Check(), CheckedCanMoveToMask(), ClipViewport(), ClosestFreeCoast(), CMap::CoastOnMap(), CommandAttack(), CommandAttackGround(), CommandMove(), CommandPatrolUnit(), CommandSharedVision(), CommandSpellCast(), CMinimap::Create(), CMap::Create(), DrawFogOfWarTile(), CViewport::DrawMapFogOfWar(), FreeMapInfo(), GameTypeTopVsBottom(), HandleActionBoard(), HandleActionFollow(), HandleActionMove(), HandleActionPatrol(), HitUnit(), CEditor::Init(), InitMatrix(), InitPathfinder(), InitUserInterface(), CViewport::IsInsideMapArea(), LoadStratagusMap(), MakeMatrix(), MapFogFilterFlags(), MapMarkTileRadar(), MapMarkTileRadarJammer(), MapMarkTileSight(), MapSight(), MapUnmarkTileRadar(), MapUnmarkTileRadarJammer(), MapUnmarkTileSight(), MissileHit(), MoveToTarget(), NewPath(), CMap::Reveal(), CMap::Save(), SaveStratagusMap(), CMinimap::Screen2MapY(), CViewport::Set(), StartEditor(), UnitFindResource(), UpdateUnitVariables(), CViewport::Viewport2MapY(), CMap::WaterOnMap(), and WriteMapPresentation().
| int CMapInfo::PlayerType[PlayerMax] |
Same player->Type.
Definition at line 195 of file map.h.
Referenced by CclDefinePlayerTypes(), CreateGame(), DrawPlayers(), DrawStartLocations(), EditorCallbackButtonDown(), EditorCallbackKeyDown(), EditorCallbackMouse(), FreeMapInfo(), CEditor::Init(), NetworkGamePrepareGameSettings(), NetworkServerStartGame(), and WriteMapPresentation().
| int CMapInfo::PlayerSide[PlayerMax] |
Same player->Side.
Definition at line 196 of file map.h.
Referenced by FreeMapInfo(), and CEditor::Init().
| unsigned int CMapInfo::MapUID |
Unique Map ID (hash).
Definition at line 197 of file map.h.
Referenced by CclPresentMap(), CclStratagusMap(), ClientParseConnected(), FreeMapInfo(), NetworkProcessClientRequest(), NetworkServerStartGame(), ServerParseMap(), ServerParseState(), ServerParseWaiting(), StartReplay(), and WriteMapPresentation().
1.5.6