Advanced Strategic Command
Classes | Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
GameMap Class Reference

The map. THE central structure of ASC, which holds everything not globally available together. More...

#include <gamemap.h>

Classes

class  ArchivalInformation
 
struct  Campaign
 
class  IDManager
 
struct  PreferredFilenames
 
class  ReplayInfo
 
class  ResourceTribute
 The tribute can not only be used to demand resources from enemies but also to transfer resources to allies. More...
 
class  UnitProduction
 specifies which vehicle types can be constructed by construction units More...
 
struct  Weather
 

Public Types

enum  State { Normal, Replay, Destruction }
 
typedef PointerList< Event * > Events
 

Public Member Functions

void setServerMapID (int id)
 
int getServerMapID () const
 
int width () const
 
int height () const
 
void setTitle (const ASCString &title)
 
ASCString getTitle () const
 
int getPlayerCount () const
 
PlayergetPlayer (PlayerID p)
 
const PlayergetPlayer (PlayerID p) const
 
PlayergetCurrentPlayer ()
 
const PlayergetCurrentPlayer () const
 
int getNeutralPlayerNum () const
 
MapCoordinategetCursor ()
 
MapCoordinate getCursor () const
 
int eventpassed (int saveas, int action, int mapid)
 
int eventpassed (int id, int mapid)
 
void allocateFields (int x, int y, TerrainType::Weather *terrain=NULL)
 
int getPlayerView () const
 the player which is currently viewing the map. More...
 
void setPlayerView (int player)
 
 GameMap (void)
 
VehiclegetUnit (int x, int y, int nwid)
 
VehiclegetUnit (int nwid, bool consistencyCheck=true)
 
const VehiclegetUnit (int nwid, bool consistencyCheck=true) const
 
ContainerBasegetContainer (int nwid)
 
const ContainerBasegetContainer (int nwid) const
 
int getgameparameter (GameParameter num) const
 
void setgameparameter (GameParameter num, int value)
 
void cleartemps (int b=-1, int value=0)
 
bool isResourceGlobal (int resource)
 
MapFieldgetField (int x, int y)
 
const MapFieldgetField (int x, int y) const
 
MapFieldgetField (const MapCoordinate &pos)
 
VisibilityStates getInitialMapVisibility (int player)
 
int resize (int top, int bottom, int left, int right)
 resizes the map. Positive numbers enlarge the map in that direction More...
 
void calculateAllObjects (void)
 
void read (tnstream &stream)
 
void write (tnstream &stream)
 
 ~GameMap ()
 
int random (int max)
 generated a pseudo-random number with the map-internal seed More...
 
void guiHooked ()
 
bool getGuiHooked ()
 
PropertiesgetProperties ()
 
int getMemoryFootprint () const
 
Access to item types
pterraintype getterraintype_byid (int id)
 
ObjectTypegetobjecttype_byid (int id)
 
const ObjectTypegetobjecttype_byid (int id) const
 
VehicleTypegetvehicletype_byid (int id)
 
const VehicleTypegetvehicletype_byid (int id) const
 
BuildingTypegetbuildingtype_byid (int id)
 
const BuildingTypegetbuildingtype_byid (int id) const
 
const Technologygettechnology_byid (int id)
 
pterraintype getterraintype_bypos (int pos)
 
ObjectTypegetobjecttype_bypos (int pos)
 
VehicleTypegetvehicletype_bypos (int pos)
 
BuildingTypegetbuildingtype_bypos (int pos)
 
const Technologygettechnology_bypos (int pos)
 
int getTerrainTypeNum ()
 
int getObjectTypeNum ()
 
int getVehicleTypeNum ()
 
int getBuildingTypeNum ()
 
int getTechnologyNum ()
 

Public Attributes

char * temp
 
char * temp2
 
int * temp3
 
int * temp4
 
bool playerAiRunning [9]
 
VisibilityStates playerAiVision [9]
 
int xsize
 the size of the map More...
 
int ysize
 
MapFieldfield
 the array of fields More...
 
ASCString codeWord
 the codeword for accessing a map in a campaign More...
 
ASCString maptitle
 the title of the map More...
 
struct GameMap::Campaign campaign
 
signed char actplayer
 the player who is currently making his moves (may be human or AI) More...
 
GameTime time
 the time in the game, mesured in a turns and moves More...
 
struct GameMap::Weather weather
 
int _resourcemode
 how are Resources handled on this map 0= "ASC mode": complex system with mineral resources etc 1= "BI mode": simpler system like in Battle Isle More...
 
Player player [9]
 
int eventID
 
Events events
 
vector< GameTimeeventTimes
 
class GameMap::IDManager idManager
 
Uint8 levelfinished
 
enum GameMap::State state
 
class GameMap::ResourceTribute tribute
 
MessagePntrContainer unsentmessage
 the list of messages that were written this turn and are waiting to be processed at the end of the turn More...
 
bool __loadunsentmessage
 
MessageContainer messages
 these are the messages themselfs. A MessagePntrContainer only stores pointers to message body which are archived here More...
 
bool __loadmessages
 
int messageid
 each message has an identification number (which is incremented with each message) for referencing it in files. The id of the last message is stored here More...
 
bool ___loadJournal
 temporary variables for loading the map More...
 
bool ___loadNewJournal
 
bool ___loadtitle
 
bool ___loadLegacyNetwork
 
ASCString gameJournal
 
ASCString newJournal
 
Password supervisorpasswordcrc
 
ActionContainer actions
 Records all action that have been done for undo/redo purposes. More...
 
ActionRecorderactionRecorder
 
AbstractTaskContainertasks
 
ReplayInforeplayinfo
 
bool __loadreplayinfo
 a helper variable to store some information during the loading process. No usage outside. More...
 
GameTime lastjournalchange
 
Resources bi_resource [8]
 in BI resource mode ( see _resourcemode , isResourceGlobal ) , this is where the globally available resources are stored. Note that not all resources are globally available. More...
 
struct GameMap::PreferredFilenames preferredFileNames
 
int graphicset
 the ID of the graphic set More...
 
int gameparameter_num
 
int * game_parameter
 
ASCString nativeMessageLanguage
 the language string that describes the messages which are saved in the game events For example: en_US All translations will be maintained in seperate files More...
 
int mineralResourcesDisplayed
 
class GameMap::ArchivalInformation archivalInformation
 
class GameMap::UnitProduction unitProduction
 
OverviewMapHolder overviewMapHolder
 
