diff options
Diffstat (limited to 'engines/gob/map.cpp')
-rw-r--r-- | engines/gob/map.cpp | 33 |
1 files changed, 31 insertions, 2 deletions
diff --git a/engines/gob/map.cpp b/engines/gob/map.cpp index 95b4c1b318..3efa18c264 100644 --- a/engines/gob/map.cpp +++ b/engines/gob/map.cpp @@ -41,8 +41,9 @@ Map::Map(GobEngine *vm) : _vm(vm) { _screenWidth = 0; _screenHeight = 0; - _tilesWidth = 0; - _tilesHeight = 0; + + _tilesWidth = 0; + _tilesHeight = 0; _bigTiles = false; @@ -86,6 +87,34 @@ uint8 Map::getVersion() const { return _mapVersion; } +int16 Map::getMapWidth() const { + return _mapWidth; +} + +int16 Map::getMapHeight() const { + return _mapHeight; +} + +int16 Map::getScreenWidth() const { + return _screenWidth; +} + +int16 Map::getScreenHeight() const { + return _screenHeight; +} + +int16 Map::getTilesWidth() const { + return _tilesWidth; +} + +int16 Map::getTilesHeight() const { + return _tilesHeight; +} + +bool Map::hasBigTiles() const { + return _bigTiles; +} + int8 Map::getPass(int x, int y, int width) const { if (!_passMap) return 0; |