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

GuiFunctions::Movement Class Reference

#include <guifunctions-interface.h>

Inheritance diagram for GuiFunctions::Movement:

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

Implements GuiFunction.

Definition at line 282 of file guifunctions.cpp.

References PendingVehicleActions::actionType, actmap, GameMap::actplayer, VehicleMovement::avail(), GameMap::getField(), BaseVehicleMovement::getStatus(), FieldList< T >::isMember(), PendingVehicleActions::move, moveparams, tmoveparams::movestatus, BaseVehicleMovement::path, pendingVehicleActions, VehicleMovement::reachableFields, vat_move, vat_nothing, MapCoordinate::x, and MapCoordinate::y.

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

Reimplemented from GuiFunction.

Definition at line 266 of file guifunctions.cpp.

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

Implements GuiFunction.

Reimplemented in CargoGuiFunctions::MovementDestination.

Definition at line 302 of file guifunctions.cpp.

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

Referenced by CargoGuiFunctions::MovementDestination::execute().

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

Implements GuiFunction.

Definition at line 271 of file guifunctions.cpp.

References IconRepository::getIcon().

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

Implements GuiFunction.

Definition at line 276 of file guifunctions.cpp.


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