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

GuiFunctions::ConstructBuilding Class Reference

Inheritance diagram for GuiFunctions::ConstructBuilding:

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

Member Function Documentation

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

Implements GuiFunction.

Definition at line 2580 of file guifunctions.cpp.

References tfield::a, PendingVehicleActions::actionType, actmap, GameMap::actplayer, Vehicle::attacked, cgp_forbid_building_construction, ContainerBase::color, ContainerBaseType::ConstructBuildings, GameMap::getField(), GameMap::getgameparameter(), ContainerBaseType::hasFunction(), Vehicle::hasMoved(), moveparams, tmoveparams::movestatus, pendingVehicleActions, Vehicle::typ, vat_nothing, and tfield::vehicle.

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

Implements GuiFunction.

Definition at line 2618 of file guifunctions.cpp.

References PendingVehicleActions::actionType, actmap, Vehicle::attacked, Vehicle::buildingconstructable(), GuiFunctions::buildingConstruction, buildingTypeRepository, dispmessage2(), GameMap::getField(), ContainerBase::getOwningPlayer(), Vehicle::getResource(), GuiFunctions::BuildingConstructionSelection::getSelectedType(), Vehicle::hasMoved(), PG_Widget::Hide(), GuiFunctions::BuildingConstruction::init(), maxint, moveparams, tmoveparams::movestatus, pendingVehicleActions, NewGuiHost::popIconHandler(), NewGuiHost::pushIconHandler(), ItemSelectorWindow::RunModal(), GuiFunctions::BuildingConstruction::setBuilding(), GuiFunctions::BuildingConstruction::setup(), PG_Widget::Show(), Vehicle::typ, updateFieldInfo, vat_nothing, tfield::vehicle, and Vehicletype::wait.

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

Implements GuiFunction.

Definition at line 2569 of file guifunctions.cpp.

References IconRepository::getIcon().

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

Implements GuiFunction.

Definition at line 2573 of file guifunctions.cpp.


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