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

typen.h File Reference

#include <time.h>
#include <list>
#include <bitset>
#include <map>
#include <SDL_types.h>
#include "global.h"
#include <limits.h>
#include "basictypes.h"
#include "basestrm.h"
#include "messaginghub.h"

Include dependency graph for typen.h:

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

Go to the source code of this file.

Defines

#define chtiefgetaucht   1
#define chgetaucht   2
#define chschwimmend   4
#define chfahrend   8
#define chtieffliegend   16
#define chfliegend   32
#define chhochfliegend   64
#define chsatellit   128
#define maxmalq   10
 Constants that specify the layout of ASC.
#define minmalq   10
#define fieldxsize   48
#define fieldysize   48
#define fielddistx   64
#define fielddisty   24
#define fielddisthalfx   32
#define fieldsizex   fieldxsize
#define fieldsizey   fieldysize
#define fieldsize   (fieldxsize * fieldysize + 4 )
#define unitsizex   30
#define unitsizey   30
#define tanksize   (( unitsizex+1 ) * ( unitsizey+1 ) + 4 )
#define unitsize   tanksize
#define maxint   INT_MAX
#define minint   INT_MIN
#define maxfloat   FLT_MAX
#define minfloat   FLT_MIN
#define movement_cost_for_repaired_unit   24
#define movement_cost_for_repairing_unit   12
#define attack_after_repair   1
#define mineputmovedecrease   10
#define mineremovemovedecrease   10
#define fusstruppenplattfahrgewichtsfaktor   2
#define mingebaeudeeroberungsbeschaedigung   80
#define lookintoenemytransports   false
#define lookintoenemybuildings   false
#define recyclingoutput   2
#define destructoutput   5
#define nowindplanefuelusage   1
#define generatortruckefficiency   2
#define mine_movemalus_increase   50
#define cnet_storeenergy   0x001
#define cnet_storematerial   0x002
#define cnet_storefuel   0x004
#define cnet_moveenergyout   0x008
#define cnet_movematerialout   0x010
#define cnet_movefuelout   0x020
#define cnet_stopenergyinput   0x040
#define cnet_stopmaterialinput   0x080
#define cnet_stopfuelinput   0x100
#define cnet_stopenergyoutput   0x200
#define cnet_stopmaterialoutput   0x400
#define cnet_stopfueloutput   0x800
#define resource_fuel_factor   80
#define resource_material_factor   80
#define destruct_building_material_get   2
#define destruct_building_fuel_usage   10
#define dissectunitresearchpointsplus   2
#define dissectunitresearchpointsplus2   3

Enumerations

enum  {
  capeace, cawar, cawarannounce, capeaceproposal,
  canewsetwar1, canewsetwar2, canewpeaceproposal, capeace_with_shareview
}
 Structure field naming constants. More...
enum  VisibilityStates { visible_not, visible_ago, visible_now, visible_all }

Functions

Resources operator- (const Resources &res1, const Resources &res2)
Resources operator+ (const Resources &res1, const Resources &res2)
Resources operator * (const Resources &res1, float a)
Resources operator/ (const Resources &res1, float a)
MapCoordinate operator- (const MapCoordinate &a, const MapCoordinate &b)
MapCoordinate operator+ (const MapCoordinate &a, const MapCoordinate &b)
vector< IntRangeString2IntRangeVector (const ASCString &t)

Variables

const int gamemapPixelSize = 4
 the color depth of the gamemap
const int playerNum = 9
 the number of players that ASC can manage. This includes the neutral semi-played, which can't do anything
const int waffenanzahl = 8
 The number of different weapon types.
const int cwettertypennum = 6
 The number of different weather.
const int cmovemalitypenum = 18
 The number of vehicle categories; Each category has its own move malus.
const int cmm_building = 11
 The movemalus type for a building. It is used for SingleWeapon::targetingAccuracy .
const int cmm_trooper = 7
const int choehenstufennum = 8
 The number of levels of height.
const int maxbuildingpicnum = 8
 The maximum number of number of different images for a building and a weather. For example, A wind power plant might have 6 different images, depending on the direction of the wind.
const int maxunitexperience = 23
 The maximum experience value of a Vehicle.
const int resourceTypeNum = 3
 The number of different resources that ASC uses.
const int resourceNum = resourceTypeNum
 The number of different resources that ASC uses.
const char * cwettertypen []
const char * choehenstufen [8]
 The different levels of height.
