
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 1649 of file guifunctions.cpp.
| bool GuiFunctions::BuildVehicleCommand::available | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 1663 of file guifunctions.cpp.
References actmap, GameMap::actplayer, commandPending(), ConstructUnitCommand::externalConstructionAvail(), GameMap::getField(), ContainerBase::getOwner(), ConstructUnitCommand::isFieldUsable(), NewGuiHost::pendingCommand, and MapField::vehicle.
| void GuiFunctions::BuildVehicleCommand::execute | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 1680 of file guifunctions.cpp.
References actmap, GameMap::cleartemps(), ActionRegistry::ConstructUnitCommand, createContext(), dispmessage2(), ConstructUnitCommand::Lack::Energy, GameAction::execute(), ConstructUnitCommand::external, ConstructUnitCommand::Lack::Fuel, VehicleProduction_SelectionWindow::getVehicletype(), ConstructUnitCommand::Lack::Material, Vehicle::maxMovement(), ConstructUnitCommand::Lack::Movement, NewGuiHost::pendingCommand, repaintMap, ConstructUnitCommand::Lack::Research, ASC_PG_Dialog::RunModal(), ConstructUnitCommand::setTargetPosition(), ActionResult::successful(), VehicleType::terrainaccess, TerrainAccess::toString(), ASCString::toString(), Vehicle::typ, VehicleType::unitConstructionMoveCostPercentage, updateFieldInfo, and warningMessage().
| Surface& GuiFunctions::BuildVehicleCommand::getImage | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1654 of file guifunctions.cpp.
References IconRepository::getIcon().
| ASCString GuiFunctions::BuildVehicleCommand::getName | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
1.5.1