Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

cMapStuff Class Reference

#include <mapstuff.h>

List of all members.

Public Methods

 cMapStuff ()
virtual ~cMapStuff ()
void Load ()
bool IsUnderRoof (SI16 x, SI16 y, SI08 z)
SI08 StaticTop (SI16 x, SI16 y, SI08 oldz)
SI08 DynamicElevation (SI16 x, SI16 y, SI08 oldz)
SI08 MapElevation (SI16 x, SI16 y)
SI08 AverageMapElevation (SI16 x, SI16 y, int &id)
SI08 TileHeight (int tilenum)
SI08 Height (SI16 x, SI16 y, SI08 oldz)
bool IsTileWet (int tilenum)
void MultiArea (CMultiObj *i, SI16 &x1, SI16 &y1, SI16 &x2, SI16 &y2)
void SeekTile (int tilenum, CTile *tile)
void SeekMulti (UI32 multinum, UOXFile **mfile, SI32 *length)
void SeekMulti (UI32 multinum, SI32 *length)
st_multiSeekIntoMulti (int multinum, int number)
void SeekLand (int landnum, CLand *land)
map_st SeekMap0 (SI16 x, SI16 y)
bool IsRoofOrFloorTile (CTile *tile)
bool IsRoofOrFloorTile (CTileUni *tile)
bool CanMonsterMoveHere (SI16 x, SI16 y, SI08 z)

Public Attributes

char mapname [80]
char sidxname [80]
char statname [80]
char vername [80]
char tilename [80]
char multiname [80]
char midxname [80]
UI32 StaMem
UI32 TileMem
UI32 versionMemory
UI32 Map0CacheHit
UI32 Map0CacheMiss
StaCache_st StaticCache [MapTileWidth][MapTileHeight]
UI08 Cache

Private Methods

void CacheTiles (void)
void CacheStatics (void)
void CacheMultis (void)
string BuildFilePath (char *fName)
bool VerLand (int landnum, CLand *land)
SI08 MultiHeight (CItem *i, SI16 x, SI16 y, SI08 oldz)
int MultiTile (CItem *i, SI16 x, SI16 y, SI08 oldz)
SI32 VerSeek (SI32 file, SI32 block)
bool VerTile (int tilenum, CTile *tile)
bool TileWalk (int tilenum)
void CacheVersion ()
int DynTile (SI16 x, SI16 y, SI08 oldz)
bool DoesTileBlock (int tilenum)
bool DoesStaticBlock (SI16 x, SI16 y, SI08 oldz)

Private Attributes

UOXFilemapfile
UOXFilesidxfile
UOXFilestatfile
UOXFileverfile
UOXFiletilefile
UOXFilemultifile
UOXFilemidxfile
CTile tilecache [0x4000]
UI32 StaticBlocks
MapCache Map0Cache [MAP0CACHE]
vector< MultiCache *> multiCache
versionrecordversionCache
UI32 versionRecordCount
UI16 multiCount

Friends

class MapStaticIterator


Constructor & Destructor Documentation

cMapStuff::cMapStuff  
 

cMapStuff::~cMapStuff   [virtual]
 


Member Function Documentation

SI08 cMapStuff::AverageMapElevation SI16   x,
SI16   y,
int &   id
 

string cMapStuff::BuildFilePath char *   fName [private]
 

void cMapStuff::CacheMultis void   [private]
 

void cMapStuff::CacheStatics void   [private]
 

void cMapStuff::CacheTiles void   [private]
 

void cMapStuff::CacheVersion void   [private]
 

bool cMapStuff::CanMonsterMoveHere SI16   x,
SI16   y,
SI08   oldz
 

bool cMapStuff::DoesStaticBlock SI16   x,
SI16   y,
SI08   oldz
[private]
 

bool cMapStuff::DoesTileBlock int   tilenum [private]
 