bool loadOldEvents
 just a helper variable for loading the map; no function outside; More...
 
Properties properties
 general key/value storage, primarily for Lua scripts More...
 
GameTransferMechanismnetwork
 
PackageDatapackageData
 

Static Public Attributes

static const int maxTotalPlayers = 8
 

Turn Management

These methods control the game advance of a player to the next player

sigc::signal< void, Player & > sigPlayerTurnBegins
 
sigc::signal< void, Player & > sigPlayerUserInteractionBegins
 
sigc::signal< void, Player & > sigPlayerUserInteractionEnds
 
sigc::signal< void, Player & > sigPlayerTurnEnds
 
sigc::signal< void, Player & > sigPlayerTurnHasEnded
 
sigc::signal< void, Player & > sigMapWon
 
sigc::signal< void, const
MapCoodinateVector & > 
sigCoordinateShift
 called when the map is resized and all coordinates have to be adjusted More...
 
sigc::signal< void > newRound
 called when a new round starts (after switching from player 7 to player 0 ) More...
 
bool continueplaying
 if a player has won a singleplayer map, but wants to continue playing without any enemies, this will be set to 1 More...
 
static sigc::signal< void,
GameMap & > 
sigMapCreation
 
static sigc::signal< void,
GameMap & > 
sigMapDeletion
 
static sigc::signal< void,
GameMap *, Player & > 
sigPlayerTurnEndsStatic
 
void startGame ()
 prepares a new game for being played More...
 
void beginTurn ()
 called when a player starts his turn More...
 
void endTurn ()
 called after a player ends his turn More...
 
void endRound ()
 called between endTurn() of player 7 and the next turn of player 0 More...
 

Detailed Description

The map. THE central structure of ASC, which holds everything not globally available together.

Definition at line 182 of file gamemap.h.

Member Typedef Documentation

Definition at line 290 of file gamemap.h.

Member Enumeration Documentation

Enumerator
Normal 
Replay 

map is currently used to run a replay. Some ingame events are deactivated

Destruction 

only to be used by units and buildings. To speed up map destruction, the view won't be recalculated. No signals will be send when units & buildings are destroyed, either

Definition at line 323 of file gamemap.h.

Constructor & Destructor Documentation

GameMap::GameMap ( void  )
GameMap::~GameMap ( )

Member Function Documentation

void GameMap::allocateFields ( int  x,
int  y,
TerrainType::Weather terrain = NULL 
)
void GameMap::beginTurn ( )

called when a player starts his turn

Definition at line 1263 of file gamemap.cpp.

References actplayer, exist(), GameMap::ReplayInfo::guidata, Player::off, player, replayinfo, sigPlayerTurnBegins, and Player::vehicleList.

Referenced by iterateToNextPlayer(), next_turn(), and skipTurn().

void GameMap::calculateAllObjects ( void  )

Definition at line 1002 of file gamemap.cpp.

References calculateallobjects().

Referenced by Building::chainbuildingtofield(), and Reinforcements::execute().

void GameMap::cleartemps ( int  b = -1,
int  value = 0 
)
void GameMap::endRound ( void  )
void GameMap::endTurn ( )
int GameMap::eventpassed ( int  saveas,
int  action,
int  mapid 
)

Definition at line 1111 of file gamemap.cpp.

int GameMap::eventpassed ( int  id,
int  mapid 
)

Definition at line 1118 of file gamemap.cpp.

BuildingType * GameMap::getbuildingtype_byid ( int  id)
const BuildingType * GameMap::getbuildingtype_byid ( int  id) const

Definition at line 1810 of file gamemap.cpp.

References buildingTypeRepository.

BuildingType * GameMap::getbuildingtype_bypos ( int  pos)

Definition at line 1836 of file gamemap.cpp.

References buildingTypeRepository.

int GameMap::getBuildingTypeNum ( )

Definition at line 1861 of file gamemap.cpp.

References buildingTypeRepository.

ContainerBase * GameMap::getContainer ( int  nwid)
const ContainerBase * GameMap::getContainer ( int  nwid) const

Definition at line 1246 of file gamemap.cpp.

References MapField::building, getField(), and getUnit().

Player& GameMap::getCurrentPlayer ( )
inline
const Player& GameMap::getCurrentPlayer ( ) const
inline

Definition at line 273 of file gamemap.h.

References actplayer, and player.

MapCoordinate & GameMap::getCursor ( )
MapCoordinate GameMap::getCursor ( ) const

Definition at line 948 of file gamemap.cpp.

References actplayer, Player::cursorPos, player, MapCoordinate::x, MapCoordinate::y, and ysize.

MapField* GameMap::getField ( int  x,
int  y 
)
inline

Definition at line 465 of file gamemap.h.

References field, xsize, and ysize.

