aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/map.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-04-17 00:07:31 -0500
committerPaul Gilbert2015-04-17 00:07:31 -0500
commit19142ef58a3e632b31a87a99b817e261f47c1bc4 (patch)
tree306777f935558a3cb60a64a0985c29b38006e604 /engines/sherlock/map.h
parent9ba234c0e09c4fc034ddd82f82483e10e2470dec (diff)
downloadscummvm-rg350-19142ef58a3e632b31a87a99b817e261f47c1bc4.tar.gz
scummvm-rg350-19142ef58a3e632b31a87a99b817e261f47c1bc4.tar.bz2
scummvm-rg350-19142ef58a3e632b31a87a99b817e261f47c1bc4.zip
SHERLOCK: Implement map icon drawing/restoring
Diffstat (limited to 'engines/sherlock/map.h')
-rw-r--r--engines/sherlock/map.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/sherlock/map.h b/engines/sherlock/map.h
index 32051d60b7..653d8c0084 100644
--- a/engines/sherlock/map.h
+++ b/engines/sherlock/map.h
@@ -45,6 +45,7 @@ private:
Common::Point _savedPos;
Common::Point _savedSize;
Surface _topLine;
+ ImageFile *_mapCursors;
ImageFile *_shapes;
ImageFile *_iconShapes;
byte _sequences[3][MAX_FRAME];
@@ -54,6 +55,9 @@ private:
int _point;
bool _placesShown;
int _charPoint;
+ int _cursorIndex;
+ bool _drawMap;
+ Surface _iconSave;
private:
void loadData();
@@ -67,6 +71,9 @@ private:
void updateMap(bool flushScreen);
void walkTheStreets();
+
+ void saveIcon(ImageFrame *src, const Common::Point &pt);
+ void restoreIcon();
public:
Map(SherlockEngine *vm);