Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

GuiFunctions::OpenContainer Class Reference

Inheritance diagram for GuiFunctions::OpenContainer:

Inheritance graph
[legend]
List of all members.

Public Member Functions

bool available (const MapCoordinate &pos, ContainerBase *subject, int num)
void execute (const MapCoordinate &pos, ContainerBase *subject, int num)
SurfacegetImage (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)

Member Function Documentation

bool GuiFunctions::OpenContainer::available const MapCoordinate pos,
ContainerBase subject,
int  num
[inline, virtual]
 

Implements GuiFunction.

Definition at line 933 of file guifunctions.cpp.

References PendingVehicleActions::action, PendingVehicleActions::actionType, actmap, GameMap::actplayer, Player::diplomacy, fieldvisiblenow(), GameMap::getField(), GameMap::getNeutralPlayerNum(), DiplomaticStateVector::isAllied(), moveparams, tmoveparams::movestatus, pendingVehicleActions, and vat_nothing.

bool GuiFunctions::OpenContainer::checkForKey const SDL_KeyboardEvent *  key,
int  modifier,
int  num
[inline, virtual]
 

Reimplemented from GuiFunction.

Definition at line 966 of file guifunctions.cpp.

void GuiFunctions::OpenContainer::execute const MapCoordinate pos,
ContainerBase subject,
int  num
[inline, virtual]
 

Implements GuiFunction.

Definition at line 951 of file guifunctions.cpp.

References actmap, cargoDialog(), tfield::getContainer(), GameMap::getField(), repaintMap, and updateFieldInfo.

Surface& GuiFunctions::OpenContainer::getImage const MapCoordinate pos,
ContainerBase subject,
int  num
[inline, virtual]
 

Implements GuiFunction.

Definition at line 961 of file guifunctions.cpp.

References IconRepository::getIcon().

ASCString GuiFunctions::OpenContainer::getName const MapCoordinate pos,
ContainerBase subject,
int  num
[inline, virtual]
 

Implements GuiFunction.

Definition at line 971 of file guifunctions.cpp.


The documentation for this class was generated from the following file:
Generated on Tue Jun 24 02:22:49 2008 for Advanced Strategic Command by  doxygen 1.4.2