Referenced by SelectFromMap::accept(), SelectBuildingFromMap::accept(), SelectUnitFromMap::accept(), BuildingConquered::arm(), BuildingLost::arm(), BuildingSeen::arm(), tsearchreactionfireingunits::attack(), attackpossible(), DestructUnitCommand::avail(), ReactionFireSwitchCommand::avail(), GuiFunctions::MovementBase::available(), ContextMenu::ContainerProperties::available(), ContextMenu::ContainerCargo::available(), ContextMenu::DeleteVehicle::available(), ContextMenu::DeleteBuilding::available(), ContextMenu::ContainerProduction::available(), ContextMenu::DeleteMine::available(), ContextMenu::ChangeMineStrength::available(), ContextMenu::DeleteTopObject::available(), ContextMenu::DeleteAllObjects::available(), GuiFunctions::Ascend::available(), GuiFunctions::Descend::available(), GuiFunctions::Attack::available(), GuiFunctions::PowerSwitch::available(), GuiFunctions::UnitInfo::available(), GuiFunctions::DestructBuilding::available(), GuiFunctions::OpenContainer::available(), GuiFunctions::EnableReactionfire::available(), GuiFunctions::DisableReactionfire::available(), GuiFunctions::JumpDriveIcon::available(), GuiFunctions::RepairUnit::available(), GuiFunctions::RefuelUnitCommand::available(), GuiFunctions::RefuelUnitDialogCommand::available(), GuiFunctions::PutMine::available(), GuiFunctions::BuildObject::available(), GuiFunctions::BuildVehicleCommand::available(), GuiFunctions::ConstructBuilding::available(), GuiFunctions::SelfDestructIcon::available(), ConstructBuildingCommand::buildingFits(), calcMoveMalus(), calculateallobjects(), ForestCalculation::calculateforest(), calculateobject(), Vehicle::canMove(), tsearchreactionfireingunits::checkfield(), GuiIconHandler::checkForKey(), checkunitsforremoval(), clearField(), computeview(), MapDisplayPG::displayMovementStep(), ReplayMapDisplay::displayMovingUnit(), PG_MapDisplay::displayMovingUnit(), Vehicle::endOwnTurn(), endRound(), endTurn(), DashboardPanel::eval(), NewGuiHost::evalCursor(), evaluateviewcalculation(), execaction_pg(), trunreplay::execnextreplaymove(), GuiFunctions::MovementBase::execute(), CargoGuiFunctions::Movement::execute(), GuiFunctions::Attack::execute(), ChangeBuildingDamage::execute(), GuiFunctions::PowerSwitch::execute(), ChangeBuildingOwner::execute(), AddProductionCapability::execute(), GuiFunctions::DestructBuilding::execute(), AddResources::execute(), Reinforcements::execute(), GuiFunctions::OpenContainer::execute(), GuiFunctions::EnableReactionfire::execute(), GuiFunctions::DisableReactionfire::execute(), GuiFunctions::JumpDriveIcon::execute(), GuiFunctions::RepairUnit::execute(), GuiFunctions::RefuelUnitCommand::execute(), GuiFunctions::RefuelUnitDialogCommand::execute(), GuiFunctions::PutMine::execute(), GuiFunctions::BuildObject::execute(), GuiFunctions::BuildVehicleCommand::execute(), GuiFunctions::ConstructBuilding::execute(), GuiFunctions::SelfDestructIcon::execute(), executeUserAction(), ConstructUnitCommand::externalConstructionAvail(), ServiceTargetSearcher::externallyAvailable(), ResourceNet::fieldavail(), SpecificUnitEntersPolygon::fieldOperator(), AnyUnitEntersPolygon::fieldOperator(), WeatherChange::fieldOperator(), MapChange::fieldOperator(), AddObject::fieldOperator(), RemoveAllObjects::fieldOperator(), CopyMap::fieldOperator(), JumpDriveCommand::fieldReachable(), tsearchreactionfireingunits::finalCheck(), AStar3D::findAllAccessibleFields(), AStar3D::findPath(), Vehicle::freeWeight(), getactfield(), SpawnBuilding::getBuilding(), getContainer(), Building::getField(), ForestCalculation::Smoothing::getfield(), DestructBuildingCommand::getFields(), getmaxwindspeedforunit(), StratAStar3D::getMoveCost(), AntiMineAStar3D::getMoveCost(), HiddenAStar3D::getMoveCost(), PathFinder::getMovementFields(), GuiFunctions::AttackGui::getName(), BuildingPositionTrigger::getName(), GuiFunctions::RepairUnit::getName(), SolarPowerplant::getPlus(), Vehicle::getPosition3D(), getSelectedField(), getSelectedUnit(), BuildingConquered::getState(), BuildingDestroyed::getState(), BuildingSeen::getState(), ContextMenu::ContainerProperties::getText(), ContextMenu::ContainerCargo::getText(), getUnit(), getVisibilityStatistics(), DestructBuildingCommand::go(), AttackCommand::go(), PutMineCommand::go(), tcomputevehicleview::init(), tcomputebuildingview::init(), AStar3D::initNode(), MoveUnitCommand::longDistAvailable(), NewGuiHost::mapIconProcessing(), MemoryMeasurement::measure(), MirrorMap::mirrorX(), MirrorMap::mirrorY(), UnitInfoPanel::onClick(), UnitWeaponRangeLayer::operateField(), UnitMovementRangeLayer::operateField(), Vehicle::paint(), DashboardPanel::painter(), ShowPolygonUsingTemps::paintPolygon(), MapRenderer::paintTerrain(), CopyMap::paste(), ClipBoardBase::place(), VehicleItem::place(), BuildingItem::place(), ObjectItem::place(), TerrainItem::place(), MineItem::place(), placeBuilding(), placeObject(), placeTerrain(), placeUnit(), ReplayMapDisplay::playPositionalSound(), putbuilding(), tdrawgettempline::putpix8(), ObjectItem::remove(), WholeMapRenderer::renderVisibility(), Player::resetView(), resize(), resourceComparison(), VehicleAttackAction::runAction(), ChangeView::runAction(), SpawnBuilding::runAction(), RemoveMine::runAction(), SpawnObject::runAction(), MoveUnit::runAction(), RemoveObject::runAction(), SpawnMine::runAction(), UnitFieldRegistration::runAction(), SpawnUnit::runAction(), DestructContainer::runAction(), MapNetwork::searchAllVehiclesNextToBuildings(), MapNetwork::searchbuilding(), MapNetwork::searchfield(), MapNetwork::searchvehicle(), selectunit(), PutMineCommand::setCreationTarget(), MoveUnitCommand::setDestination(), setLocalizedContainerName(), PutMineCommand::setRemovalTarget(), PutObjectCommand::setTarget(), AttackCommand::setTarget(), DestructBuildingCommand::setTargetPosition(), ConstructBuildingCommand::setTargetPosition(), ConstructUnitCommand::setTargetPosition(), tunitattacksunit::setup(), tunitattacksbuilding::setup(), tmineattacksunit::setup(), tunitattacksobject::setup(), setweatherall(), showbdtbits(), AI::showFieldInformation(), SelectFromMap::showFieldMarking(), Vehicle::spawnMoveObjects(), MapNetwork::start(), ServiceTargetSearcher::startSearch(), PackageManager::storeData(), testAutoRepair(), testDebugFunction(), tcomputeview::testfield(), tputresources::testfield(), SearchReconquerBuilding::testfield(), MiningStation::testfield(), GetMiningInfo::testfield(), WeaponRange::testfield(), FindUnitPlacementPos::testfield(), testManualRepair(), testSelfDamage(), transformMap(), ChangeView::undoAction(), SpawnBuilding::undoAction(), SpawnObject::undoAction(), RemoveMine::undoAction(), SpawnMine::undoAction(), RemoveObject::undoAction(), UnitFieldRegistration::undoAction(), SpawnUnit::undoAction(), DestructContainer::undoAction(), DiscoverResources::undoAction(), UnitAttacksUnit_FakeHemming::UnitAttacksUnit_FakeHemming(), unitInfoDialog(), Vehicle::unregisterPosition(), WeatherField::update(), OverviewMapHolder::updateField(), CargoDialog::updateVariables(), Vehicle::vehicleconstructable(), VehicleCounterFactory::VehicleCounterFactory(), viewterraininfo(), viewUnitSetinfo(), trunreplay::wait(), WeatherField::WeatherField(), and Vehicle::~Vehicle().

