
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) |
| ASCString | getName (const MapCoordinate &pos, ContainerBase *subject, int num) |
| bool | checkForKey (const SDL_KeyboardEvent *key, int modifier, int num) |
Definition at line 1597 of file guifunctions.cpp.
| bool GuiFunctions::BuildObject::available | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 1614 of file guifunctions.cpp.
References actmap, PutObjectCommand::avail(), commandPending(), GameMap::getField(), and MapField::vehicle.
| void GuiFunctions::BuildObject::execute | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [virtual] |
Implements GuiFunction.
Definition at line 1623 of file guifunctions.cpp.
References MapField::a, actmap, GameMap::getField(), GuiFunctions::objectBuildingGui, NewGuiHost::pendingCommand, NewGuiHost::pushIconHandler(), ActionRegistry::PutObjectCommand, repaintMap, ActionResult::successful(), updateFieldInfo, and MapField::vehicle.
| Surface& GuiFunctions::BuildObject::getImage | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 1602 of file guifunctions.cpp.
References IconRepository::getIcon().
| ASCString GuiFunctions::BuildObject::getName | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
| bool GuiFunctions::BuildObject::checkForKey | ( | const SDL_KeyboardEvent * | key, | |
| int | modifier, | |||
| int | num | |||
| ) | [inline, virtual] |
1.5.1