Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

spfst.h File Reference

map accessing and usage routines used by ASC and the mapeditor More...

#include <sigc++/sigc++.h>
#include "newfont.h"
#include "typen.h"
#include "gamemap.h"

Include dependency graph for spfst.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

tfieldgetfield (int x, int y)
 returns the field at the given coordinates
void putbuilding (const MapCoordinate &entryPosition, int color, const BuildingType *buildingtyp, int completion, int ignoreunits=0)
void putbuilding2 (const MapCoordinate &entryPosition, int color, BuildingType *buildingtyp)
void calculateallobjects (GameMap *m=actmap)
 recalculates the connection (like road interconnections) of all objects on the map
void calculateobject (int x, int y, bool mof, const ObjectType *obj, GameMap *gamemap=actmap)
 recalculates the connection (like road interconnections) of an object
void calculateobject (const MapCoordinate &pos, bool mof, const ObjectType *obj, GameMap *gamemap=actmap)
int fieldAccessible (const tfield *field, const Vehicle *vehicle, int uheight=-2, const bool *attacked=NULL, bool ignoreVisibility=false)
void checkunitsforremoval (void)
 removes all units that cannot exist any more, either due to invalid terrin (like tanks on melting ice) or too much wind (eg.
void checkobjectsforremoval (void)
 removes all objects that cannot exist where they currently are (terrainaccess)
int getmaxwindspeedforunit (const Vehicle *eht)
 returns the maximum wind speed that the unit can endure
int getwindheightforunit (const Vehicle *eht, int uheight=-1)
 Wind may be different at different heights.
int terrainaccessible (const tfield *field, const Vehicle *vehicle, int uheight=-1)
 Checks if the unit can drive on the field.
int terrainaccessible2 (const tfield *field, const Vehicle *vehicle, int uheight=-1)
 Checks if the unit can drive on the field.
int terrainaccessible2 (const tfield *field, const TerrainAccess &terrainAccess, int uheight)
 Checks if the field can be accessed.
int getheightdelta (int height1, int height2)
 {@
int getheightdelta (const ContainerBase *c1, const ContainerBase *c2)
bool fieldvisiblenow (const tfield *pe, int player=actmap->actplayer, GameMap *map=actmap)
 {@
bool fieldvisiblenow (const tfield *pe, Vehicle *veh, int player=actmap->actplayer)
VisibilityStates fieldVisibility (const tfield *pe, int player=actmap->actplayer)
 {@
VisibilityStates fieldVisibility (const tfield *pe, int player, GameMap *gamemap)
void displaymap ()

Variables

Schriften schriften
GameMapactmap
SigC::Signal0< void > repaintMap
 }@
SigC::Signal0< void > repaintDisplay
SigC::Signal0< void > updateFieldInfo
SigC::Signal0< void > cursorMoved
SigC::Signal0< void > viewChanged
 the view of the player onto the map changed, for example because he scrolled the map
SigC::Signal1< void, GameMap * > mapChanged
SigC::Signal1< void, ContainerBase * > showContainerInfo
SigC::Signal1< void, Vehicletype * > showVehicleTypeInfo
SigC::Signal0< bool > idleEvent


Detailed Description

map accessing and usage routines used by ASC and the mapeditor

spfst comes from german "Spielfeldsteuerung" :-)

Definition in file spfst.h.


Function Documentation

void calculateallobjects GameMap m = actmap  ) 
 

recalculates the connection (like road interconnections) of all objects on the map

Definition at line 664 of file spfst.cpp.

References ForestCalculation::calculateforest(), calculateobject(), tfield::objects, and tfield::setparams().

Referenced by GameMap::calculateAllObjects(), execaction(), tloadBImap::LoadFromFile(), tsavegameloaders::loadgame(), tnetworkloaders::loadnwgame(), GameMap::resize(), and transformMap().

void calculateobject const MapCoordinate pos,
bool  mof,
const ObjectType obj,
GameMap gamemap = actmap
 

Definition at line 561 of file spfst.cpp.

References calculateobject().

void calculateobject int  x,
int  y,
bool  mof,
const ObjectType obj,
GameMap gamemap = actmap
 

recalculates the connection (like road interconnections) of an object

Parameters:
x The x coordinate of the field
y The y coordinate of the field
mof Should the neighbouring fields be modified if necessary
obj The objecttype that is to be aligned on this field
gamemap the map that the object is on

Definition at line 570 of file spfst.cpp.

References ObjectType::AutoBorder, calculateobject(), cbbuildingentry, GameMap::getField(), getnextfield(), GameMap::getobjecttype_byid(), getTerrainBitType(), ObjectType::KeepOrientation, ObjectType::netBehaviour, ObjectType::NetToBorder, ObjectType::NetToBuildingEntry, ObjectType::NetToBuildings, ObjectType::NetToSelf, ContainerBaseType::NoObjectChaining, Object::setdir(), tfield::setparams(), sidenum, and ObjectType::SpecialForest.

void checkobjectsforremoval void   ) 
 