const MapField* GameMap::getField ( int  x,
int  y 
) const
inline

Definition at line 468 of file gamemap.h.

References field, xsize, and ysize.

MapField* GameMap::getField ( const MapCoordinate pos)
inline

Definition at line 471 of file gamemap.h.

References getField(), MapCoordinate::x, and MapCoordinate::y.

Referenced by getField().

int GameMap::getgameparameter ( GameParameter  num) const
bool GameMap::getGuiHooked ( )
inline

Definition at line 572 of file gamemap.h.

Referenced by hookGuiToMap().

VisibilityStates GameMap::getInitialMapVisibility ( int  player)
int GameMap::getMemoryFootprint ( ) const
int GameMap::getNeutralPlayerNum ( ) const
inline

Definition at line 278 of file gamemap.h.

Referenced by GuiFunctions::OpenContainer::available().

ObjectType * GameMap::getobjecttype_byid ( int  id)
const ObjectType * GameMap::getobjecttype_byid ( int  id) const

Definition at line 1788 of file gamemap.cpp.

References objectTypeRepository.

ObjectType * GameMap::getobjecttype_bypos ( int  pos)

Definition at line 1826 of file gamemap.cpp.

References objectTypeRepository.

int GameMap::getObjectTypeNum ( )

Definition at line 1851 of file gamemap.cpp.

References objectTypeRepository.

Player& GameMap::getPlayer ( PlayerID  p)
inline

Definition at line 257 of file gamemap.h.

References PlayerID::getID(), and player.

Referenced by attackpossible(), Mine::attacksunit(), NextTurnStrategy_OnlyCampaign::authenticate(), autoTrainer(), GuiFunctions::InternalAmmoTransferDialog::available(), GuiFunctions::SelfDestructIcon::available(), calcMoveMalus(), cancelResearch(), ServiceChecker::check(), checkForUniqueUnitIDs(), checkforvictory(), createContext(), trunreplay::createReplayContext(), createTestingContext(), DiscoverResources::DiscoverResources(), VehicleItem::display(), BuildingItem::display(), ContainerBase::doesVehicleFit(), doresearch(), editPlayerData(), endRound(), trunreplay::execnextreplaymove(), LoseMap::execute(), ChangeDiplomaticStatus::execute(), ChangePlayerState::execute(), fieldAccessible(), tsearchreactionfireingunits::finalCheck(), AStar3D::findPath(), DirectResearchCommand::getAvailableTechnologies(), TransferControlCommand::getDescription(), DiplomacyCommand::getDescription(), Player::getHumanPlayerNum(), MessageLineWidget::getName(), ContainerBase::getOwningPlayer(), AllEnemyBuildingsDestroyed::getState(), getVisibilityStatistics(), CancelResearchCommand::go(), DirectResearchCommand::go(), DiplomacyCommand::go(), k_loadmap(), MemoryMeasurement::measure(), MessageLineWidget::MessageLineWidget(), ResourceGraphLayer::paintSingleField(), VisibilityLayer::paintSingleField(), PlayerColorPanel::PlayerColorPanel(), CancelResearchCommand::preCheck(), WholeMapRenderer::renderVisibility(), ReplayContext::ReplayContext(), trunreplay::run(), ChangeDiplomaticState::runAction(), MoveUnit::runAction(), FileTransfer::send(), setDiplomacy(), setResearchGoal(), DisplayImmediateMessage::setup(), showAllUnitPositions(), PackageManager::storeData(), DiplomaticStateVector::swap(), transferControl(), transformMap(), DiplomaticStateVector::turnBegins(), CancelResearchCommand::undoAction(), ChangeDiplomaticState::undoAction(), DirectResearchCommand::undoAction(), ContainerBase::vehicleLoadable(), viewterraininfo(), viewUnitSetinfo(), and writeMessageFile().

const Player& GameMap::getPlayer ( PlayerID  p) const
inline

Definition at line 262 of file gamemap.h.

References PlayerID::getID(), and player.

int GameMap::getPlayerCount ( ) const
inline
int GameMap::getPlayerView ( ) const
Properties& GameMap::getProperties ( )
inline

Definition at line 576 of file gamemap.h.

int GameMap::getServerMapID ( ) const
inline

Definition at line 196 of file gamemap.h.

const Technology * GameMap::gettechnology_byid ( int  id)

Definition at line 1815 of file gamemap.cpp.

References technologyRepository.

const Technology * GameMap::gettechnology_bypos ( int  pos)

Definition at line 1841 of file gamemap.cpp.

References technologyRepository.

int GameMap::getTechnologyNum ( )

Definition at line 1866 of file gamemap.cpp.

References technologyRepository.

pterraintype GameMap::getterraintype_byid ( int  id)

Definition at line 1778 of file gamemap.cpp.

References terrainTypeRepository.

Referenced by resize().

pterraintype GameMap::getterraintype_bypos ( int  pos)

Definition at line 1821 of file gamemap.cpp.

References terrainTypeRepository.

int GameMap::getTerrainTypeNum ( )

Definition at line 1846 of file gamemap.cpp.

References terrainTypeRepository.

ASCString GameMap::getTitle ( ) const
inline

Definition at line 216 of file gamemap.h.

References maptitle.

Vehicle * GameMap::getUnit ( int  x,
int  y,
int  nwid 
)
Vehicle * GameMap::getUnit ( int  nwid,
bool  consistencyCheck = true 
)

Definition at line 1179 of file gamemap.cpp.

References displaymessage(), idManager, if(), player, and Player::vehicleList.

const Vehicle * GameMap::getUnit ( int  nwid,
bool  consistencyCheck = true 
) const

Definition at line 1197 of file gamemap.cpp.

References displaymessage(), idManager, if(), player, and Player::vehicleList.

VehicleType * GameMap::getvehicletype_byid ( int  id)
const VehicleType * GameMap::getvehicletype_byid ( int  id) const

Definition at line 1799 of file gamemap.cpp.

References vehicleTypeRepository.

VehicleType * GameMap::getvehicletype_bypos ( int  pos)
int GameMap::getVehicleTypeNum ( )

Definition at line 1856 of file gamemap.cpp.

References vehicleTypeRepository.

Referenced by ContainerBase::ContainerBase().

void GameMap::guiHooked ( )

Definition at line 289 of file gamemap.cpp.

References OverviewMapHolder::connect(), and overviewMapHolder.

Referenced by hookGuiToMap().

int GameMap::height ( ) const
inline

Definition at line 204 of file gamemap.h.

References ysize.

bool GameMap::isResourceGlobal ( int  resource)
int GameMap::random ( int  max)

generated a pseudo-random number with the map-internal seed

Definition at line 1425 of file gamemap.cpp.

References max().

void GameMap::read ( tnstream stream)

practically dummy

Definition at line 297 of file gamemap.cpp.

References ___loadJournal, ___loadLegacyNetwork, ___loadNewJournal, ___loadtitle, Player::__dissectionsToLoad, __loadmessages, Player::__loadoldmessage, __loadreplayinfo, Player::__loadsentmessage, Player::__loadunreadmessage, __loadunsentmessage, _resourcemode, GameTime::abstime, actionRecorder, actions, actplayer, Player::ai, archivalInformation, Player::ASCversion, GameMap::ArchivalInformation::author, GameMap::Campaign::avail, bi_resource, campaign, PackageManager::checkGame(), codeWord, continueplaying, Player::cursorPos, Player::PlayTime::date, GameMap::ArchivalInformation::description, Player::diplomacy, GameMap::Campaign::directaccess, Player::email, eventID, events, Player::existanceAtBeginOfTurn, field, gameparameter_num, graphicset, GameMap::Campaign::id, idManager, GameMap::UnitProduction::idsAllowed, lastjournalchange, levelfinished, loadOldEvents, GameMap::PreferredFilenames::mapname, maptitle, messageid, mineralResourcesDisplayed, GameMap::ArchivalInformation::modifytime, nativeMessageLanguage, network, packageData, Player::passwordcrc, PEACE, PEACE_SV, player, Player::playTime, preferredFileNames, properties, GameTransferMechanism::read(), AbstractTaskContainer::read(), Password::read(), PackageData::read(), ActionContainer::read(), DiplomaticStateVector::read(), Event::read(), Research::read(), MapCoordinate::read(), Player::read(), Properties::read(), GameMap::ResourceTribute::read(), Research::read_struct(), tnstream::readdata(), ActionRecorder::readData(), GameMap::IDManager::readData(), tnstream::readFloat(), tnstream::readInt(), tnstream::readpchar(), tnstream::readString(), tnstream::readUint8(), tnstream::readWord(), GameMap::ArchivalInformation::requirements, Player::research, GameMap::PreferredFilenames::savegame, savegame(), setgameparameter(), Player::setName(), DiplomaticStateVector::setState(), Player::stat, supervisorpasswordcrc, GameMap::ArchivalInformation::tags, tasks, time, tribute, Player::PlayTime::turn, unitProduction, WAR, weather, GameMap::Weather::windDirection, GameMap::Weather::windSpeed, xsize, and ysize.

Referenced by GameMap::ResourceTribute::read(), and tspfldloaders::readmap().

int GameMap::resize ( int  top,
int  bottom,
int  left,
int  right 
)
void GameMap::setgameparameter ( GameParameter  num,
int  value 
)
void GameMap::setPlayerView ( int  player)

Definition at line 1017 of file gamemap.cpp.

References player.

Referenced by authenticateUser(), next_turn(), trunreplay::run(), and runai().

void GameMap::setServerMapID ( int  id)
inline

Definition at line 195 of file gamemap.h.

void GameMap::setTitle ( const ASCString title)
inline

Definition at line 215 of file gamemap.h.

References maptitle.

void GameMap::startGame ( )
int GameMap::width ( ) const
inline

Definition at line 203 of file gamemap.h.

References xsize.

void GameMap::write ( tnstream stream)

Definition at line 711 of file gamemap.cpp.

References _resourcemode, GameTime::abstime, actionRecorder, actions, actplayer, archivalInformation, GameMap::ArchivalInformation::author, GameMap::Campaign::avail, bi_resource, campaign, codeWord, continueplaying, Player::cursorPos, GameMap::ArchivalInformation::description, Player::diplomacy, GameMap::Campaign::directaccess, GameMap::ResourceTribute::empty(), eventID, events, game_parameter, gameparameter_num, getgameparameter(), Player::getName(), graphicset, GameMap::Campaign::id, idManager, GameMap::UnitProduction::idsAllowed, lastjournalchange, levelfinished, GameMap::PreferredFilenames::mapname, maptitle, messageid, messages, mineralResourcesDisplayed, GameMap::ArchivalInformation::modifytime, nativeMessageLanguage, network, packageData, Player::passwordcrc, player, Player::playTime, preferredFileNames, properties, Player::queuedEvents, replayinfo, GameMap::ArchivalInformation::requirements, Player::research, GameMap::PreferredFilenames::savegame, supervisorpasswordcrc, GameMap::ArchivalInformation::tags, tasks, time, tribute, unitProduction, weather, GameMap::Weather::windDirection, GameMap::Weather::windSpeed, GameTransferMechanism::write(), AbstractTaskContainer::write(), Password::write(), PackageData::write(), ActionContainer::write(), DiplomaticStateVector::write(), Research::write(), MapCoordinate::write(), Player::write(), Properties::write(), GameMap::ResourceTribute::write(), ActionRecorder::writeData(), GameMap::IDManager::writeData(), tnstream::writeInt(), tnstream::writeString(), tnstream::writeUint8(), tnstream::writeWord(), xsize, and ysize.

Referenced by tmaploaders::savemap(), GameMap::ResourceTribute::write(), and tspfldloaders::writemap().

Member Data Documentation

bool GameMap::___loadJournal

temporary variables for loading the map

Definition at line 361 of file gamemap.h.

Referenced by read(), and tspfldloaders::readmessages().

bool GameMap::___loadLegacyNetwork

Definition at line 361 of file gamemap.h.

Referenced by read(), and tspfldloaders::readLegacyNetwork().

bool GameMap::___loadNewJournal

Definition at line 361 of file gamemap.h.

Referenced by read(), and tspfldloaders::readmessages().

bool GameMap::___loadtitle

Definition at line 361 of file gamemap.h.

Referenced by read().

bool GameMap::__loadmessages

Definition at line 355 of file gamemap.h.

Referenced by read(), and tspfldloaders::readmessages().

bool GameMap::__loadreplayinfo

a helper variable to store some information during the loading process. No usage outside.

Definition at line 399 of file gamemap.h.

