ScummVM API documentation
HDB::Map Class Reference

Public Member Functions

void save (Common::OutSaveFile *out)
 
void loadSaveFile (Common::InSaveFile *in)
 
void restartSystem ()
 
int loadTiles ()
 
bool load (Common::SeekableReadStream *stream)
 
bool loadMap (char *name)
 
void draw ()
 
void drawEnts ()
 
void drawGratings ()
 
void drawForegrounds ()
 
bool isLoaded ()
 
bool onScreen (int x, int y)
 
int mapPixelWidth ()
 
int mapPixelHeight ()
 
uint32 getMapBGTileFlags (int x, int y)
 
uint32 getMapFGTileFlags (int x, int y)
 
int16 getMapBGTileIndex (int x, int y)
 
int16 getMapFGTileIndex (int x, int y)
 
void setMapBGTileIndex (int x, int y, int index)
 
void setMapFGTileIndex (int x, int y, int index)
 
void addBGTileAnimation (int x, int y)
 
void addFGTileAnimation (int x, int y)
 
void removeBGTileAnimation (int x, int y)
 
void removeFGTileAnimation (int x, int y)
 
void getMapXY (int *x, int *y)
 
void setMapXY (int x, int y)
 
void centerMapXY (int x, int y)
 
bool checkEntOnScreen (AIEntity *)
 
bool checkXYOnScreen (int x, int y)
 
bool checkOneTileExistInRange (int tileIndex, int count)
 
bool explosionExist (int x, int y)
 
void setExplosion (int x, int y, int value)
 
bool boomBarrelExist (int x, int y)
 
void setBoomBarrel (int x, int y, int value)
 
bool laserBeamExist (int x, int y)
 
void setLaserBeam (int x, int y, int value)
 
void clearLaserBeams ()
 

Public Attributes

int _screenXTiles
 
int _screenYTiles
 
int _screenTileWidth
 
int _screenTileHeight
 
uint16 _width
 
uint16 _height
 
int _mapX
 
int _mapY
 
int _mapTileX
 
int _mapTileY
 
int _mapTileXOff
 
int _mapTileYOff
 
Foreground _gratings [kMaxGratings]
 
Foreground _foregrounds [kMaxForegrounds]
 
int _numGratings
 
int _numForegrounds
 
int _animCycle
 
Common::Array< uint32 > _listBGAnimSlow
 
Common::Array< uint32 > _listBGAnimMedium
 
Common::Array< uint32 > _listBGAnimFast
 
Common::Array< uint32 > _listFGAnimSlow
 
Common::Array< uint32 > _listFGAnimMedium
 
Common::Array< uint32 > _listFGAnimFast
 

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