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) |
| bool | checkForKey (const SDL_KeyboardEvent *key, int modifier, int num) |
| ASCString | getName (const MapCoordinate &pos, ContainerBase *subject, int num) |
Definition at line 1968 of file guifunctions.cpp.
| bool GuiFunctions::SelfDestructIcon::available | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1972 of file guifunctions.cpp.
References actmap, GameMap::actplayer, DestructUnitCommand::avail(), commandPending(), Player::diplomacy, fieldvisiblenow(), MapField::getContainer(), GameMap::getField(), GameMap::getPlayer(), and DiplomaticStateVector::isAllied().
| void GuiFunctions::SelfDestructIcon::execute | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1981 of file guifunctions.cpp.
References actmap, choice_dlg(), createContext(), ActionRegistry::DestructUnitCommand, displayActionError(), MapField::getContainer(), GameMap::getField(), repaintMap, ActionResult::successful(), and updateFieldInfo.
| Surface& GuiFunctions::SelfDestructIcon::getImage | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1995 of file guifunctions.cpp.
References IconRepository::getIcon().
| bool GuiFunctions::SelfDestructIcon::checkForKey | ( | const SDL_KeyboardEvent * | key, | |
| int | modifier, | |||
| int | num | |||
| ) | [inline, virtual] |
| ASCString GuiFunctions::SelfDestructIcon::getName | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
1.5.1