Referenced by tnetworkloaders::loadnwgame(), and read().

bool GameMap::__loadunsentmessage

Definition at line 351 of file gamemap.h.

Referenced by read(), and tspfldloaders::readmessages().

int GameMap::_resourcemode

how are Resources handled on this map 0= "ASC mode": complex system with mineral resources etc 1= "BI mode": simpler system like in Battle Isle

Definition at line 250 of file gamemap.h.

Referenced by execaction(), GameMap(), generatemap(), VehicleProduction_SelectionItemFactory::getCost(), ContainerBase::getStorageCapacity(), importbattleislemap(), insertbattleislemap(), isResourceGlobal(), process_ASC_map(), read(), resourceComparison(), and write().

ActionRecorder* GameMap::actionRecorder

Definition at line 391 of file gamemap.h.

Referenced by read(), StartMultiplayerGame::start(), startnextcampaignmap(), write(), and ~GameMap().

ActionContainer GameMap::actions
signed char GameMap::actplayer

the player who is currently making his moves (may be human or AI)

Definition at line 232 of file gamemap.h.

Referenced by AllianceSetupWidget::AllianceSetupWidget(), AllianceSetupWidget::Apply(), authenticateUser(), PowerGenerationSwitchCommand::avail(), PutMineCommand::avail(), PutObjectCommand::avail(), DestructBuildingCommand::avail(), ConstructBuildingCommand::avail(), GuiFunctions::MovementBase::available(), CargoGuiFunctions::Movement::available(), CargoGuiFunctions::UnitProduction::available(), CargoGuiFunctions::UnitTraining::available(), CargoGuiFunctions::OpenContainer::available(), CargoGuiFunctions::RecycleUnitCommandButton::available(), CargoGuiFunctions::TransferUnitControl::available(), GuiFunctions::Ascend::available(), GuiFunctions::Descend::available(), GuiFunctions::Attack::available(), GuiFunctions::OpenContainer::available(), GuiFunctions::EnableReactionfire::available(), GuiFunctions::DisableReactionfire::available(), GuiFunctions::JumpDriveIcon::available(), GuiFunctions::RepairUnit::available(), GuiFunctions::RefuelUnitCommand::available(), GuiFunctions::BuildVehicleCommand::available(), GuiFunctions::ConstructBuilding::available(), GuiFunctions::InternalAmmoTransferDialog::available(), GuiFunctions::SelfDestructIcon::available(), beginTurn(), VehicleCounterFactory::calcCargoSummary(), changePassword(), Event::check(), checkevents(), checkforreplay(), checkforvictory(), checkJournal(), checkModificationConstraints(), checkUsedASCVersions(), DashboardPanel::containerRenamed(), continueAndStartMultiplayerGame(), createContext(), trunreplay::createReplayContext(), createTestingContext(), PG_MapDisplay::displayMovingUnit(), editjournal(), editPlayerData(), EmailSetupWidget::EmailSetupWidget(), endRound(), endTurn(), DashboardPanel::eval(), ASC_MainScreenWidget::eventKeyDown(), trunreplay::execnextreplaymove(), Event::execute(), DisplayMessage::execute(), GuiFunctions::EndTurn::execute(), MapChangeCompleted::execute(), DisplayImmediateMessage::execute(), executeUserAction(), ConstructUnitCommand::externalConstructionAvail(), fieldVisibility(), fieldvisiblenow(), findNextPlayer(), GameMap(), gamethread(), getCurrentPlayer(), getCursor(), Vehicle::getResource(), CargoDialog::getResourceValue(), getSelectedUnit(), getTransferLimitation(), giveunitaway(), ConstructUnitCommand::go(), ttributepayments::init(), tdialogbox::init(), tresearchinfo::init(), tchoice_dlg::init(), ConstructUnitCommand::internalConstructionAvail(), iterateToNextPlayer(), loadGameFromFile(), FileTransfer::loadPBEMFile(), mainloopidle(), Message::Message(), NewMessage::NewMessage(), next_turn(), UnitInfoPanel::onClick(), Vehicle::paint(), DashboardPanel::painter(), PlayerSetupWidget::PlayerSetupWidget(), Vehicle::putResource(), read(), tdialogbox::redraw(), MapField::removeObject(), ReplayContext::ReplayContext(), researchinfo(), resourceAnalysis(), trunreplay::run(), runai(), saveGame(), AttackCommand::searchTargets(), FileTransfer::send(), tmessagedlg::setup(), showAllUnitPositions(), showPlayerTime(), skipTurn(), startGame(), startMap(), TransferHandler::TransferHandler(), UnitInfoPanel::unitNaming(), ContainerConstControls::unitProductionAvailable(), VehicleCounterFactory::VehicleCounterFactory(), viewEventInfo(), viewterraininfo(), and write().

class GameMap::ArchivalInformation GameMap::archivalInformation
Resources GameMap::bi_resource[8]

in BI resource mode ( see _resourcemode , isResourceGlobal ) , this is where the globally available resources are stored. Note that not all resources are globally available.

Definition at line 416 of file gamemap.h.

Referenced by compareMapResources(), Building::convert(), read(), resourceAnalysis(), GetResource::start(), PutResource::start(), PutTribute::start(), startGame(), transfer_all_outstanding_tribute(), and write().

struct GameMap::Campaign GameMap::campaign
ASCString GameMap::codeWord

the codeword for accessing a map in a campaign

Definition at line 210 of file gamemap.h.

Referenced by findNextCampaignMap(), NewMap::NewMap(), read(), and write().

bool GameMap::continueplaying

if a player has won a singleplayer map, but wants to continue playing without any enemies, this will be set to 1

Definition at line 512 of file gamemap.h.

Referenced by checkforvictory(), LoseMap::execute(), GameMap(), gamethread(), next_turn(), read(), and write().

int GameMap::eventID

Definition at line 288 of file gamemap.h.

Referenced by Event::Event(), GameMap(), read(), and write().

Events GameMap::events
vector<GameTime> GameMap::eventTimes

Definition at line 293 of file gamemap.h.

Referenced by Event::arm(), TurnPassed::arm(), checktimedevents(), and Event::execute().

MapField* GameMap::field
int* GameMap::game_parameter
ASCString GameMap::gameJournal
int GameMap::gameparameter_num

Definition at line 425 of file gamemap.h.

Referenced by GameMap(), getgameparameter(), read(), setgameparameter(), and write().

int GameMap::graphicset

the ID of the graphic set

Definition at line 424 of file gamemap.h.

