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. | |
| vector< Terrain2id > | 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. | |
| vector< Terraincombixlat > | terraincombixlat |
| This is a special translation for the fields that must be translated to a terrain AND an additional object. | |
| vector< Objecttranslataion > | objecttranslate |
| These BI object pictures can be translated to up to four ASC objects. | |
| vector< pair< int, int > > | object2IDtranslate |
| These BI object pictures can be translated to ASC objects. | |
| ASCString | filename |
| ASCString | location |
Classes | |
| struct | Objecttranslataion |
| struct | Terrain2id |
| struct | Terraincombixlat |
Definition at line 136 of file loadbi3.cpp.
| void Bi3MapTranslationTable::runTextIO | ( | PropertyContainer & | pc | ) |
Definition at line 265 of file loadbi3.cpp.
References PropertyContainer::addIntegerArray(), fatalError(), PropertyContainer::find(), object2IDtranslate, objecttranslate, terrain2idTranslation, terraincombixlat, and terraintranslation.
Referenced by BI3TranslationTableLoader::readTextFiles().
| void Bi3MapTranslationTable::read | ( | tnstream & | stream | ) |
Definition at line 235 of file loadbi3.cpp.
References filename, location, object2IDtranslate, objecttranslate, readClassContainer(), tnstream::readInt(), tnstream::readString(), terrain2idTranslation, terraincombixlat, and terraintranslation.
| void Bi3MapTranslationTable::write | ( | tnstream & | stream | ) | const |
Definition at line 252 of file loadbi3.cpp.
References filename, location, object2IDtranslate, objecttranslate, terrain2idTranslation, terraincombixlat, terraintranslation, writeClassContainer(), tnstream::writeInt(), and tnstream::writeString().
| 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 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().
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().
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< 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().
Definition at line 231 of file loadbi3.cpp.
Referenced by read(), BI3TranslationTableLoader::readTextFiles(), and write().
Definition at line 231 of file loadbi3.cpp.
Referenced by read(), BI3TranslationTableLoader::readTextFiles(), and write().
1.5.1