const char * resourceNames [3]
const char * cmovemalitypes [cmovemalitypenum]
const char * moveMaliTypeIcons [cmovemalitypenum]
const int experienceDecreaseDamageBoundaryNum = 4
const int experienceDecreaseDamageBoundaries [experienceDecreaseDamageBoundaryNum]
 when repairing a unit, the experience of the unit is decreased by one when passing each of these damage levels
const int sidenum = 6
 the number of sides that a field has; is now fixed at 6;
const int directionangle [sidenum]
const int attackmovecost = 0
 The movement decrease in percent of the total movemnt that is used for attacking; only used for units that can move after attacking.
const int submarineMovement = 11
 the movemalus for all submerged units
const int maxwindspeed = 60
const int maxminingrange = 10
 The maximum number of fields a mining station can extract mineral resources from; Counted from its entry.
const double productionLineConstructionCostFactor = 0.5
const double productionLineRemovalCostFactor = 0.2
const int csolarkraftwerkleistung []
const int cnetcontrolnum = 12
 The number of netcontrol actions ; see cnetcontrol.
const char * cnetcontrol [cnetcontrolnum]
 The actions that can be used to control a ResourceNet.
const char * cgeneralnetcontrol []
const int maxViewRange = 255


Define Documentation

#define attack_after_repair   1
 

Definition at line 418 of file typen.h.

#define chfahrend   8
 

Definition at line 324 of file typen.h.

Referenced by Mine::attacksunit(), ContainerBase::calcShadowDist(), checkunitsforremoval(), VehicleService::FieldSearch::checkVehicle2Vehicle(), getmaxwindspeedforunit(), tcomputebuildingview::init(), tcomputevehicleview::init(), ContainerBase::paintField(), Building::paintSingleField(), GuiFunctions::BuildingConstruction::search(), tunitattacksobject::setup(), tunitattacksbuilding::setup(), tunitattacksunit::setup(), Vehicle::spawnMoveObjects(), stu_height(), Vehicle::vehicleconstructable(), and Vehicle::write().

#define chfliegend   32
 

Definition at line 326 of file typen.h.

Referenced by AStar3D::AStar3D(), Vehicletype::calcProductionsCost(), AStar3D::dist(), UnitHooveringLogic::getEndurance(), getwindheightforunit(), BaseVehicleMovement::moveunitxy(), and tcomputeview::testfield().

#define chgetaucht   2
 

Definition at line 322 of file typen.h.

Referenced by Mine::attacksunit(), Vehicletype::calcProductionsCost(), fieldAccessible(), ContainerBase::paintField(), and terrainaccessible2().

#define chhochfliegend   64
 

Definition at line 327 of file typen.h.

Referenced by AStar3D::AStar3D(), UnitHooveringLogic::calcFuelUsage(), Vehicletype::calcProductionsCost(), PG_MapDisplay::displayMovingUnit(), AStar3D::dist(), GameMap::endTurn(), fieldvisiblenow(), UnitHooveringLogic::getEndurance(), getmaxwindspeedforunit(), BuildingSeen::getState(), getwindheightforunit(), BaseVehicleMovement::moveunitxy(), MapRenderer::paintSingleField(), and tcomputeview::testfield().

#define chsatellit   128
 

Definition at line 328 of file typen.h.

Referenced by Vehicletype::calcProductionsCost(), calcvisibilityfield(), MapDisplayPG::displayAddons(), WeapDist::getWeaponStrength(), tcomputebuildingview::init(), tcomputevehicleview::init(), and stu_height().

#define chschwimmend   4
 

Definition at line 323 of file typen.h.

Referenced by Mine::attacksunit(), calcvisibilityfield(), PG_MapDisplay::displayMovingUnit(), MapDisplayPG::displayUnitMovement(), fieldAccessible(), fieldvisiblenow(), getmaxwindspeedforunit(), BuildingSeen::getState(), MapRenderer::paintSingleField(), stu_height(), and terrainaccessible2().

#define chtieffliegend   16
 

Definition at line 325 of file typen.h.

Referenced by AStar3D::AStar3D(), UnitHooveringLogic::calcFuelUsage(), Vehicletype::calcProductionsCost(), AStar3D::dist(), GameMap::endTurn(), fieldAccessible(), UnitHooveringLogic::getEndurance(), getmaxwindspeedforunit(), WeapDist::getWeaponStrength(), BaseVehicleMovement::moveunitxy(), VehicleItem::place(), tmineattacksunit::setup(), tunitattacksunit::setup(), terrainaccessible2(), and tcomputeview::testfield().