Referenced by GameMap(), MapRenderer::paintTerrain(), process_ASC_map(), read(), selectgraphicset(), and write().

class GameMap::IDManager GameMap::idManager
GameTime GameMap::lastjournalchange

Definition at line 413 of file gamemap.h.

Referenced by checkJournal(), editjournal(), GameMap(), read(), and write().

Uint8 GameMap::levelfinished
bool GameMap::loadOldEvents

just a helper variable for loading the map; no function outside;

Definition at line 566 of file gamemap.h.

Referenced by read(), and tspfldloaders::readoldevents().

ASCString GameMap::maptitle
const int GameMap::maxTotalPlayers = 8
static
int GameMap::messageid

each message has an identification number (which is incremented with each message) for referencing it in files. The id of the last message is stored here

Definition at line 358 of file gamemap.h.

Referenced by GameMap(), Message::Message(), read(), and write().

MessageContainer GameMap::messages

these are the messages themselfs. A MessagePntrContainer only stores pointers to message body which are archived here

Definition at line 354 of file gamemap.h.

Referenced by Message::Message(), tspfldloaders::readmessagelist(), write(), and tspfldloaders::writemessages().

int GameMap::mineralResourcesDisplayed

Definition at line 434 of file gamemap.h.

Referenced by GameMap(), read(), and write().

ASCString GameMap::nativeMessageLanguage

the language string that describes the messages which are saved in the game events For example: en_US All translations will be maintained in seperate files

Definition at line 432 of file gamemap.h.

Referenced by GameMap(), NewMap::NewMap(), read(), savemap(), and write().

GameTransferMechanism* GameMap::network
ASCString GameMap::newJournal
sigc::signal<void> GameMap::newRound

called when a new round starts (after switching from player 7 to player 0 )

Definition at line 508 of file gamemap.h.

Referenced by startGame(), and WeatherSystem::WeatherSystem().

OverviewMapHolder GameMap::overviewMapHolder
PackageData* GameMap::packageData
mutable
Player GameMap::player[9]

Definition at line 253 of file gamemap.h.

Referenced by Research::addanytechnology(), AdminGameWindow::AdminGameWindow(), AllianceSetupWidget::AllianceSetupWidget(), tplayerchange::anzeige(), EmailSetupWidget::Apply(), PlayerSetupWidget::Apply(), AllianceSetupWidget::Apply(), attackpossible2n(), attackpossible2u(), authenticateUser(), CargoGuiFunctions::UnitTraining::available(), CargoGuiFunctions::OpenContainer::available(), CargoGuiFunctions::RecycleUnitCommandButton::available(), GuiFunctions::OpenContainer::available(), beginTurn(), Building::Building(), tplayerchange::buttonpressed(), calcvisibilityfield(), changePassword(), checkevents(), checkforreplay(), checkforvictory(), checkunitsforremoval(), checkUsedASCVersions(), clearvisibility(), compareMapResources(), computeview(), continueAndStartMultiplayerGame(), Building::convert(), DiscoverResources::DiscoverResources(), ReplayMapDisplay::displayMovingUnit(), PG_MapDisplay::displayMovingUnit(), doresearch(), editResearch(), editResearchPoints(), editTechAdapter(), EmailSetupWidget::EmailSetupWidget(), endRound(), endTurn(), DashboardPanel::eval(), evaluateviewcalculation(), EventEditor::EventEditor(), ASC_MainScreenWidget::eventKeyDown(), Maped_MainScreenWidget::eventKeyDown(), eventReady(), trunreplay::execnextreplaymove(), GuiFunctions::EndTurn::execute(), MapChangeCompleted::execute(), DisplayImmediateMessage::execute(), SetViewSharing::execute(), executeUserAction(), findNextPlayer(), GameMap(), gamethread(), generatemap(), getCurrentPlayer(), getCursor(), AnyUnitEntersPolygon::getDetailledName(), Message::getFromText(), getInitialMapVisibility(), HiddenAStar3D::getMoveCost(), getPlayer(), AI::getPlayer(), getPlayerStrength(), getPlayersWithSharedViewMask(), DiplomaticStateVector::getProposal(), Research::getResearchPerTurn(), AllBuildingsLost::getState(), AllUnitsLost::getState(), AllEnemyUnitsDestroyed::getState(), AllEnemyBuildingsDestroyed::getState(), getTransferLimitation(), getUnit(), getVisibilityStatistics(), DiplomacyCommand::go(), ConstructUnitCommand::go(), PlayerSetupWidget::guessHeight(), ttributepayments::init(), tresearchinfo::init(), iterateToNextPlayer(), tsavegameloaders::loadgame(), tnetworkloaders::loadnwgame(), mainloopidle(), maintainencecheck(), Message::Message(), next_turn(), UnitInfoPanel::onClick(), DashboardPanel::painter(), ContainerBase::paintField(), PlayerSetupWidget::PlayerSetupWidget(), process_ASC_map(), process_BI_map(), read(), tgameloaders::readAI(), tspfldloaders::readdissections(), tspfldloaders::readmessages(), ResearchGraph::recalc(), Building::registerForNewOwner(), Vehicle::registerForNewOwner(), researchinfo(), resize(), resourceAnalysis(), resourceComparison(), tchoosetechlevel::run(), runai(), MapNetwork::searchAllVehiclesNextToBuildings(), selectPlayer(), FileTransfer::send(), seteventtriggers(), setPlayerView(), ResearchGraph::setResearch(), tmessagedlg::setup(), showAttackAnimation(), showPlayerTime(), MapNetwork::start(), PutTribute::start(), startGame(), transfer_all_outstanding_tribute(), TransferHandler::TransferHandler(), tshowhistoryinit(), DiplomaticStateVector::turnBegins(), ResearchWindow::update(), OverviewMapHolder::updateField(), Vehicle::Vehicle(), Vehicle::vehicleconstructable(), VehiclePropertyEditor::VehiclePropertyEditor(), viewterraininfo(), write(), tgameloaders::writeAI(), tspfldloaders::writedissections(), tspfldloaders::writemessages(), Building::~Building(), ~GameMap(), and Vehicle::~Vehicle().

bool GameMap::playerAiRunning[9]

Definition at line 192 of file gamemap.h.

Referenced by getInitialMapVisibility(), and AI::isRunning().

VisibilityStates GameMap::playerAiVision[9]

Definition at line 193 of file gamemap.h.

Referenced by getInitialMapVisibility(), AI::getVision(), and AI::setVision().