removes all objects that cannot exist where they currently are (terrainaccess)

Definition at line 333 of file spfst.cpp.

References tfield::bdt, getfield(), tfield::getweather(), tfield::objects, and tfield::removeobject().

Referenced by MapChangeCompleted::execute().

void checkunitsforremoval void   ) 
 

removes all units that cannot exist any more, either due to invalid terrin (like tanks on melting ice) or too much wind (eg.

hoovercrafts in a storm)

Definition at line 347 of file spfst.cpp.

References TerrainAccess::accessible(), tfield::bdt, chfahrend, getfield(), getmaxwindspeedforunit(), getUnitReference(), Vehicle::height, maxwindspeed, GameMap::player, Vehicletype::terrainaccess, Vehicle::typ, tfield::vehicle, Player::vehicleList, GameMap::weather, GameMap::Weather::windSpeed, Vehicle::xpos, and Vehicle::ypos.

Referenced by GameMap::endTurn(), and MapChangeCompleted::execute().

void displaymap  ) 
 

Definition at line 55 of file spfst.cpp.

References repaintMap.

Referenced by changebuildingvalues(), choosezoomlevel(), continueAndStartMultiplayerGame(), destructbuildinglevel2(), execaction(), execaction_pg(), trunreplay::execnextreplaymove(), execuseraction(), execuseraction2(), GuiFunctions::Cancel::execute(), GuiFunctions::Movement::execute(), GuiFunctions::Ascend::execute(), GuiFunctions::Descend::execute(), GuiFunctions::EndTurn::execute(), GuiFunctions::Attack::execute(), GuiFunctions::DestructBuilding::execute(), GuiFunctions::RefuelUnit::execute(), GuiFunctions::RefuelUnitDialog::execute(), GuiFunctions::PutMine::execute(), GuiFunctions::PutAntiTankMine::execute(), GuiFunctions::PutAntiPersonalMine::execute(), GuiFunctions::PutAntiShipMine::execute(), GuiFunctions::PutAntiSubMine::execute(), GuiFunctions::RemoveMine::execute(), GuiFunctions::InternalAmmoTransferDialog::execute(), k_loadmap(), k_savemap(), loadGame(), mirrorMap(), movebuilding(), pasteArea(), putMine(), resizemap(), trunreplay::run(), MapNetwork::searchfield(), selectgraphicset(), StartMultiplayerGame::start(), MapSwitcher::toggle(), and transformMap().

int fieldAccessible const tfield field,
const Vehicle vehicle,
int  uheight = -2,
const bool *  attacked = NULL,
bool  ignoreVisibility = false
 

tests if the vehicle can move onto the field

Parameters:
uheight the level of height for which the check should be done. Use -2 to use the current height of the unit
Return values:
0 unit cannot move there
1 unit can pass over the field
2 unit can stop its movement there

Definition at line 121 of file spfst.cpp.

