
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 848 of file guifunctions.cpp.
| bool GuiFunctions::EnableReactionfire::available | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 851 of file guifunctions.cpp.
References actmap, GameMap::actplayer, ReactionFireSwitchCommand::avail(), commandPending(), GameMap::getField(), ContainerBase::getOwner(), and MapField::vehicle.
| bool GuiFunctions::EnableReactionfire::checkForKey | ( | const SDL_KeyboardEvent * | key, | |
| int | modifier, | |||
| int | num | |||
| ) | [inline, virtual] |
| void GuiFunctions::EnableReactionfire::execute | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 864 of file guifunctions.cpp.
References actmap, createContext(), displayActionError(), GameMap::getField(), ActionRegistry::ReactionFireSwitchCommand, ActionResult::successful(), updateFieldInfo, and MapField::vehicle.
| Surface& GuiFunctions::EnableReactionfire::getImage | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 877 of file guifunctions.cpp.
References IconRepository::getIcon().
| ASCString GuiFunctions::EnableReactionfire::getName | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
1.5.1