tloadBImap Class Reference

Inheritance diagram for tloadBImap:

Inheritance graph
[legend]
List of all members.

Public Member Functions

void LoadFromFile (const char *path, const char *AFileName, TerrainType::Weather *trrn, string *errorOutput)
 tloadBImap (Bi3MapTranslationTable *_translationTable)
void ____fakeMap____ (void)
virtual ~tloadBImap ()

Protected Member Functions

virtual void preparemap (int x, int y)=0
virtual MapFieldgetfield (int x, int y)

Protected Attributes

int xoffset
int yoffset
TerrainType::Weatherdefaultterraintype
char * missing

Classes

struct  TACTN
struct  TFileMap
struct  TFileShop
struct  THeader
struct  TMAPHead
struct  TMISSPart
union  TShopContent
struct  TSHOPHead
struct  TTextItem

Detailed Description

Definition at line 418 of file loadbi3.cpp.


Constructor & Destructor Documentation

tloadBImap::tloadBImap ( Bi3MapTranslationTable _translationTable  )  [inline]

Definition at line 531 of file loadbi3.cpp.

References xoffset, and yoffset.

virtual tloadBImap::~tloadBImap (  )  [inline, virtual]

Definition at line 538 of file loadbi3.cpp.


Member Function Documentation

void tloadBImap::LoadFromFile ( const char *  path,
const char *  AFileName,
TerrainType::Weather trrn,
string *  errorOutput 
)

Definition at line 1578 of file loadbi3.cpp.

References calculateallobjects(), defaultterraintype, tdialogbox::done(), tfileerror::getFileName(), HeadID, tviewanytext::init(), pathdelimitterstring, tnstream::reading, and tviewanytext::run().

Referenced by importbattleislemap(), and insertbattleislemap().

void tloadBImap::____fakeMap____ ( void   )  [inline]

Definition at line 537 of file loadbi3.cpp.

Referenced by importbattleislemap().

virtual void tloadBImap::preparemap ( int  x,
int  y 
) [protected, pure virtual]

Implemented in ImportBiMap, and InsertBiMap.

MapField * tloadBImap::getfield ( int  x,
int  y 
) [protected, virtual]

Reimplemented in InsertBiMap.

Definition at line 592 of file loadbi3.cpp.

References getfield().


Member Data Documentation

int tloadBImap::xoffset [protected]

Definition at line 527 of file loadbi3.cpp.

Referenced by InsertBiMap::getfield(), InsertBiMap::InsertBiMap(), InsertBiMap::preparemap(), and tloadBImap().

int tloadBImap::yoffset [protected]

Definition at line 527 of file loadbi3.cpp.

Referenced by InsertBiMap::getfield(), InsertBiMap::InsertBiMap(), InsertBiMap::preparemap(), and tloadBImap().

TerrainType::Weather* tloadBImap::defaultterraintype [protected]

Definition at line 528 of file loadbi3.cpp.

Referenced by LoadFromFile(), and ImportBiMap::preparemap().

char* tloadBImap::missing [protected]

Definition at line 567 of file loadbi3.cpp.

Referenced by InsertBiMap::preparemap().


The documentation for this class was generated from the following file:
Generated on Mon May 21 01:47:50 2012 for Advanced Strategic Command by  doxygen 1.5.1