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

GuiFunctions::Descend Class Reference

Inheritance diagram for GuiFunctions::Descend:

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::Descend::available const MapCoordinate pos,
ContainerBase subject,
int  num
[virtual]
 

Implements GuiFunction.

Definition at line 498 of file guifunctions.cpp.

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

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

Reimplemented from GuiFunction.

Definition at line 484 of file guifunctions.cpp.

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

Implements GuiFunction.

Definition at line 517 of file guifunctions.cpp.

References PendingVehicleActions::action, PendingVehicleActions::actionType, actmap, GameMap::cleartemps(), ct_lshift, ct_rshift, PendingVehicleActions::descent, 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_descent, vat_nothing, MapCoordinate::x, and MapCoordinate::y.

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

Implements GuiFunction.

Definition at line 488 of file guifunctions.cpp.

References IconRepository::getIcon().

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

Implements GuiFunction.

Definition at line 492 of file guifunctions.cpp.


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