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

GuiFunctions::Ascend Class Reference

Inheritance diagram for GuiFunctions::Ascend:

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

Member Function Documentation

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

Implements GuiFunction.

Definition at line 398 of file guifunctions.cpp.

References PendingVehicleActions::action, PendingVehicleActions::actionType, actmap, GameMap::actplayer, PendingVehicleActions::ascent, IncreaseVehicleHeight::avail(), ContainerBase::color, GameMap::getField(), BaseVehicleMovement::getStatus(), FieldList< T >::isMember(), moveparams, tmoveparams::movestatus, BaseVehicleMovement::path, pendingVehicleActions, ChangeVehicleHeight::reachableFields, vat_ascent, MapCoordinate::x, and MapCoordinate::y.

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

Reimplemented from GuiFunction.

Definition at line 384 of file guifunctions.cpp.

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

Implements GuiFunction.

Definition at line 416 of file guifunctions.cpp.

References PendingVehicleActions::action, PendingVehicleActions::actionType, actmap, PendingVehicleActions::ascent, GameMap::cleartemps(), ct_lshift, ct_rshift, displaymap(), dispmessage2(), ChangeVehicleHeight::execute(), getDefaultMapDisplay(), FieldList< T >::getField(), GameMap::getField(), BaseVehicleMovement::getStatus(), CGameOptions::Instance(), moveparams, tmoveparams::movestatus, BaseVehicleMovement::path, pendingVehicleActions, ChangeVehicleHeight::reachableFields, skeypress(), updateFieldInfo, vat_ascent, vat_nothing, MapCoordinate::x, and MapCoordinate::y.

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

Implements GuiFunction.

Definition at line 388 of file guifunctions.cpp.

References IconRepository::getIcon().

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

Implements GuiFunction.

Definition at line 392 of file guifunctions.cpp.


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