
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 800 of file guifunctions.cpp.
| bool GuiFunctions::OpenContainer::available | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 804 of file guifunctions.cpp.
References actmap, GameMap::actplayer, commandPending(), Player::diplomacy, fieldvisiblenow(), MapField::getContainer(), GameMap::getCurrentPlayer(), GameMap::getField(), ContainerBase::getMap(), GameMap::getNeutralPlayerNum(), DiplomaticStateVector::isAllied(), GameMap::player, Player::stat, and Player::supervisor.
| void GuiFunctions::OpenContainer::execute | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 821 of file guifunctions.cpp.
References actmap, cargoDialog(), MapField::getContainer(), GameMap::getField(), repaintMap, and updateFieldInfo.
| Surface& GuiFunctions::OpenContainer::getImage | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
Implements GuiFunction.
Definition at line 830 of file guifunctions.cpp.
References IconRepository::getIcon().
| bool GuiFunctions::OpenContainer::checkForKey | ( | const SDL_KeyboardEvent * | key, | |
| int | modifier, | |||
| int | num | |||
| ) | [inline, virtual] |
| ASCString GuiFunctions::OpenContainer::getName | ( | const MapCoordinate & | pos, | |
| ContainerBase * | subject, | |||
| int | num | |||
| ) | [inline, virtual] |
1.5.1