#define chtiefgetaucht   1
 

Definition at line 321 of file typen.h.

Referenced by stu_height(), and terrainaccessible2().

#define cnet_moveenergyout   0x008
 

Definition at line 444 of file typen.h.

Referenced by Building::execnetcontrol().

#define cnet_movefuelout   0x020
 

Definition at line 446 of file typen.h.

#define cnet_movematerialout   0x010
 

Definition at line 445 of file typen.h.

#define cnet_stopenergyinput   0x040
 

Definition at line 448 of file typen.h.

Referenced by GetResourceCapacity::checkbuilding(), PutTribute::checkbuilding(), PutResource::checkbuilding(), Building::convert(), destructbuildinglevel2(), Building::execnetcontrol(), and trunreplay::execnextreplaymove().

#define cnet_stopenergyoutput   0x200
 

Definition at line 452 of file typen.h.

Referenced by GetResource::checkbuilding(), and Building::execnetcontrol().

#define cnet_stopfuelinput   0x100
 

Definition at line 450 of file typen.h.

#define cnet_stopfueloutput   0x800
 

Definition at line 454 of file typen.h.

#define cnet_stopmaterialinput   0x080
 

Definition at line 449 of file typen.h.

#define cnet_stopmaterialoutput   0x400
 

Definition at line 453 of file typen.h.

#define cnet_storeenergy   0x001
 

Definition at line 440 of file typen.h.

Referenced by Building::execnetcontrol().

#define cnet_storefuel   0x004
 

Definition at line 442 of file typen.h.

#define cnet_storematerial   0x002
 

Definition at line 441 of file typen.h.

#define destruct_building_fuel_usage   10
 

Definition at line 461 of file typen.h.

Referenced by GuiFunctions::DestructBuilding::available(), and getDestructionCost().

#define destruct_building_material_get   2
 

Definition at line 460 of file typen.h.

Referenced by getDestructionCost().

#define destructoutput   5
 

Definition at line 430 of file typen.h.

Referenced by ContainerControls::calcDestructionOutput().

#define dissectunitresearchpointsplus   2
 

Definition at line 464 of file typen.h.

#define dissectunitresearchpointsplus2   3
 

Definition at line 466 of file typen.h.

#define fielddisthalfx   32
 

Definition at line 360 of file typen.h.

Referenced by BuildingTypeBaseWidget::display(), GuiFunctions::generate_gui_build_icon(), MapRenderer::getFieldPosX(), Building::getImage(), BuildingType::paintSingleField(), BuildingType::runTextIO(), BuildingItem::Width(), tdrawgettempline::winkel(), WholeMapRenderer::writePCX(), and WholeMapRenderer::writePNG().

#define fielddistx   64
 

Definition at line 358 of file typen.h.

Referenced by BuildingTypeBaseWidget::display(), GuiFunctions::generate_gui_build_icon(), MapRenderer::getFieldPosX(), Building::getImage(), BuildingType::paintSingleField(), BuildingType::runTextIO(), MapDisplayPG::setNewZoom(), WholeMapRenderer::WholeMapRenderer(), BuildingItem::Width(), tdrawgettempline::winkel(), WholeMapRenderer::writePCX(), and WholeMapRenderer::writePNG().

#define fielddisty   24
 

Definition at line 359 of file typen.h.

Referenced by BuildingTypeBaseWidget::display(), GuiFunctions::generate_gui_build_icon(), BuildingTypeBaseWidget::getBuildingHeight(), MapRenderer::getFieldPosY(), Building::getImage(), BuildingItem::Height(), BuildingType::paintSingleField(), BuildingType::runTextIO(), MapDisplayPG::setNewZoom(), WholeMapRenderer::WholeMapRenderer(), tdrawgettempline::winkel(), WholeMapRenderer::writePCX(), and WholeMapRenderer::writePNG().

#define fieldsize   (fieldxsize * fieldysize + 4 )
 

Definition at line 371 of file typen.h.

#define fieldsizex   fieldxsize
 

Definition at line 365 of file typen.h.

