aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/map.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-04-26 18:29:20 -0500
committerPaul Gilbert2015-04-26 18:29:20 -0500
commit65eb390ead25c54b1e3c547f3e189a7ccb73becb (patch)
treeab235ea8c28d422eccd43d4f03359ab9f793ee09 /engines/sherlock/map.h
parentf3bd61607017fe0ef0f5143e6ad8dbdb4743b246 (diff)
downloadscummvm-rg350-65eb390ead25c54b1e3c547f3e189a7ccb73becb.tar.gz
scummvm-rg350-65eb390ead25c54b1e3c547f3e189a7ccb73becb.tar.bz2
scummvm-rg350-65eb390ead25c54b1e3c547f3e189a7ccb73becb.zip
SHERLOCK: Cleanup and moving of map variables into Map class
Diffstat (limited to 'engines/sherlock/map.h')
-rw-r--r--engines/sherlock/map.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/sherlock/map.h b/engines/sherlock/map.h
index a91e7ae968..564ae73691 100644
--- a/engines/sherlock/map.h
+++ b/engines/sherlock/map.h
@@ -26,6 +26,7 @@
#include "common/scummsys.h"
#include "common/array.h"
#include "common/rect.h"
+#include "common/serializer.h"
#include "common/str.h"
#include "common/str-array.h"
#include "sherlock/graphics.h"
@@ -67,8 +68,6 @@ private:
ImageFile *_shapes;
ImageFile *_iconShapes;
byte _sequences[MAX_HOLMES_SEQUENCE][MAX_FRAME];
- Common::Point _bigPos;
- Common::Point _overPos;
Common::Point _lDrawnPos;
int _point;
bool _placesShown;
@@ -97,6 +96,9 @@ private:
void highlightIcon(const Common::Point &pt);
public:
bool _active;
+ Common::Point _overPos;
+ Common::Point _bigPos;
+ int _charPoint, _oldCharPoint;
public:
Map(SherlockEngine *vm);
@@ -106,6 +108,8 @@ public:
void loadSequences(int count, const byte *seq);
int show();
+
+ void synchronize(Common::Serializer &s);
};
} // End of namespace Sherlock