struct GameMap::PreferredFilenames GameMap::preferredFileNames
Properties GameMap::properties

general key/value storage, primarily for Lua scripts

Definition at line 572 of file gamemap.h.

Referenced by read(), and write().

ReplayInfo* GameMap::replayinfo
sigc::signal<void,const MapCoodinateVector&> GameMap::sigCoordinateShift

called when the map is resized and all coordinates have to be adjusted

Definition at line 505 of file gamemap.h.

Referenced by MoveUnitCommand::MoveUnitCommand(), and resize().

sigc::signal< void, GameMap & > GameMap::sigMapCreation
static
sigc::signal< void, GameMap & > GameMap::sigMapDeletion
static
sigc::signal<void,Player&> GameMap::sigMapWon

Definition at line 498 of file gamemap.h.

Referenced by CampaignActionLogger::CampaignActionLogger(), and NextMap::execute().

sigc::signal<void,Player&> GameMap::sigPlayerTurnBegins
sigc::signal<void,Player&> GameMap::sigPlayerTurnEnds

Definition at line 496 of file gamemap.h.

Referenced by endTurn(), and Player::setParentMap().

sigc::signal< void, GameMap *, Player & > GameMap::sigPlayerTurnEndsStatic
static

Definition at line 502 of file gamemap.h.

Referenced by endTurn(), gamethread(), and runTester().

sigc::signal<void,Player&> GameMap::sigPlayerTurnHasEnded

Definition at line 497 of file gamemap.h.

Referenced by endTurn(), hookGuiToMap(), and TaskContainer::TaskContainer().

sigc::signal<void,Player&> GameMap::sigPlayerUserInteractionBegins
sigc::signal<void,Player&> GameMap::sigPlayerUserInteractionEnds
enum GameMap::State GameMap::state
Password GameMap::supervisorpasswordcrc

Definition at line 368 of file gamemap.h.

Referenced by k_loadmap(), read(), StartMultiplayerGame::start(), and write().

AbstractTaskContainer* GameMap::tasks
char* GameMap::temp
char* GameMap::temp2
int* GameMap::temp3
int* GameMap::temp4
GameTime GameMap::time
class GameMap::ResourceTribute GameMap::tribute
class GameMap::UnitProduction GameMap::unitProduction
MessagePntrContainer GameMap::unsentmessage

the list of messages that were written this turn and are waiting to be processed at the end of the turn

Definition at line 350 of file gamemap.h.

Referenced by executeUserAction(), tspfldloaders::readmessages(), and tspfldloaders::writemessages().

struct GameMap::Weather GameMap::weather
int GameMap::xsize

the size of the map

Definition at line 201 of file gamemap.h.

Referenced by tmapgenerator::addcoast(), tplayerchange::anzeige(), attackpossible(), tplayerchange::buttonpressed(), calculateallobjects(), ForestCalculation::calculateforest(), MapDisplayPG::centerOnField(), tspfldloaders::chainitems(), checkobjectsforremoval(), checkunitsforremoval(), ResizeMap::checkvalue(), MapDisplayPG::checkViewPosition(), clearvisibility(), computeview(), OverviewMapHolder::drawNextField(), endRound(), NewGuiHost::evalCursor(), evaluateviewcalculation(), MapDisplayPG::eventMouseButtonDown(), MapDisplayPG::eventMouseMotion(), execaction(), execaction_pg(), GameMap(), gamethread(), JumpDriveCommand::getDestinations(), getfield(), getField(), getVisibilityStatistics(), MapField::getx(), MapField::gety(), tmapgenerator::init(), OverviewMapHolder::init(), ResizeMap::init(), AStar3D::initNode(), WeatherField::isOnMap(), MemoryMeasurement::measure(), MirrorMap::mirrorX(), MirrorMap::mirrorY(), OverviewMapPanel::mouseClick(), Weathercast::mouseClick(), FieldAddressing::operate(), CopyMap::paste(), InsertBiMap::preparemap(), process_ASC_map(), process_BI_map(), read(), tspfldloaders::readfields(), Player::resetView(), MapField::resetView(), resize(), resourceComparison(), UnitTypeTransformation::run(), setCursorPosition(), tmapgenerator::setmap(), setweatherall(), ForestCalculation::Smoothing::SmoothIt(), SearchFields::startsearch(), PackageManager::storeData(), Player::swap(), testDebugFunction(), transformMap(), VehicleCounterFactory::VehicleCounterFactory(), WholeMapRenderer::WholeMapRenderer(), width(), write(), and tspfldloaders::writefields().

int GameMap::ysize

Definition at line 201 of file gamemap.h.

Referenced by tmapgenerator::addcoast(), tplayerchange::anzeige(), attackpossible(), tplayerchange::buttonpressed(), calculateallobjects(), ForestCalculation::calculateforest(), MapDisplayPG::centerOnField(), tspfldloaders::chainitems(), checkobjectsforremoval(), checkunitsforremoval(), ResizeMap::checkvalue(), MapDisplayPG::checkViewPosition(), cleartemps(), clearvisibility(), computeview(), OverviewMapHolder::drawNextField(), endRound(), NewGuiHost::evalCursor(), evaluateviewcalculation(), MapDisplayPG::eventMouseButtonDown(), MapDisplayPG::eventMouseMotion(), execaction(), execaction_pg(), GameMap(), gamethread(), getCursor(), JumpDriveCommand::getDestinations(), getfield(), getField(), getVisibilityStatistics(), height(), tmapgenerator::init(), OverviewMapHolder::init(), ResizeMap::init(), AStar3D::initNode(), WeatherField::isOnMap(), MemoryMeasurement::measure(), MirrorMap::mirrorX(), MirrorMap::mirrorY(), OverviewMapPanel::mouseClick(), Weathercast::mouseClick(), FieldAddressing::operate(), CopyMap::paste(), InsertBiMap::preparemap(), process_ASC_map(), process_BI_map(), read(), tspfldloaders::readfields(), Player::resetView(), MapField::resetView(), resize(), resourceComparison(), UnitTypeTransformation::run(), setCursorPosition(), tmapgenerator::setmap(), setweatherall(), ForestCalculation::Smoothing::SmoothIt(), SearchFields::startsearch(), PackageManager::storeData(), Player::swap(), testDebugFunction(), transformMap(), VehicleCounterFactory::VehicleCounterFactory(), WholeMapRenderer::WholeMapRenderer(), write(), tspfldloaders::writefields(), and ~GameMap().


The documentation for this class was generated from the following files: