
Public Member Functions | |
| bool | available (const MapCoordinate &pos, ContainerBase *subject, int num) |
| void | execute (const MapCoordinate &pos, ContainerBase *subject, int num) |
| bool | checkForKey (const SDL_KeyboardEvent *key, int modifier, int num) |
| Surface & | getImage (const MapCoordinate &pos, ContainerBase *subject, int num) |
| ASCString | getName (const MapCoordinate &pos, ContainerBase *subject, int num) |
Definition at line 570 of file guifunctions.cpp.
| bool GuiFunctions::Attack::available | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 587 of file guifunctions.cpp.
References actmap, GameMap::actplayer, AttackCommand::avail(), ContainerBase::color, commandPending(), GameMap::getField(), and MapField::vehicle.
| void GuiFunctions::Attack::execute | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 598 of file guifunctions.cpp.
References MapField::a, actmap, attack(), ActionRegistry::AttackCommand, GuiFunctions::attackGui, displaymap(), dispmessage2(), GameMap::getField(), NewGuiHost::pushIconHandler(), GuiFunctions::AttackGui::setupWeapons(), and MapField::vehicle.
| bool GuiFunctions::Attack::checkForKey | ( | const SDL_KeyboardEvent * | key, | |
| int | modifier, | |||
| int | num | |||
| ) | [inline, virtual] |
| Surface& GuiFunctions::Attack::getImage | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 578 of file guifunctions.cpp.
References IconRepository::getIcon().
| ASCString GuiFunctions::Attack::getName | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
1.5.1