aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-06-07 17:27:59 +0530
committerEugene Sandulenko2019-09-03 17:16:44 +0200
commitf51736483ddc371916e41e54be0763676deb15b0 (patch)
tree608241fafbbe28d0e7e62c834b5dd3b373804a77
parent90bba2df0417111af8a9f812dc4637215a76a4e1 (diff)
downloadscummvm-rg350-f51736483ddc371916e41e54be0763676deb15b0.tar.gz
scummvm-rg350-f51736483ddc371916e41e54be0763676deb15b0.tar.bz2
scummvm-rg350-f51736483ddc371916e41e54be0763676deb15b0.zip
HDB: Add Map Coordinate data members to Map
-rw-r--r--engines/hdb/map-loader.h16
1 files changed, 15 insertions, 1 deletions
diff --git a/engines/hdb/map-loader.h b/engines/hdb/map-loader.h
index 43edefd7fb..beae262d11 100644
--- a/engines/hdb/map-loader.h
+++ b/engines/hdb/map-loader.h
@@ -52,6 +52,11 @@ public:
Map();
bool load(Common::SeekableReadStream *stream);
+
+ int mapX, mapY; // Coordinates of Map
+ int mapTileX, mapTileY; // Tile Coordinates of Map
+ int mapTileXOff, mapTileYOff; // Tile Coordinates Offset (0-31)
+
private:
char _name[32];
uint16 _width;
@@ -74,6 +79,7 @@ private:
bool _mapLoaded;
};
+#if 0
class MapLoader {
public:
MapLoader();
@@ -85,10 +91,18 @@ public:
return _mapLoaded;
}
+ int mapX, mapY; // Coordinates of Map
+ int mapWidth, mapHeight; // Map Dimensions
+ int mapTileX, mapTileY; // Tile Coordinates of Map
+ int mapTileXoff, mapTileYoff; // Tile Coordinates Offset (0-31)
+
+ Common::Array<SeeThroughTile *> mapGratings, mapForegrounds;
+ int numGratings, numForegrounds;
+
private:
- MSMHeader *mapHeader;
bool _mapLoaded;
};
+#endif
}