guifunctions.cpp File Reference

All the buttons of the user interface with which the unit actions are controlled. More...

#include <stdio.h>
#include <cstring>
#include <stdlib.h>
#include "guifunctions.h"
#include "guifunctions-interface.h"
#include "controls.h"
#include "dialog.h"
#include "gameoptions.h"
#include "iconrepository.h"
#include "attack.h"
#include "graphics/blitter.h"
#include "viewcalculation.h"
#include "spfst.h"
#include "dialogs/cargodialog.h"
#include "dialogs/ammotransferdialog.h"
#include "mapdisplay.h"
#include "sg.h"
#include "loaders.h"
#include "itemrepository.h"
#include "turncontrol.h"
#include "spfst-legacy.h"
#include "dialogs/buildingtypeselector.h"
#include "dialogs/internalAmmoTransferDialog.h"
#include "dialogs/vehicleproductionselection.h"
#include "actions/jumpdrivecommand.h"
#include "actions/destructunitcommand.h"
#include "actions/attackcommand.h"
#include "actions/moveunitcommand.h"
#include "actions/putobjectcommand.h"
#include "actions/putminecommand.h"
#include "actions/constructunitcommand.h"
#include "actions/servicecommand.h"
#include "actions/reactionfireswitchcommand.h"
#include "actions/repairunitcommand.h"
#include "actions/constructbuildingcommand.h"
#include "actions/destructbuildingcommand.h"
#include "actions/powergenerationswitchcommand.h"
#include "actions/internalammotransfercommand.h"

Include dependency graph for guifunctions.cpp:

Go to the source code of this file.

Namespaces

namespace  GuiFunctions

Classes

class  GuiFunctions::AttackGui
class  GuiFunctions::Ascend
class  GuiFunctions::Descend
class  GuiFunctions::EndTurn
class  GuiFunctions::Attack
class  GuiFunctions::PowerSwitch
class  GuiFunctions::PowerOn
class  GuiFunctions::PowerOff
class  GuiFunctions::UnitInfo
class  GuiFunctions::DestructBuilding
class  GuiFunctions::OpenContainer
class  GuiFunctions::EnableReactionfire
class  GuiFunctions::DisableReactionfire
class  GuiFunctions::JumpDriveIcon
class  GuiFunctions::RepairUnit
class  GuiFunctions::RefuelUnitCommand
class  GuiFunctions::RefuelUnitDialogCommand
class  GuiFunctions::PutMine
class  GuiFunctions::PutMineStage2
class  GuiFunctions::PutAntiTankMine
class  GuiFunctions::PutAntiPersonalMine
class  GuiFunctions::PutAntiShipMine
class  GuiFunctions::PutAntiSubMine
class  GuiFunctions::RemoveMine
class  GuiFunctions::ObjectBuildingGui
class  GuiFunctions::BuildObject
class  GuiFunctions::BuildVehicleCommand
class  GuiFunctions::ConstructBuilding
class  GuiFunctions::BuildingConstructionSelection
class  GuiFunctions::InternalAmmoTransferDialog
class  GuiFunctions::SelfDestructIcon

Functions

bool commandPending ()
Surface GuiFunctions::buildGuiIcon (const Surface &image, bool remove=false)
Surface GuiFunctions::generate_gui_build_icon (BuildingType *bld)
void registerGuiFunctions (GuiIconHandler &handler)

Variables

AttackGui GuiFunctions::attackGui
ObjectBuildingGui GuiFunctions::objectBuildingGui
GuiIconHandler GuiFunctions::primaryGuiIcons


Detailed Description

All the buttons of the user interface with which the unit actions are controlled.

Definition in file guifunctions.cpp.


Function Documentation

bool commandPending (  ) 

Definition at line 65 of file guifunctions.cpp.

References NewGuiHost::pendingCommand.

Referenced by GuiFunctions::SelfDestructIcon::available(), GuiFunctions::InternalAmmoTransferDialog::available(), GuiFunctions::ConstructBuilding::available(), GuiFunctions::BuildVehicleCommand::available(), GuiFunctions::BuildObject::available(), GuiFunctions::PutMine::available(), GuiFunctions::RefuelUnitCommand::available(), GuiFunctions::RepairUnit::available(), GuiFunctions::JumpDriveIcon::available(), GuiFunctions::DisableReactionfire::available(), GuiFunctions::EnableReactionfire::available(), GuiFunctions::OpenContainer::available(), GuiFunctions::DestructBuilding::available(), GuiFunctions::UnitInfo::available(), GuiFunctions::PowerSwitch::available(), GuiFunctions::Attack::available(), GuiFunctions::EndTurn::available(), GuiFunctions::Descend::available(), GuiFunctions::Ascend::available(), GuiFunctions::Movement::available(), GuiFunctions::MovementBase::available(), GuiFunctions::Cancel::available(), GuiFunctions::RepairUnit::execute(), GuiFunctions::JumpDriveIcon::execute(), and GuiFunctions::MovementBase::execute().

void registerGuiFunctions ( GuiIconHandler handler  ) 

Definition at line 2021 of file guifunctions.cpp.

References GuiIconHandler::registerUserFunction().

Referenced by loaddata().


Generated on Mon May 21 01:36:59 2012 for Advanced Strategic Command by  doxygen 1.5.1