References GameMap::actplayer, attackpossible28(), cbbuildingentry, chgetaucht, chschwimmend, chtieffliegend, ContainerBase::color, fieldVisibility(), getheightdelta(), ContainerBase::getMap(), getTerrainBitType(), Vehicletype::height, Vehicle::height, log2(), PEACE, GameMap::player, terrainaccessible(), Vehicle::typ, vehicleplattfahrbar(), and visible_not.

Referenced by SearchReconquerBuilding::canUnitCapture(), AStar::findPath(), AStar3D::findPath(), AStar::getMoveCost(), AStar3D::getMoveCost(), ClipBoardBase::place(), and FindUnitPlacementPos::testfield().

VisibilityStates fieldVisibility const tfield pe,
int  player,
GameMap gamemap
 

Definition at line 545 of file spfst.cpp.

References GameMap::getInitialMapVisibility(), tfield::visible, visible_all, and visible_not.

VisibilityStates fieldVisibility const tfield pe,
int  player = actmap-,
actplayer 
 

{@

evaluates the visibility of a field

Parameters:
pe the field to be evaluated
player the player who is 'looking'

bool fieldvisiblenow const tfield pe,
Vehicle veh,
int  player = actmap-,
actplayer 
 

bool fieldvisiblenow const tfield pe,
int  player = actmap-,
actplayer  ,
GameMap map = actmap
 

{@

evaluates the visibility of a field

Parameters:
pe the field to be evaluated
player the player who is 'looking'

tfield* getfield int  x,
int  y
 

returns the field at the given coordinates

Definition at line 195 of file spfst.cpp.

References GameMap::field, GameMap::xsize, and GameMap::ysize.

Referenced by tmapgenerator::addcoast(), attackpossible(), treactionfirereplay::checkfield(), tsearchreactionfireingunits::checkfield(), tmapgenerator::checkland(), checkobjectsforremoval(), checkunitsforremoval(), destructbuildinglevel2(), ReplayMapDisplay::displayActionCursor(), ReplayMapDisplay::displayMovingUnit(), ReplayMapDisplay::displayPosition(), GameMap::endTurn(), trunreplay::execnextreplaymove(), GuiFunctions::RepairUnit::execute(), VehicleAttack::execute(), VehicleService::execute(), AStar::findPath(), GameMap::getContainer(), tloadBImap::getfield(), InsertBiMap::getfield(), FieldList< T >::getField(), getmaxwindspeedforunit(), StratAStar::getMoveCost(), HiddenAStar::getMoveCost(), AStar::getMoveCost(), tunit::init(), tsearchdestructbuildingfields::initdestructbuilding(), movebuilding(), BaseVehicleMovement::moveunitxy(), UnitTypeTransformation::run(), WeaponRange::run(), ShowPolygonUsingTemps::setpointabs(), tunitattacksobject::setresult(), tunitattacksunit::setup(), tunitattacksbuilding::setup(), tunitattacksobject::setup(), AI::showFieldInformation(), and stu_height().

int getheightdelta const ContainerBase c1,
const ContainerBase c2
 

Definition at line 468 of file spfst.cpp.

References ContainerBase::getHeight(), getheightdelta(), and log2().

int getheightdelta int  height1,
int  height2
 

{@

Since floating and ground based are assumed to be the same effective height, a simple subtraction isn't sufficient. Height is a numeric (and not bitmapped) value

Definition at line 474 of file spfst.cpp.

int getmaxwindspeedforunit const Vehicle eht  ) 
 

returns the maximum wind speed that the unit can endure

Definition at line 407 of file spfst.cpp.

References tfield::bdt, cbfestland, cbharbour, cbwater0, chfahrend, chhochfliegend, chschwimmend, chtieffliegend, getfield(), getTerrainBitType(), log2(), maxint, maxwindspeed, and tfield::vehicle.

Referenced by checkunitsforremoval(), GameMap::endTurn(), and DashboardPanel::eval().

int getwindheightforunit const Vehicle eht,
int  uheight = -1
 

Wind may be different at different heights.

This function returns the index for the wind array. If uheight != -1 it is assumed the unit was uheight instead the actual level of height

Definition at line 393 of file spfst.cpp.

References chfliegend, chhochfliegend, and Vehicle::height.

void putbuilding const MapCoordinate entryPosition,
int  color,
const BuildingType buildingtyp,
int  completion,
int  ignoreunits = 0
 

Definition at line 206 of file spfst.cpp.

References tfield::building, BuildingType::construction_steps, fatalError(), BuildingType::fieldExists(), GameMap::getField(), BuildingType::getFieldCoordinate(), Building::setCompletion(), and tfield::vehicle.

Referenced by BuildingItem::place().

void putbuilding2 const MapCoordinate entryPosition,
int  color,
BuildingType buildingtyp
 

Definition at line 239 of file spfst.cpp.

References Building::actstorage, ContainerBase::bi_resourceplus, Building::connection, BuildingType::construction_steps, ContainerBaseType::defaultProduction, Resources::energy, fatalError(), BuildingType::fieldExists(), Resources::fuel, Building::getCompletion(), GameMap::getField(), BuildingType::getFieldCoordinate(), Resources::material, ContainerBase::maxplus, Building::netcontrol, ContainerBase::plus, Building::setCompletion(), Building::typ, tfield::vehicle, and Building::visible.

Referenced by trunreplay::execnextreplaymove(), and GuiFunctions::BuildingConstruction::execute().

int terrainaccessible const tfield field,
const Vehicle vehicle,
int  uheight = -1
 

Checks if the unit can drive on the field.

Parameters:
field the field that the unit is checked again
vehicle the unit who accessabilit to field is tested
uheight if != -1, the unit is assumed to be on this height instead of the actual one.
Returns:
0=unit cannot access this field; 1=unit can move across this field but cannot keep standing there 2=unit can move and stand there

Definition at line 67 of file spfst.cpp.

References terrainaccessible2().

Referenced by Vehicle::canMove(), fieldAccessible(), tunit::init(), movebuilding(), VehicleItem::place(), and tmapgenerator::setmap().

int terrainaccessible2 const tfield field,
const TerrainAccess terrainAccess,
int  uheight
 

Checks if the field can be accessed.

Returns:
0=unit cannot access this field; 1=unit can move across this field but cannot keep standing there; 2=unit can move and stand there; < 0 unit cannot access this field, because of: -1 very deep water required to submerge deep -2 deep water required to submerge -3 unit cannot drive onto terrain

Definition at line 88 of file spfst.cpp.

References TerrainAccess::accessible(), tfield::bdt, cbwater, cbwater2, cbwater3, chgetaucht, chschwimmend, chtieffliegend, chtiefgetaucht, and getTerrainBitType().

int terrainaccessible2 const tfield field,
const Vehicle vehicle,
int  uheight = -1
 

Checks if the unit can drive on the field.

Parameters:
field the field that the unit is checked again
vehicle the unit who accessabilit to field is tested
uheight if != -1, the unit is assumed to be on this height instead of the actual one.
Returns:
0=unit cannot access this field; 1=unit can move across this field but cannot keep standing there; 2=unit can move and stand there; < 0 unit cannot access this field, because of: -1 very deep water required to submerge deep -2 deep water required to submerge -3 unit cannot drive onto terrain

Definition at line 76 of file spfst.cpp.

References Vehicletype::height, Vehicle::height, Vehicletype::terrainaccess, terrainaccessible2(), and Vehicle::typ.


Variable Documentation

GameMap* actmap
 

Definition at line 61 of file spfst.cpp.

Referenced by EventAreasDialog::addNewWeatherAreaInformation(), EventWindChangesDialog::addNewWindInformation(), tplayerchange::anzeige(), tsearchreactionfireingunits::attack(), attackpossible(), attackpossible2n(), attackpossible2u(), CargoGuiFunctions::OpenContainer::available(), GuiFunctions::Movement::available(), GuiFunctions::Ascend::available(), GuiFunctions::Descend::available(), GuiFunctions::EndTurn::available(), GuiFunctions::Attack::available(), GuiFunctions::PowerOn::available(), GuiFunctions::PowerOff::available(), GuiFunctions::UnitInfo::available(), GuiFunctions::DestructBuilding::available(), GuiFunctions::OpenContainer::available(), GuiFunctions::EnableReactionfire::available(), GuiFunctions::DisableReactionfire::available(), GuiFunctions::JumpDriveIcon::available(), GuiFunctions::RepairUnit::available(), GuiFunctions::RefuelUnit::available(), GuiFunctions::RefuelUnitDialog::available(), GuiFunctions::PutMine::available(), GuiFunctions::PutGroundMine::available(), GuiFunctions::PutAntiShipMine::available(), GuiFunctions::PutAntiSubMine::available(), GuiFunctions::RemoveMine::available(), GuiFunctions::BuildObject::available(), GuiFunctions::BuildVehicle::available(), GuiFunctions::BuildingConstruction::available(), GuiFunctions::ConstructBuilding::available(), GuiFunctions::SelfDestructIcon::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(), benchgame(), buildemptymap(), ResourcePlacementDialog::buttonEvent(), tplayerchange::buttonpressed(), tfight::calc(), calcMoveMalus(), MapDisplayPG::centerOnField(), VehicleService::FieldSearch::checkBuilding2Vehicle(), checkevents(), tsearchreactionfireingunits::checkfield(), GuiIconHandler::checkForKey(), checkforreplay(), checkforvictory(), checkJournal(), GuiFunctions::ObjectBuildingGui::checkObject(), checktimedevents(), checkUsedASCVersions(), ResizeMap::checkvalue(), VehicleService::FieldSearch::checkVehicle2Vehicle(), MapDisplayPG::checkViewPosition(), continueAndStartMultiplayerGame(), continuenetworkgame(), AttackFormula::defense_experience(), MapSwitcher::deleteMaps(), destructbuildinglevel1(), destructbuildinglevel2(), VehicleItem::display(), BuildingItem::display(), ReplayMapDisplay::displayActionCursor(), PG_MapDisplay::displayMovingUnit(), ReplayMapDisplay::displayMovingUnit(), ReplayMapDisplay::displayPosition(), displaywindspeed(), editArchivalInformation(), editjournal(), editpolygon(), editResearch(), editResearchPoints(), editTechAdapter(), DashboardPanel::eval(), GuiFunctions::ObjectBuildingGui::eval(), GuiFunctions::VehicleBuildingGui::eval(), NewVehicleTypeDetection::evalbuffer(), NewGuiHost::evalCursor(), EventAreasDialog::EventAreasDialog(), EventEditor::EventEditor(), ASC_MainScreenWidget::eventKeyDown(), Maped_MainScreenWidget::eventKeyDown(), MapDisplayPG::eventMouseButtonDown(), TargetCoordinateLocator::eventMouseButtonDown(), MapDisplayPG::eventMouseMotion(), eventReady(), EventWindChangesDialog::EventWindChangesDialog(), execaction(), execaction_pg(), Building::execnetcontrol(), trunreplay::execnextreplaymove(), execuseraction(), execuseraction2(), CargoGuiFunctions::Movement::execute(), GuiFunctions::AttackGui::execute(), GuiFunctions::Cancel::execute(), GuiFunctions::Movement::execute(), GuiFunctions::Ascend::execute(), GuiFunctions::Descend::execute(), GuiFunctions::EndTurn::execute(), GuiFunctions::Attack::execute(), GuiFunctions::PowerOn::execute(), GuiFunctions::PowerOff::execute(), GuiFunctions::DestructBuilding::execute(), GuiFunctions::OpenContainer::execute(), GuiFunctions::EnableReactionfire::execute(), GuiFunctions::DisableReactionfire::execute(), GuiFunctions::JumpDriveIcon::execute(), GuiFunctions::RepairUnit::execute(), GuiFunctions::RefuelUnit::execute(), GuiFunctions::RefuelUnitDialog::execute(), GuiFunctions::ObjectBuildingGui::execute(), GuiFunctions::BuildObject::execute(), GuiFunctions::VehicleBuildingGui::execute(), GuiFunctions::BuildVehicle::execute(), GuiFunctions::BuildingConstruction::execute(), GuiFunctions::ConstructBuilding::execute(), GuiFunctions::InternalAmmoTransferDialog::execute(), GuiFunctions::SelfDestructIcon::execute(), BaseVehicleMovement::execute(), VehicleMovement::execute(), ChangeVehicleHeight::execute(), VehicleAttack::execute(), CopyMap::fieldOperator(), MapDisplayPG::fillSurface(), tsearchreactionfireingunits::finalCheck(), AStar::findPath(), gamethread(), generatemap(), getactfield(), HiddenAStar::getMoveCost(), MapSwitcher::getName(), GuiFunctions::AttackGui::getName(), GuiFunctions::RepairUnit::getName(), getplayercolor(), getPlayerStrength(), getSelectedField(), AllEnemyBuildingsDestroyed::getState(), ContextMenu::ContainerProperties::getText(), ContextMenu::ContainerCargo::getText(), getxy_building(), giveunitaway(), importbattleislemap(), IngameMessageViewer::IngameMessageViewer(), tchoice_dlg::init(), ResizeMap::init(), tdialogbox::init(), tmapgenerator::init(), ttributepayments::init(), tresearchinfo::init(), tgiveunitawaydlg::init(), tshownewtanks::init(), tsearchdestructbuildingfields::initdestructbuilding(), insertbattleislemap(), CargoItemFactory::isFiltered(), CargoItemFactory::itemSelected(), k_loadmap(), k_savemap(), MapDisplayPG::keyboardHandler(), tloadBImap::LoadFromFile(), loadGame(), loadmap(), loadStartupMap(), logAllianceChanges(), logtoreplayinfo(), mainloopidle(), maintainencecheck(), mapeditorMainThread(), NewGuiHost::mapIconProcessing(), MessageSelectionWindow::messageSelected(), mirrorMap(), MirrorMap::mirrorX(), MirrorMap::mirrorY(), OverviewMapPanel::mouseClick(), Weathercast::mouseClick(), BaseVehicleMovement::moveunitxy(), newmap(), newmessage(), NewVehicleTypeDetection::NewVehicleTypeDetection(), next_turn(), UnitInfoPanel::onClick(), DashboardPanel::painter(), OverviewMapPanel::painter(), Weathercast::painter(), ShowPolygonUsingTemps::paintPolygon(), CopyMap::paste(), pasteArea(), ClipBoardBase::pasteUnit(), ClipBoardBase::place(), VehicleItem::place(), BuildingItem::place(), ObjectItem::place(), TerrainItem::place(), MineItem::place(), placeCurrentItem(), PlayerColorPanel::PlayerColorPanel(), ReplayMapDisplay::playPositionalSound(), MapDisplayPG::Cursor::pos(), ImportBiMap::preparemap(), InsertBiMap::preparemap(), process_ASC_map(), process_BI_map(), ContainerControls::produceUnit(), ContainerControls::produceUnitHypothetically(), ContainerControls::productionLinesBuyable(), putMine(), readtextmessage(), tdialogbox::redraw(), ObjectItem::remove(), removeCurrentItem(), researchinfo(), resourceAnalysis(), resourceComparison(), ResizeMap::run(), tputresourcesdlg::run(), tchoosetechnology::run(), ttributepayments::run(), tchoosetechlevel::run(), tgiveunitawaydlg::run(), trunreplay::run(), runSpecificReplay(), tsavegameloaders::savegame(), saveGame(), MapDisplayPG::scrollMap(), GuiFunctions::ObjectBuildingGui::search(), GuiFunctions::VehicleBuildingGui::search(), GuiFunctions::BuildingConstruction::search(), selectFields(), selectgraphicset(), selectunit(), GuiFunctions::BuildingConstruction::setBuilding(), tmapgenerator::setmap(), IngameMessageViewer::SetMessage(), tunitattacksunit::setresult(), tunitattacksbuilding::setresult(), tunitattacksobject::setresult(), tmessagedlg::setup(), setweatherall(), PG_MapDisplay::showBattle(), showbdtbits(), showCargoSummary(), showGameParameters(), showMemoryFootprint(), showPlayerTime(), AvailableProductionItemFactory::spawnNextItem(), StartMultiplayerGame::start(), startnextcampaignmap(), AttackFormula::strength_experience(), testDebugFunction(), MapSwitcher::toggle(), ContainerControls::trainUnit(), transfer_all_outstanding_tribute(), transformMap(), Building::unchainbuildingfromfield(), unitInfoDialog(), ContainerControls::unitTrainingAvailable(), ResourceInfoWindow::update(), MapDisplayPG::updateMap(), Maped_MainScreenWidget::updateStatusBar(), viewjournal(), viewmessages(), viewMiningPower(), viewtextmessage(), viewUnitSetinfo(), trunreplay::wait(), Weathercast::Weathercast(), WeatherDialog::WeatherDialog(), WeatherPanel::WeatherPanel(), and GameMap::~GameMap().

SigC::Signal0<void> cursorMoved
 

Definition at line 46 of file spfst.cpp.

Referenced by MapDisplayPG::eventMouseMotion(), ExchangeGraphics::ExchangeGraphics(), main(), NewGuiHost::NewGuiHost(), Maped_MainScreenWidget::setupStatusBar(), and UnitMovementRangeLayer::UnitMovementRangeLayer().

SigC::Signal0<bool> idleEvent
 

Definition at line 51 of file spfst.cpp.

Referenced by ASC_PG_App::ASC_PG_App(), and OverviewMapHolder::connect().

SigC::Signal1<void,GameMap*> mapChanged
 

Definition at line 50 of file spfst.cpp.

Referenced by diplomaticChange(), execaction(), GuiFunctions::JumpDriveIcon::execute(), VehicleMovement::execute(), main(), mirrorMap(), newmap(), pasteArea(), placeCurrentItem(), and MainScreenWidget::setup().

SigC::Signal0<void> repaintDisplay
 

Definition at line 44 of file spfst.cpp.

Referenced by tdialogbox::done(), execuseraction(), gamethread(), tdialogbox::redrawall(), tdialogbox::redrawall2(), tdialogbox::run(), MainScreenWidget::setup(), and tdialogbox::~tdialogbox().

SigC::Signal0<void> repaintMap
 

}@

Definition at line 43 of file spfst.cpp.

Referenced by benchgame(), diplomaticChange(), PG_MapDisplay::displayMap(), displaymap(), MapDisplayPG::eventMouseButtonDown(), execaction(), execaction_pg(), execuseraction2(), CargoGuiFunctions::Movement::execute(), GuiFunctions::AttackGui::execute(), GuiFunctions::OpenContainer::execute(), GuiFunctions::JumpDriveIcon::execute(), GuiFunctions::RepairUnit::execute(), GuiFunctions::ObjectBuildingGui::execute(), GuiFunctions::BuildObject::execute(), GuiFunctions::VehicleBuildingGui::execute(), GuiFunctions::BuildVehicle::execute(), GuiFunctions::BuildingConstruction::execute(), GuiFunctions::SelfDestructIcon::execute(), gamethread(), hookGuiToMap(), main(), MapDisplayPG::MapDisplayPG(), UnitWeaponRangeLayer::operateField(), UnitMovementRangeLayer::operateField(), AI::run(), GuiFunctions::BuildingConstruction::setBuilding(), SelectFromMap::Show(), AI::showFieldInformation(), PolygonEditor::showFieldMarking(), SelectFromMap::showFieldMarking(), startnextcampaignmap(), testDebugFunction(), and SelectFromMap::~SelectFromMap().

Schriften schriften
 

Definition at line 63 of file spfst.cpp.

Referenced by tplayerchange::anzeige(), thelpsystem::buildgraphics(), tmapgenerator::buttonpressed(), tdialogbox::disablebutton(), tviewtext::displaytext(), tdialogbox::editfield(), tdialogbox::enablebutton(), tviewtext::evalcommand(), tdialogbox::execbutton(), infomessage(), tchoice_dlg::init(), tbi3preferences::init(), ResizeMap::init(), MultilineEdit::init(), tdisplaymessage::init(), tstringselect::init(), tmapgenerator::init(), BuildingValues::init(), MirrorMap::init(), ttributepayments::init(), tresearchinfo::init(), tshownewtanks::init(), loaddata(), main(), mapeditorMainThread(), tdialogbox::rahmen3(), tviewanytext::redraw(), tdialogbox::redraw(), tchoosetechnology::run(), setstartvariables(), and tdialogbox::tdialogbox().

SigC::Signal1<void,ContainerBase*> showContainerInfo
 

Definition at line 47 of file spfst.cpp.

SigC::Signal1<void,Vehicletype*> showVehicleTypeInfo
 

Definition at line 48 of file spfst.cpp.

SigC::Signal0<void> updateFieldInfo
 

Definition at line 45 of file spfst.cpp.

Referenced by tsearchreactionfireingunits::attack(), treactionfirereplay::checkfield(), DashboardPanel::DashboardPanel(), MapDisplayPG::eventMouseButtonDown(), ExchangeGraphics::ExchangeGraphics(), execaction(), trunreplay::execnextreplaymove(), execuseraction2(), GuiFunctions::AttackGui::execute(), GuiFunctions::Cancel::execute(), GuiFunctions::Movement::execute(), GuiFunctions::Ascend::execute(), GuiFunctions::Descend::execute(), GuiFunctions::PowerOn::execute(), GuiFunctions::PowerOff::execute(), GuiFunctions::DestructBuilding::execute(), GuiFunctions::OpenContainer::execute(), GuiFunctions::EnableReactionfire::execute(), GuiFunctions::DisableReactionfire::execute(), GuiFunctions::RepairUnit::execute(), GuiFunctions::RefuelUnit::execute(), GuiFunctions::RefuelUnitDialog::execute(), GuiFunctions::PutMine::execute(), GuiFunctions::PutAntiTankMine::execute(), GuiFunctions::PutAntiPersonalMine::execute(), GuiFunctions::PutAntiShipMine::execute(), GuiFunctions::PutAntiSubMine::execute(), GuiFunctions::ObjectBuildingGui::execute(), GuiFunctions::BuildObject::execute(), GuiFunctions::VehicleBuildingGui::execute(), GuiFunctions::BuildVehicle::execute(), GuiFunctions::BuildingConstruction::execute(), GuiFunctions::ConstructBuilding::execute(), GuiFunctions::InternalAmmoTransferDialog::execute(), GuiFunctions::SelfDestructIcon::execute(), ReplayGuiFunctions::ReplayPlay::execute(), ReplayGuiFunctions::ReplayPause::execute(), ReplayGuiFunctions::ReplayFaster::execute(), ReplayGuiFunctions::ReplaySlower::execute(), ReplayGuiFunctions::ReplayRewind::execute(), ReplayGuiFunctions::ReplayExit::execute(), ReplayGuiFunctions::ReplayRecord::execute(), ReplayGuiFunctions::ReplayRecordExit::execute(), gamethread(), hookGuiToMap(), loadGame(), main(), BaseVehicleMovement::moveunitxy(), NewGuiHost::NewGuiHost(), NewGuiHost::popIconHandler(), NewGuiHost::pushIconHandler(), trunreplay::run(), runai(), Maped_MainScreenWidget::setupStatusBar(), StartMultiplayerGame::start(), and PG_MapDisplay::updateDashboard().

SigC::Signal0<void> viewChanged
 

the view of the player onto the map changed, for example because he scrolled the map

Definition at line 49 of file spfst.cpp.

Referenced by MapDisplayPG::centerOnField(), MapDisplayPG::eventMouseButtonDown(), execaction_pg(), execuseraction2(), OverviewMapPanel::OverviewMapPanel(), MapDisplayPG::scrollMap(), MapSwitcher::toggle(), and Weathercast::Weathercast().


Generated on Tue May 13 01:50:21 2008 for Advanced Strategic Command by  doxygen 1.4.2