Referenced by AmmoTransferWindow::AmmoTransferWindow(), UnitPropertyEditor::buttonpressed(), VehicleTypeBaseWidget::display(), TechWidget::display(), MapDisplayPG::displayAddons(), MapDisplayPG::displayUnitMovement(), StoringPosition::eventMouseMotion(), MapDisplayPG::fieldCompletelyInView(), MapDisplayPG::fieldCompletelyInViewX(), MapDisplayPG::fieldCompletelyInViewY(), Vehicle::getImage(), Building::getImage(), MapDisplayPG::initMovementStructure(), InternalAmmoTransferWindow::InternalAmmoTransferWindow(), loadASCFieldImage(), loadASCFieldImageArray(), GraphicSetManager_Base::loadData(), VisibilityLayer::paintSingleField(), WholeMapRenderer::renderVisibility(), Vehicletype::runTextIO(), BuildingType::runTextIO(), StoringPosition::StoringPosition(), BuildingItem::Width(), BasicItem< Vehicletype >::Width(), WholeMapRenderer::writePCX(), and WholeMapRenderer::writePNG().

#define fieldsizey   fieldysize
 

Definition at line 366 of file typen.h.

Referenced by AmmoTransferWindow::AmmoTransferWindow(), UnitPropertyEditor::buttonpressed(), VehicleTypeBaseWidget::display(), TechWidget::display(), MapDisplayPG::displayAddons(), MapDisplayPG::displayUnitMovement(), StoringPosition::eventMouseMotion(), MapDisplayPG::fieldCompletelyInView(), MapDisplayPG::fieldCompletelyInViewX(), MapDisplayPG::fieldCompletelyInViewY(), BuildingTypeBaseWidget::getBuildingHeight(), Vehicle::getImage(), Building::getImage(), BuildingItem::Height(), BasicItem< Vehicletype >::Height(), MapDisplayPG::initMovementStructure(), InternalAmmoTransferWindow::InternalAmmoTransferWindow(), loadASCFieldImage(), loadASCFieldImageArray(), GraphicSetManager_Base::loadData(), VisibilityLayer::paintSingleField(), WholeMapRenderer::renderVisibility(), Vehicletype::runTextIO(), BuildingType::runTextIO(), StoringPosition::StoringPosition(), and MapDisplayPG::widgetPos2mapPos().

#define fieldxsize   48
 

Definition at line 356 of file typen.h.

Referenced by GuiFunctions::generate_gui_build_icon(), rotatepict(), and rotatepict_grw().

#define fieldysize   48
 

Definition at line 357 of file typen.h.

Referenced by GuiFunctions::generate_gui_build_icon(), rotatepict(), rotatepict_grw(), MapDisplayPG::setNewZoom(), WholeMapRenderer::writePCX(), and WholeMapRenderer::writePNG().

#define fusstruppenplattfahrgewichtsfaktor   2
 

Definition at line 423 of file typen.h.

#define generatortruckefficiency   2
 

Definition at line 436 of file typen.h.

Referenced by Vehicle::endRound().

#define lookintoenemybuildings   false
 

Definition at line 427 of file typen.h.

#define lookintoenemytransports   false
 

Definition at line 426 of file typen.h.

#define maxfloat   FLT_MAX
 

Definition at line 397 of file typen.h.

#define maxint   INT_MAX
 

Definition at line 394 of file typen.h.

Referenced by ammoCounter(), AmmoTransferrable::AmmoTransferrable(), AStar::AStar(), GetResourceCapacity::checkbuilding(), VehicleService::FieldSearch::checkBuilding2Vehicle(), VehicleService::FieldSearch::checkVehicle2Vehicle(), ResourceTransferrable::commit(), compareMapResources(), ContainerBaseType::ContainerBaseType(), BuildingTypeBaseWidget::display(), doresearch(), DashboardPanel::eval(), StoringPosition::eventBlit(), execaction(), ChangeVehicleHeight::execute(), VehicleMovement::execute(), BaseVehicleMovement::execute(), GuiFunctions::ConstructBuilding::execute(), ContainerControls::fillResource(), BuildingTypeBaseWidget::getBuildingHeight(), Building::getImage(), getmaxwindspeedforunit(), BaseVehicleMovement::PathFinder::getMovementFields(), getPlayerStrength(), tsearchreactionfireingunits::init(), EditAiParam::init(), BuildingValues::init(), VehicleService::FieldSearch::initrefuelling(), Building::maxAmmo(), ContainerControls::productionLinesBuyable(), ContainerControls::refillAmmo(), ContainerControls::refillResources(), VehicleProduction_SelectionWindow::reLoadAndUpdate(), resourceAnalysis(), ResourceWatch::ResourceWatch(), VehicleService::FieldSearch::run(), Vehicletype::runTextIO(), ContainerBaseType::runTextIO(), NextMap::setup(), CargoDialog::showAmmo(), DashboardPanel::showUnitData(), GetResourceCapacity::start(), PutTribute::start(), PutResource::start(), CargoDialog::updateResourceDisplay(), VehicleProduction_SelectionWindow::VehicleProduction_SelectionWindow(), and viewterraininfo().