int cMapStuff::DynTile SI16   x,
SI16   y,
SI08   oldz
[private]
 

SI08 cMapStuff::DynamicElevation SI16   x,
SI16   y,
SI08   oldz
 

SI08 cMapStuff::Height SI16   x,
SI16   y,
SI08   oldz
 

bool cMapStuff::IsRoofOrFloorTile CTileUni *   tile
 

bool cMapStuff::IsRoofOrFloorTile CTile *   tile
 

bool cMapStuff::IsTileWet int   tilenum
 

bool cMapStuff::IsUnderRoof SI16   x,
SI16   y,
SI08   z
 

void cMapStuff::Load void  
 

SI08 cMapStuff::MapElevation SI16   x,
SI16   y
 

void cMapStuff::MultiArea CMultiObj *   i,
SI16 &   x1,
SI16 &   y1,
SI16 &   x2,
SI16 &   y2
 

SI08 cMapStuff::MultiHeight CItem *   i,
SI16   x,
SI16   y,
SI08   oldz
[private]
 

int cMapStuff::MultiTile CItem *   i,
SI16   x,
SI16   y,
SI08   oldz
[private]
 

st_multi * cMapStuff::SeekIntoMulti int   multinum,
int   number
 

void cMapStuff::SeekLand int   landnum,
CLand *   land
 

map_st cMapStuff::SeekMap0 SI16   x,
SI16   y
 

void cMapStuff::SeekMulti UI32   multinum,
SI32 *   length
 

void cMapStuff::SeekMulti UI32   multinum,
UOXFile **   mfile,
SI32 *   length
 

void cMapStuff::SeekTile int   tilenum,
CTile *   tile
 

SI08 cMapStuff::StaticTop SI16   x,
SI16   y,
SI08   oldz
 

SI08 cMapStuff::TileHeight int   tilenum
 

bool cMapStuff::TileWalk int   tilenum [private]
 

bool cMapStuff::VerLand int   landnum,
CLand *   land
[private]
 

SI32 cMapStuff::VerSeek SI32   file,
SI32   block
[private]
 

bool cMapStuff::VerTile int   tilenum,
CTile *   tile
[private]
 


Friends And Related Function Documentation

friend class MapStaticIterator [friend]
 


Member Data Documentation

UI08 cMapStuff::Cache
 

MapCache cMapStuff::Map0Cache[MAP0CACHE] [private]
 

UI32 cMapStuff::Map0CacheHit
 

UI32 cMapStuff::Map0CacheMiss
 

UI32 cMapStuff::StaMem
 

UI32 cMapStuff::StaticBlocks [private]
 

StaCache_st cMapStuff::StaticCache[MapTileWidth][MapTileHeight]
 

UI32 cMapStuff::TileMem
 

UOXFile* cMapStuff::mapfile [private]
 

char cMapStuff::mapname[80]
 

UOXFile * cMapStuff::midxfile [private]
 

char cMapStuff::midxname[80]
 

vector< MultiCache *> cMapStuff::multiCache [private]
 

UI16 cMapStuff::multiCount [private]
 

UOXFile * cMapStuff::multifile [private]
 

char cMapStuff::multiname[80]
 

UOXFile * cMapStuff::sidxfile [private]
 

char cMapStuff::sidxname[80]
 

UOXFile * cMapStuff::statfile [private]
 

char cMapStuff::statname[80]
 

CTile cMapStuff::tilecache[0x4000] [private]
 

UOXFile * cMapStuff::tilefile [private]
 

char cMapStuff::tilename[80]
 

UOXFile * cMapStuff::verfile [private]
 

char cMapStuff::vername[80]
 

versionrecord* cMapStuff::versionCache [private]
 

UI32 cMapStuff::versionMemory
 

UI32 cMapStuff::versionRecordCount [private]
 


The documentation for this class was generated from the following files:
Generated at Sun Sep 16 22:45:38 2001 for UOX3 by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001