Advanced Strategic Command
Classes | Public Member Functions | Public Attributes | List of all members
Bi3MapTranslationTable Class Reference

a table to translate a Battle Isle map into an ASC map More...

Classes

struct  Objecttranslataion
 
struct  Terrain2id
 
struct  Terraincombixlat
 

Public Member Functions

void runTextIO (PropertyContainer &pc)
 
void read (tnstream &stream)
 
void write (tnstream &stream) const
 

Public Attributes

vector< pair< int, int > > terraintranslation
 The first entry is the picture number that is going to be replaced by the picture number of the second entry. More...
 
vector< Terrain2idterrain2idTranslation
 The first entry is the picture number that is going to be replaced by the terrain with the ID of the second number and the weather of the third number. More...
 
vector< Terraincombixlatterraincombixlat
 This is a special translation for the fields that must be translated to a terrain AND an additional object. More...
 
vector< Objecttranslataionobjecttranslate
 These BI object pictures can be translated to up to four ASC objects. More...
 
vector< pair< int, int > > object2IDtranslate
 These BI object pictures can be translated to ASC objects. More...
 
ASCString filename
 
ASCString location
 

Detailed Description

a table to translate a Battle Isle map into an ASC map

Definition at line 136 of file loadbi3.cpp.

Member Function Documentation

void Bi3MapTranslationTable::read ( tnstream stream)
void Bi3MapTranslationTable::runTextIO ( PropertyContainer pc)
void Bi3MapTranslationTable::write ( tnstream stream) const

Member Data Documentation

ASCString Bi3MapTranslationTable::filename

Definition at line 231 of file loadbi3.cpp.

Referenced by read(), BI3TranslationTableLoader::readTextFiles(), and write().

ASCString Bi3MapTranslationTable::location

Definition at line 231 of file loadbi3.cpp.

Referenced by read(), BI3TranslationTableLoader::readTextFiles(), and write().

vector< pair<int,int> > Bi3MapTranslationTable::object2IDtranslate

These BI object pictures can be translated to ASC objects.

The first entry is again the BI picture number, the second is the ID of the ASC object.

Definition at line 225 of file loadbi3.cpp.

Referenced by read(), runTextIO(), and write().

vector<Objecttranslataion> Bi3MapTranslationTable::objecttranslate

These BI object pictures can be translated to up to four ASC objects.

The first entry is again the BI picture number, the following four the pictures for the ASC objects. A -1 is used if the entry is not used. It does not matter if you use " -1, 1500, -1 , -1 " or " 1500, -1 , -1, -1" or any other order.

Definition at line 220 of file loadbi3.cpp.

Referenced by read(), runTextIO(), and write().

vector< Terrain2id > Bi3MapTranslationTable::terrain2idTranslation

The first entry is the picture number that is going to be replaced by the terrain with the ID of the second number and the weather of the third number.

Definition at line 164 of file loadbi3.cpp.

Referenced by read(), runTextIO(), and write().

vector<Terraincombixlat> Bi3MapTranslationTable::terraincombixlat

This is a special translation for the fields that must be translated to a terrain AND an additional object.

Definition at line 190 of file loadbi3.cpp.

Referenced by read(), runTextIO(), and write().

vector< pair<int,int> > Bi3MapTranslationTable::terraintranslation

The first entry is the picture number that is going to be replaced by the picture number of the second entry.

Definition at line 139 of file loadbi3.cpp.

Referenced by read(), runTextIO(), and write().


The documentation for this class was generated from the following file: