
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 1089 of file guifunctions.cpp.
| bool GuiFunctions::RefuelUnitCommand::available | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1092 of file guifunctions.cpp.
References actmap, GameMap::actplayer, ServiceCommand::availExternally(), commandPending(), MapField::getContainer(), ServiceCommand::getDestinations(), GameMap::getField(), ContainerBase::getOwner(), and NewGuiHost::pendingCommand.
| bool GuiFunctions::RefuelUnitCommand::checkForKey | ( | const SDL_KeyboardEvent * | key, | |
| int | modifier, | |||
| int | num | |||
| ) | [inline, virtual] |
| void GuiFunctions::RefuelUnitCommand::execute | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1115 of file guifunctions.cpp.
References MapField::a, actmap, GameMap::cleartemps(), createContext(), displaymap(), dispmessage2(), GameAction::execute(), TransferHandler::fillDest(), ServiceCommand::getTransferHandler(), NewGuiHost::pendingCommand, ServiceCommand::saveTransfers(), ActionRegistry::ServiceCommand, ServiceCommand::setDestination(), ActionResult::successful(), and updateFieldInfo.
| Surface& GuiFunctions::RefuelUnitCommand::getImage | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1159 of file guifunctions.cpp.
References IconRepository::getIcon().
| ASCString GuiFunctions::RefuelUnitCommand::getName | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
1.5.1