terraintype.cpp File Reference

#include "terraintype.h"
#include "gameoptions.h"
#include "graphicset.h"
#include "sgstream.h"
#include "textfileparser.h"
#include "textfiletags.h"
#include "textfile_evaluation.h"
#include "overviewmapimage.h"
#include "graphics/blitter.h"
#include "fieldimageloader.h"

Include dependency graph for terraintype.cpp:

Go to the source code of this file.

Functions

TerrainBits getTerrainBitType (TerrainBitTypes tbt)

Variables

const char * terrainProperty [terrainPropertyNum+1]
const int terrain_version = 6


Function Documentation

TerrainBits getTerrainBitType ( TerrainBitTypes  tbt  ) 

Definition at line 544 of file terraintype.cpp.

References cbbuildingentry, cbfahrspur, cbfestland, cbfrozenwater, cbharbour, cbhillside, cbicebreaking, cblargerocks, cbpipeline, cbpowerline, cbrailroad, cbriver, cbrunway, cbsmallrocks, cbsnow1, cbsnow2, cbstreet, cbwater, cbwater0, cbwater1, cbwater2, cbwater3, getTerrainBitType(), and TerrainBits::setInt().

Referenced by ConstructBuildingCommand::buildingFits(), calculateobject(), Building::chainbuildingtofield(), tmapgenerator::checkland(), fieldAccessible(), ResourceNet::fieldavail(), AStar3D::findPath(), MapField::getBuildingEntrance(), getmaxwindspeedforunit(), getTerrainBitType(), tspfldloaders::readfields(), UnitTypeTransformation::run(), MapField::setparams(), terrainaccessible2(), transformMap(), Building::unchainbuildingfromfield(), VehicleCounterFactory::VehicleCounterFactory(), tspfldloaders::writefields(), and GameMap::~GameMap().


Variable Documentation

const int terrain_version = 6

Definition at line 170 of file terraintype.cpp.

Referenced by TerrainType::read(), TerrainType::Weather::read(), and TerrainType::write().

const char* terrainProperty[terrainPropertyNum+1]

Definition at line 30 of file terraintype.cpp.

Referenced by appendTerrainBits(), TerrainBits::appendToString(), DataTab::setData(), and showbdtbits().


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