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 926 of file guifunctions.cpp.
| bool GuiFunctions::JumpDriveIcon::available | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 929 of file guifunctions.cpp.
References actmap, GameMap::actplayer, JumpDriveCommand::available(), commandPending(), JumpDriveCommand::fieldReachable(), ActionAvailability::getAvailability(), GameMap::getField(), ContainerBase::getOwner(), ActionAvailability::partially, NewGuiHost::pendingCommand, and MapField::vehicle.
| bool GuiFunctions::JumpDriveIcon::checkForKey | ( | const SDL_KeyboardEvent * | key, | |
| int | modifier, | |||
| int | num | |||
| ) | [inline, virtual] |
| void GuiFunctions::JumpDriveIcon::execute | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 951 of file guifunctions.cpp.
References MapField::a, actmap, JumpDriveCommand::available(), GameMap::cleartemps(), commandPending(), createContext(), displayActionError(), dispmessage2(), GameAction::execute(), GameMap::getField(), ActionAvailability::getMessage(), ActionRegistry::JumpDriveCommand, mapChanged, NewGuiHost::pendingCommand, ActionAvailability::ready(), repaintMap, JumpDriveCommand::setDestination(), ActionResult::successful(), updateFieldInfo, MapField::vehicle, and warningMessage().
| Surface& GuiFunctions::JumpDriveIcon::getImage | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 993 of file guifunctions.cpp.
References IconRepository::getIcon().
| ASCString GuiFunctions::JumpDriveIcon::getName | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
1.5.1