ScummVM API documentation
Gob::Map_v1 Class Reference
Inheritance diagram for Gob::Map_v1:
Gob::Map Gob::Map_v2

Public Member Functions

void loadMapObjects (const char *avjFile) override
 
void findNearestToGob (Mult::Mult_Object *obj) override
 
void findNearestToDest (Mult::Mult_Object *obj) override
 
void optimizePoints (Mult::Mult_Object *obj, int16 x, int16 y) override
 
 Map_v1 (GobEngine *vm)
 
- Public Member Functions inherited from Gob::Map
 Map (GobEngine *vm)
 
uint8 getVersion () const
 
int16 getMapWidth () const
 
int16 getMapHeight () const
 
int16 getScreenWidth () const
 
int16 getScreenHeight () const
 
int16 getTilesWidth () const
 
int16 getTilesHeight () const
 
bool hasBigTiles () const
 
int8 getPass (int x, int y, int width=-1) const
 
void setPass (int x, int y, int8 pass, int width=-1)
 
const WayPointgetWayPoint (int n) const
 
void findNearestWalkable (int16 &gobDestX, int16 &gobDestY, int16 mouseX, int16 mouseY)
 
int16 getItem (int x, int y) const
 
void setItem (int x, int y, int16 item)
 
void placeItem (int16 x, int16 y, int16 id)
 
Direction getDirection (int16 x0, int16 y0, int16 x1, int16 y1)
 
int16 checkDirectPath (Mult::Mult_Object *obj, int16 x0, int16 y0, int16 x1, int16 y1)
 
int16 checkLongPath (int16 x0, int16 y0, int16 x1, int16 y1, int16 i0, int16 i1)
 
void loadMapsInitGobs ()
 

Protected Member Functions

void init ()
 
void loadSounds (Common::SeekableReadStream &data)
 
void loadGoblins (Common::SeekableReadStream &data, uint32 gobsPos)
 
void loadObjects (Common::SeekableReadStream &data, uint32 objsPos)
 
void loadItemToObject (Common::SeekableReadStream &data)
 
- Protected Member Functions inherited from Gob::Map
int16 findNearestWayPoint (int16 x, int16 y)
 

Additional Inherited Members

- Public Attributes inherited from Gob::Map
int16 _nearestWayPoint
 
int16 _nearestDest
 
int16 _curGoblinX
 
int16 _curGoblinY
 
int16 _destX
 
int16 _destY
 
bool _usesObliqueCoordinates
 
ItemPos _itemPoses [40]
 
char _sourceFile [15]
 
- Protected Attributes inherited from Gob::Map
GobEngine_vm
 
bool _loadFromAvo
 
uint8 _mapVersion
 
int16 _mapWidth
 
int16 _mapHeight
 
int16 _screenWidth
 
int16 _screenHeight
 
int16 _tilesWidth
 
int16 _tilesHeight
 
bool _bigTiles
 
int16 _passWidth
 
int8 * _passMap
 
int16 _wayPointCount
 
WayPoint_wayPoints
 
int16 ** _itemsMap
 

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