Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

data Namespace Reference


Compounds

class  cMULFile

Functions

void cacheMap ()
 Caches map mul files, trying to maintain a sequential reading to get the best speed.

void cacheStatics ()
 Caches statics mul files, trying to maintain a sequential reading to get the best speed.

void cacheTileData ()
 Caches tiledata mul files, trying to maintain a sequential reading to get the best speed.

void cacheVerdataIndex ()
 Caches the verdata index, trying to maintain a sequential reading to get the best speed.

void cacheVerdata ()
 Caches the verdata info, trying to maintain a sequential reading to get the best speed.

void init ()
 initializes pointer maps

void shutdown ()
void setPath (MulFileId id, std::string path)
std::string getPath (MulFileId id)
LOGICAL seekMap (UI32 x, UI32 y, map_st &m, UI08 nMap)
LOGICAL collectStatics (UI32 x, UI32 y, staticVector &s_vec)
LOGICAL seekLand (UI16 id, land_st &land)
LOGICAL seekTile (UI16 id, tile_st &tile)
LOGICAL seekMulti (UI16 id, multiVector &m_vec)
LOGICAL seekVerTile (UI16 id, tile_st &tile)
LOGICAL seekVerLand (UI16 id, land_st &land)

Variables

std::vector< cMULFile< map_st > * > maps
cMULFile< staticIdx_st > * staticIdx
cMULFile< static_st > * statics
cMULFile< land_st > * tdLand
cMULFile< tile_st > * tdTile
cMULFile< multiIdx_st > * multiIdx
cMULFile< multi_st > * multi
cMULFile< verdata_st > * verIdx
cMULFile< land_st > * verLand
cMULFile< tile_st > * verTile
SI32 verdataEntries
std::string map_path
std::string staIdx_path
std::string statics_path
std::string tiledata_path
std::string verdata_path
std::string multi_path
std::string multiIdx_path


Detailed Description

Author:
Luxor


Function Documentation

void cacheMap   [static]
 

Caches map mul files, trying to maintain a sequential reading to get the best speed.

Author:
Luxor

void cacheStatics   [static]
 

Caches statics mul files, trying to maintain a sequential reading to get the best speed.

Author:
Luxor

void cacheTileData   [static]
 

Caches tiledata mul files, trying to maintain a sequential reading to get the best speed.

Author:
Luxor

void cacheVerdata   [static]
 

Caches the verdata info, trying to maintain a sequential reading to get the best speed.

Author:
Luxor

void cacheVerdataIndex   [static]
 

Caches the verdata index, trying to maintain a sequential reading to get the best speed.

Author:
Luxor

LOGICAL data::collectStatics UI32    x,
UI32    y,
staticVector   s_vec
 

Author:
Luxor

std::string data::getPath MulFileId    id
 

Author:
Luxor

void data::init  
 

initializes pointer maps

Author:
Luxor

LOGICAL data::seekLand UI16    id,
land_st   land
 

Author:
Luxor

LOGICAL data::seekMap UI32    x,
UI32    y,
map_st   m,
UI08    nMap = 0
 

Author:
Luxor

LOGICAL data::seekMulti UI16    id,
multiVector   m_vec
 

Author:
Luxor

LOGICAL data::seekTile UI16    id,
tile_st   tile
 

Author:
Luxor

LOGICAL data::seekVerLand UI16    id,
land_st   land
 

Author:
Luxor

LOGICAL data::seekVerTile UI16    id,
tile_st   tile
 

Author:
Luxor

void data::setPath MulFileId    id,
std::string    path
 

Author:
Luxor

void data::shutdown  
 

Author:
Luxor


Variable Documentation

std::string data::map_path [static]
 

std::vector< cMULFile< map_st >* > data::maps
 

cMULFile< multi_st >* data::multi
 

std::string data::multi_path [static]
 

cMULFile< multiIdx_st >* data::multiIdx
 

std::string data::multiIdx_path [static]
 

std::string data::staIdx_path [static]
 

cMULFile< staticIdx_st >* data::staticIdx
 

cMULFile< static_st >* data::statics
 

std::string data::statics_path [static]
 

cMULFile< land_st >* data::tdLand
 

cMULFile< tile_st >* data::tdTile
 

std::string data::tiledata_path [static]
 

std::string data::verdata_path [static]
 

SI32 data::verdataEntries [static]
 

cMULFile< verdata_st >* data::verIdx
 

cMULFile< land_st >* data::verLand
 

cMULFile< tile_st >* data::verTile
 

SourceForge.net Logo