unitset.h File Reference

#include <vector>
#include "ascstring.h"
#include "typen.h"

Include dependency graph for unitset.h:

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

Go to the source code of this file.

Classes

class  SingleUnitSet
class  SingleUnitSet::TranslationTable

Typedefs

typedef deallocating_vector<
SingleUnitSet * > 
UnitSets

Functions

void loadUnitSets (void)
int getUnitSetID (const VehicleType *veh)
int getUnitSetID (const BuildingType *bld)
bool vehicleComp (const VehicleType *v1, const VehicleType *v2)

Variables

UnitSets unitSets


Typedef Documentation

typedef deallocating_vector<SingleUnitSet*> UnitSets

Definition at line 61 of file unitset.h.


Function Documentation

int getUnitSetID ( const BuildingType bld  ) 

Definition at line 225 of file unitset.cpp.

References SingleUnitSet::building, ContainerBaseType::id, and unitSets.

int getUnitSetID ( const VehicleType veh  ) 

Definition at line 216 of file unitset.cpp.

References ContainerBaseType::id, SingleUnitSet::unit, and unitSets.

void loadUnitSets ( void   ) 

Definition at line 190 of file unitset.cpp.

References displayLogMessage(), tfindfile::getnextname(), tnstream::reading, and unitSets.

Referenced by loaddata(), and loadEditordata().

bool vehicleComp ( const VehicleType v1,
const VehicleType v2 
)

Definition at line 234 of file unitset.cpp.

References getUnitSetID(), VehicleType::movemalustyp, and ContainerBaseType::name.

Referenced by VehicleTypeSelectionItemFactory::restart(), showUnitEndurance(), sortItems(), and VehicleCounterFactory::VehicleCounterFactory().


Variable Documentation

UnitSets unitSets

Definition at line 211 of file unitset.cpp.

Referenced by getUnitSetID(), loadUnitSets(), UnitGuideWidget::UnitGuideWidget(), and viewUnitSetinfo().


Generated on Mon May 21 01:45:37 2012 for Advanced Strategic Command by  doxygen 1.5.1