diff options
author | Gregory Montoir | 2004-01-12 13:40:02 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-01-12 13:40:02 +0000 |
commit | 95de2117a20da3b9828a385b4a6713e4d9524aa8 (patch) | |
tree | 6b13647be7a0340bc5c7227208a2880d890666e5 /queen/grid.h | |
parent | a685422a138c99af7f95f8deaf787425af356f9b (diff) | |
download | scummvm-rg350-95de2117a20da3b9828a385b4a6713e4d9524aa8.tar.gz scummvm-rg350-95de2117a20da3b9828a385b4a6713e4d9524aa8.tar.bz2 scummvm-rg350-95de2117a20da3b9828a385b4a6713e4d9524aa8.zip |
New save/load code, this *breaks* compatiblity with the previous
savefile format. Use the 'qsc' tool to convert your old files
(http://0x.7fc1.org/fotaq/qsc.[cpp|exe]).
svn-id: r12339
Diffstat (limited to 'queen/grid.h')
-rw-r--r-- | queen/grid.h | 5 |
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; |