diff options
Diffstat (limited to 'engines/gob/map.cpp')
-rw-r--r-- | engines/gob/map.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/gob/map.cpp b/engines/gob/map.cpp index 1310798d2d..95b4c1b318 100644 --- a/engines/gob/map.cpp +++ b/engines/gob/map.cpp @@ -32,13 +32,13 @@ namespace Gob { Map::Map(GobEngine *vm) : _vm(vm) { + _mapVersion = 0; + _passWidth = 0; _mapWidth = -1; _mapHeight = -1; _passMap = 0; - _widthByte = 0; - _screenWidth = 0; _screenHeight = 0; _tilesWidth = 0; @@ -82,6 +82,10 @@ Map::~Map() { delete[] _wayPoints; } +uint8 Map::getVersion() const { + return _mapVersion; +} + int8 Map::getPass(int x, int y, int width) const { if (!_passMap) return 0; |