aboutsummaryrefslogtreecommitdiff
path: root/queen/grid.h
diff options
context:
space:
mode:
Diffstat (limited to 'queen/grid.h')
-rw-r--r--queen/grid.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/queen/grid.h b/queen/grid.h
index 2b32b6ad32..e9a99747b7 100644
--- a/queen/grid.h
+++ b/queen/grid.h
@@ -61,6 +61,9 @@ public:
uint16 areaMax(int room) const { return _areaMax[room]; }
uint16 objMax(int room) const { return _objMax[room]; }
+ void saveState(byte *&ptr);
+ void loadState(uint32 ver, byte *&ptr);
+
enum {
MAX_ZONES_NUMBER = 32,
MAX_AREAS_NUMBER = 11
@@ -82,6 +85,8 @@ private:
Area (*_area)[MAX_AREAS_NUMBER];
+ uint16 _numRoomAreas;
+
Box *_objectBox;
QueenEngine *_vm;