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

TerrainBits Class Reference

the properties of a terrain describing which units can move onto this field and which can't More...

#include <terraintype.h>

List of all members.

Public Member Functions

void setInt (int terrain1=0, int terrain2=0)
void read (tnstream &stream)
void write (tnstream &stream) const


Detailed Description

the properties of a terrain describing which units can move onto this field and which can't

Definition at line 32 of file terraintype.h.


Member Function Documentation

void TerrainBits::read tnstream stream  ) 
 

Definition at line 403 of file terraintype.cpp.

References tnstream::readInt(), and setInt().

Referenced by TerrainType::Weather::read(), TerrainAccess::read(), and ObjectType::read().

void TerrainBits::setInt int  terrain1 = 0,
int  terrain2 = 0
 

Definition at line 391 of file terraintype.cpp.

Referenced by getTerrainBitType(), Vehicletype::read(), read(), and tspfldloaders::readfields().

void TerrainBits::write tnstream stream  )  const
 

Definition at line 410 of file terraintype.cpp.

References tnstream::writeInt().

Referenced by TerrainType::Weather::write(), TerrainAccess::write(), and ObjectType::write().


The documentation for this class was generated from the following files:
Generated on Tue Jun 24 02:21:24 2008 for Advanced Strategic Command by  doxygen 1.4.2