
Public Member Functions | |
| bool | available (const MapCoordinate &pos, ContainerBase *subject, int num) |
| void | execute (const MapCoordinate &pos, ContainerBase *subject, int num) |
| Surface & | getImage (const MapCoordinate &pos, ContainerBase *subject, int num) |
| ASCString | getName (const MapCoordinate &pos, ContainerBase *subject, int num) |
Definition at line 1808 of file guifunctions.cpp.
| bool GuiFunctions::ConstructBuilding::available | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 1827 of file guifunctions.cpp.
References actmap, GameMap::actplayer, ConstructBuildingCommand::avail(), commandPending(), GameMap::getField(), ContainerBase::getOwner(), ConstructBuildingCommand::isFieldUsable(), NewGuiHost::pendingCommand, and MapField::vehicle.
| void GuiFunctions::ConstructBuilding::execute | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 1860 of file guifunctions.cpp.
References MapField::a, actmap, GameMap::cleartemps(), ActionRegistry::ConstructBuildingCommand, createContext(), displayActionError(), dispmessage2(), GameAction::execute(), GameMap::getField(), ContainerBase::getOwningPlayer(), Vehicle::getResource(), GuiFunctions::BuildingConstructionSelection::getSelectedType(), ConstructBuildingCommand::Lack::Level, maxint, NewGuiHost::pendingCommand, repaintMap, ConstructBuildingCommand::Lack::Research, ConstructBuildingCommand::setTargetPosition(), ActionResult::successful(), updateFieldInfo, and MapField::vehicle.
| Surface& GuiFunctions::ConstructBuilding::getImage | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1813 of file guifunctions.cpp.
References IconRepository::getIcon().
| ASCString GuiFunctions::ConstructBuilding::getName | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1816 of file guifunctions.cpp.
References NewGuiHost::pendingCommand.
1.5.1