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

unitctrl.h File Reference

New system for actions performed by units This design is considered a failure, it won't be used for any new code. More...

#include <vector>
#include <map>
#include "typen.h"
#include "mapalgorithms.h"
#include "basestrm.h"
#include "spfst.h"
#include "attack.h"
#include "astar2.h"
#include "actions/servicing.h"

Include dependency graph for unitctrl.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef FieldList< int > IntFieldList
typedef FieldList< AttackWeapAttackFieldList
typedef PendingVehicleActionsPPendingVehicleActions
typedef int trichtungen [sidenum]

Enumerations

enum  VehicleActionType {
  vat_nothing, vat_move, vat_ascent, vat_descent,
  vat_attack, vat_service, vat_newservice
}

Variables

SigC::Signal0< void > fieldCrossed
PendingVehicleActions pendingVehicleActions
 a structure to keep track of the vehicleActions that are currently running


Detailed Description

New system for actions performed by units This design is considered a failure, it won't be used for any new code.

Definition in file unitctrl.h.


Typedef Documentation

typedef FieldList<AttackWeap> AttackFieldList
 

Definition at line 77 of file unitctrl.h.

typedef FieldList<int> IntFieldList
 

Definition at line 76 of file unitctrl.h.

typedef class PendingVehicleActions* PPendingVehicleActions
 

Definition at line 80 of file unitctrl.h.

typedef int trichtungen[sidenum]
 

Definition at line 117 of file unitctrl.h.


Enumeration Type Documentation

enum VehicleActionType
 

Enumeration values:
vat_nothing 
vat_move 
vat_ascent 
vat_descent 
vat_attack 
vat_service 
vat_newservice 

Definition at line 83 of file unitctrl.h.


Variable Documentation

SigC::Signal0<void> fieldCrossed
 

Definition at line 48 of file unitctrl.cpp.

Referenced by SpecificUnitEntersPolygon::arm(), AnyUnitEntersPolygon::arm(), and BaseVehicleMovement::moveunitxy().

PendingVehicleActions pendingVehicleActions
 

a structure to keep track of the vehicleActions that are currently running

Definition at line 46 of file unitctrl.cpp.

Referenced by CargoGuiFunctions::Movement::available(), GuiFunctions::Cancel::available(), GuiFunctions::Movement::available(), GuiFunctions::Ascend::available(), GuiFunctions::Descend::available(), GuiFunctions::EndTurn::available(), GuiFunctions::Attack::available(), GuiFunctions::PowerOn::available(), GuiFunctions::PowerOff::available(), GuiFunctions::UnitInfo::available(), GuiFunctions::DestructBuilding::available(), GuiFunctions::OpenContainer::available(), GuiFunctions::EnableReactionfire::available(), GuiFunctions::DisableReactionfire::available(), GuiFunctions::JumpDriveIcon::available(), GuiFunctions::RepairUnit::available(), GuiFunctions::RefuelUnit::available(), GuiFunctions::RefuelUnitDialog::available(), GuiFunctions::PutMine::available(), GuiFunctions::BuildObject::available(), GuiFunctions::BuildVehicle::available(), GuiFunctions::ConstructBuilding::available(), GuiFunctions::InternalAmmoTransferDialog::available(), CargoGuiFunctions::MovementDestination::execute(), CargoGuiFunctions::Movement::execute(), GuiFunctions::AttackGui::execute(), GuiFunctions::Cancel::execute(), GuiFunctions::Movement::execute(), GuiFunctions::Ascend::execute(), GuiFunctions::Descend::execute(), GuiFunctions::Attack::execute(), GuiFunctions::DestructBuilding::execute(), GuiFunctions::RepairUnit::execute(), GuiFunctions::RefuelUnit::execute(), GuiFunctions::RefuelUnitDialog::execute(), GuiFunctions::BuildObject::execute(), GuiFunctions::BuildVehicle::execute(), GuiFunctions::ConstructBuilding::execute(), GuiFunctions::RepairUnit::getName(), and resetActions().


Generated on Tue Jun 24 02:14:07 2008 for Advanced Strategic Command by  doxygen 1.4.2