
Public Member Functions | |
| bool | available (const MapCoordinate &pos, ContainerBase *subject, int num) |
| bool | checkForKey (const SDL_KeyboardEvent *key, int modifier, 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 1004 of file guifunctions.cpp.
| bool GuiFunctions::RepairUnit::available | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1007 of file guifunctions.cpp.
References actmap, GameMap::actplayer, RepairUnitCommand::availExternally(), commandPending(), GameMap::getField(), ContainerBase::getOwner(), NewGuiHost::pendingCommand, RepairUnitCommand::validTarget(), and MapField::vehicle.
| bool GuiFunctions::RepairUnit::checkForKey | ( | const SDL_KeyboardEvent * | key, | |
| int | modifier, | |||
| int | num | |||
| ) | [inline, virtual] |
| void GuiFunctions::RepairUnit::execute | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1027 of file guifunctions.cpp.
References actmap, commandPending(), createContext(), displayActionError(), dispmessage2(), GameAction::execute(), GameMap::getField(), NewGuiHost::pendingCommand, repaintMap, ActionRegistry::RepairUnitCommand, RepairUnitCommand::setTarget(), ActionResult::successful(), MapField::temp, updateFieldInfo, and MapField::vehicle.
| Surface& GuiFunctions::RepairUnit::getImage | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1068 of file guifunctions.cpp.
References IconRepository::getIcon().
| ASCString GuiFunctions::RepairUnit::getName | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1072 of file guifunctions.cpp.
References actmap, GameMap::getField(), ContainerBase::getMaxRepair(), RepairUnitCommand::getRepairingUnit(), NewGuiHost::pendingCommand, Resources::toString(), and MapField::vehicle.
1.5.1