Advanced Strategic Command
Classes | Typedefs | Enumerations | Functions | Variables
terraintype.h File Reference
#include "graphics/surface.h"
#include "typen.h"
#include "mapitemtype.h"
Include dependency graph for terraintype.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TerrainBits
 the properties of a terrain describing which units can move onto this field and which can't More...
 
class  TerrainAccess
 This class is used by buildings, vehicles and objects to specify which terrain it can move to / be built on. More...
 
class  TerrainType
 The type of a field. More...
 
class  TerrainType::MoveMalus
 
class  TerrainType::Weather
 

Typedefs

typedef class TerrainTypepterraintype
 

Enumerations

enum  TerrainBitTypes {
  cbwater0, cbwater1, cbwater2, cbwater3,
  cbwater, cbstreet, cbrailroad, cbbuildingentry,
  cbharbour, cbrunway, cbpipeline, cbpowerline,
  cbfahrspur, cbfestland, cbsnow1, cbsnow2,
  cbhillside, cbsmallrocks, cblargerocks, cbfrozenwater,
  cbicebreaking, cbriver
}
 

Functions

TerrainBits getTerrainBitType (TerrainBitTypes tbt)
 

Variables

const int terrainPropertyNum = 39
 the number of bits that specify the terrain of a field More...
 
const char * terrainProperty []
 

Typedef Documentation

typedef class TerrainType* pterraintype

Definition at line 72 of file terraintype.h.

Enumeration Type Documentation

Enumerator
cbwater0 
cbwater1 
cbwater2 
cbwater3 
cbwater 
cbstreet 
cbrailroad 
cbbuildingentry 
cbharbour 
cbrunway 
cbpipeline 
cbpowerline 
cbfahrspur 
cbfestland 
cbsnow1 
cbsnow2 
cbhillside 
cbsmallrocks 
cblargerocks 
cbfrozenwater 
cbicebreaking 
cbriver 

Definition at line 153 of file terraintype.h.

Function Documentation

TerrainBits getTerrainBitType ( TerrainBitTypes  tbt)

Variable Documentation

const char* terrainProperty[]
const int terrainPropertyNum = 39