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

GuiFunctions::JumpDriveIcon Class Reference

Inheritance diagram for GuiFunctions::JumpDriveIcon:

Inheritance graph
[legend]
List of all members.

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)
SurfacegetImage (const MapCoordinate &pos, ContainerBase *subject, int num)
ASCString getName (const MapCoordinate &pos, ContainerBase *subject, int num)

Member Function Documentation

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

Implements GuiFunction.

Definition at line 1074 of file guifunctions.cpp.

References PendingVehicleActions::actionType, actmap, GameMap::actplayer, JumpDrive::available(), JumpDrive::fieldReachable(), GameMap::getField(), moveparams, tmoveparams::movestatus, pendingVehicleActions, vat_nothing, and tmoveparams::vehicletomove.

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

Reimplemented from GuiFunction.

Definition at line 1094 of file guifunctions.cpp.

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

Implements GuiFunction.

Definition at line 1099 of file guifunctions.cpp.

References actmap, GameMap::cleartemps(), JumpDrive::fieldAvailable, getDefaultMapDisplay(), GameMap::getField(), JumpDrive::getFields(), JumpDrive::jump(), mapChanged, moveparams, tmoveparams::movestatus, repaintMap, and tmoveparams::vehicletomove.

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

Implements GuiFunction.

Definition at line 1125 of file guifunctions.cpp.

References IconRepository::getIcon().

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

Implements GuiFunction.

Definition at line 1130 of file guifunctions.cpp.


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