#define maxmalq   10
 

Constants that specify the layout of ASC.

Definition at line 354 of file typen.h.

Referenced by CalculateThreat_VehicleType::calc_threat_vehicletype(), calcMoveMalus(), VehicleService::FieldSearch::checkVehicle2Vehicle(), evaluateviewcalculation(), trunreplay::execnextreplaymove(), GuiFunctions::ObjectBuildingGui::execute(), AStar3D::findPath(), tputmine::initpm(), VehicleService::FieldSearch::initrefuelling(), BaseVehicleMovement::moveunitxy(), WeaponRange::run(), ServiceTargetSearcher::startSearch(), and Vehicle::vehicleconstructable().

#define mine_movemalus_increase   50
 

Definition at line 438 of file typen.h.

Referenced by tfield::getmovemalus().

#define mineputmovedecrease   10
 

Definition at line 420 of file typen.h.

Referenced by tputmine::initpm(), and putMine().

#define mineremovemovedecrease   10
 

Definition at line 421 of file typen.h.

Referenced by putMine().

#define minfloat   FLT_MIN
 

Definition at line 398 of file typen.h.

#define mingebaeudeeroberungsbeschaedigung   80
 

Definition at line 424 of file typen.h.

Referenced by ContainerBase::vehicleLoadable().

#define minint   INT_MIN
 

Definition at line 395 of file typen.h.

Referenced by BuildingTypeBaseWidget::getBuildingHeight(), EditAiParam::init(), VehicleService::FieldSearch::initrefuelling(), and AddResources::setup().

#define minmalq   10
 

Definition at line 355 of file typen.h.

Referenced by attackpossible28(), beeline(), UnitHooveringLogic::calcFuelUsage(), AStar3D::dist(), UnitHooveringLogic::getEndurance(), tfield::getmovemalus(), Vehicle::getMovement(), tcomputeview::initviewcalculation(), TerrainType::Weather::read(), WeaponRange::run(), TerrainType::Weather::runTextIO(), tfield::setparams(), strrd8d(), strrd8n(), strrd8u(), strrrd8d(), strrrd8n(), strrrd8u(), and windbeeline().

#define movement_cost_for_repaired_unit   24
 

Definition at line 416 of file typen.h.

#define movement_cost_for_repairing_unit   12
 

Definition at line 417 of file typen.h.

#define nowindplanefuelusage   1
 

Definition at line 431 of file typen.h.

#define recyclingoutput   2
 

Definition at line 429 of file typen.h.

Referenced by ContainerControls::calcDestructionOutput().

#define resource_fuel_factor   80
 

Definition at line 457 of file typen.h.

Referenced by MiningStation::testfield(), and GetMiningInfo::testfield().

#define resource_material_factor   80
 

Definition at line 458 of file typen.h.

Referenced by MiningStation::testfield(), and GetMiningInfo::testfield().

#define tanksize   (( unitsizex+1 ) * ( unitsizey+1 ) + 4 )
 

Definition at line 374 of file typen.h.

#define unitsize   tanksize
 

Definition at line 375 of file typen.h.

#define unitsizex   30
 

Definition at line 372 of file typen.h.

#define unitsizey   30
 

Definition at line 373 of file typen.h.


Enumeration Type Documentation

anonymous enum
 

Structure field naming constants.

Enumeration values:
capeace 
cawar 
cawarannounce 
capeaceproposal 
canewsetwar1 
canewsetwar2 
canewpeaceproposal 
capeace_with_shareview 

Definition at line 311 of file typen.h.

enum VisibilityStates
 

Enumeration values:
visible_not 
visible_ago 
visible_now 
visible_all 

Definition at line 312 of file typen.h.


Function Documentation

Resources operator * const Resources res1,
float  a
 

Definition at line 209 of file typen.cpp.

References Resources::resource(), and resourceTypeNum.

MapCoordinate operator+ const MapCoordinate a,
const MapCoordinate b
[inline]
 

Definition at line 196 of file typen.h.

References MapCoordinate::x, and MapCoordinate::y.

Resources operator+ const Resources res1,
const Resources res2
 

Definition at line 202 of file typen.cpp.

MapCoordinate operator- const MapCoordinate a,
const MapCoordinate b
[inline]
 

Definition at line 191 of file typen.h.

References MapCoordinate::x, and MapCoordinate::y.

Resources operator- const Resources res1,
const Resources res2
 

Definition at line 195 of file typen.cpp.

Resources operator/ const Resources res1,
float  a
 

Definition at line 217 of file typen.cpp.

References Resources::resource(), and resourceTypeNum.

vector<IntRange> String2IntRangeVector const ASCString t  ) 
 

Definition at line 286 of file typen.cpp.

References atoi(), and StringSplit::getNextToken().

Referenced by IntRangeArrayProperty::operation_eq().


Variable Documentation

const int attackmovecost = 0
 

The movement decrease in percent of the total movemnt that is used for attacking; only used for units that can move after attacking.

Definition at line 411 of file typen.h.

Referenced by Vehicle::postAttack().

const char* cgeneralnetcontrol[]
 

Definition at line 75 of file typen.cpp.

const char* choehenstufen[8]
 

The different levels of height.

Definition at line 39 of file typen.cpp.

Referenced by AI::showFieldInformation().

const int choehenstufennum = 8
 

The number of levels of height.

Definition at line 66 of file typen.h.

Referenced by Vehicletype::HeightChangeMethod::runTextIO(), SingleWeapon::runTextIO(), Vehicletype::runTextIO(), ContainerBaseType::TransportationIO::runTextIO(), and BuildingType::runTextIO().

const int cmm_building = 11
 

The movemalus type for a building. It is used for SingleWeapon::targetingAccuracy .

Definition at line 62 of file typen.h.

Referenced by attackpossible(), tunitattacksobject::setup(), and tunitattacksbuilding::setup().

const int cmm_trooper = 7
 

Definition at line 63 of file typen.h.

Referenced by Mine::attacksunit(), and tmineattacksunit::setup().

const int cmovemalitypenum = 18
 

The number of vehicle categories; Each category has its own move malus.

Definition at line 59 of file typen.h.

Referenced by TerrainType::MoveMalus::MoveMalus(), Vehicletype::read(), SingleWeapon::runTextIO(), Vehicletype::runTextIO(), TerrainType::Weather::runTextIO(), ObjectType::FieldModification::runTextIO(), ContainerBaseType::runTextIO(), ContainerBaseType::TransportationIO::runTextIO(), tfield::setparams(), WeaponInfoPanel::showWeapon(), SingleWeapon::SingleWeapon(), CargoDialog::userHandler(), viewterraininfo(), and Vehicletype::write().

const char* cmovemalitypes[cmovemalitypenum]
 

Definition at line 43 of file typen.cpp.

Referenced by UnitInfoDialog::UnitInfoDialog(), CargoDialog::userHandler(), and viewterraininfo().

const char* cnetcontrol[cnetcontrolnum]
 

The actions that can be used to control a ResourceNet.

Definition at line 71 of file typen.cpp.

const int cnetcontrolnum = 12
 

The number of netcontrol actions ; see cnetcontrol.

Definition at line 480 of file typen.h.

const int csolarkraftwerkleistung[]
 

Definition at line 90 of file typen.cpp.

Referenced by SolarPowerplant::getPlus().

const char* cwettertypen[]
 

Definition at line 78 of file typen.cpp.

Referenced by AddWeatherAreaDialog::AddWeatherAreaDialog(), chooseWeather(), WeatherAreaInformation::getInformation(), Maped_MainScreenWidget::Maped_MainScreenWidget(), viewterraininfo(), and WeatherDialog::WeatherDialog().

const int cwettertypennum = 6
 

The number of different weather.

Definition at line 56 of file typen.h.

Referenced by AddWeatherAreaDialog::AddWeatherAreaDialog(), BuildingType::BuildingType(), chooseWeather(), TerrainType::getMemoryFootprint(), BuildingType::getMemoryFootprint(), tfield::getweather(), Maped_MainScreenWidget::Maped_MainScreenWidget(), TerrainType::read(), BuildingType::read(), TerrainType::Weather::runTextIO(), TerrainType::runTextIO(), BuildingType::runTextIO(), TerrainType::TerrainType(), WeatherDialog::WeatherDialog(), TerrainType::write(), BuildingType::write(), tspfldloaders::writefields(), and TerrainType::~TerrainType().

const int directionangle[sidenum]
 

Definition at line 84 of file typen.cpp.

Referenced by UnitPropertyEditor::init(), and ContainerBase::paintField().