aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2014-11-23 14:52:22 -0500
committerPaul Gilbert2014-12-12 22:39:11 -0500
commitada5ca20f97a4d0b3b21ed18feac7c8d814d8959 (patch)
tree9acfe9e8f1180bb67982feed239f00b8290ad862
parentff003f3b657a7651cc1f49be84d5190299ec17d5 (diff)
downloadscummvm-rg350-ada5ca20f97a4d0b3b21ed18feac7c8d814d8959.tar.gz
scummvm-rg350-ada5ca20f97a4d0b3b21ed18feac7c8d814d8959.tar.bz2
scummvm-rg350-ada5ca20f97a4d0b3b21ed18feac7c8d814d8959.zip
ACCESS: Reorganise Amazon game-specific variables that are saved
-rw-r--r--engines/access/amazon/amazon_game.h23
1 files changed, 10 insertions, 13 deletions
diff --git a/engines/access/amazon/amazon_game.h b/engines/access/amazon/amazon_game.h
index 3b8b98101e..26a9454d09 100644
--- a/engines/access/amazon/amazon_game.h
+++ b/engines/access/amazon/amazon_game.h
@@ -54,10 +54,6 @@ public:
class AmazonEngine : public AccessEngine {
private:
- // Fields that are included in savegames
- int _esTabTable[100];
-
- // Other fields
Common::Point _tilePos;
byte _tileData[1455];
Common::Array<CellIdent> _chapterCells;
@@ -101,18 +97,9 @@ public:
bool _charSegSwitch;
bool _skipStart;
- int _canoeLane;
- int _canoeYPos;
- int _hitCount;
const RiverStruct *_topList;
const RiverStruct *_botList;
- int _riverIndex;
- int _saveRiver;
int _canoeDir;
- int _hitSafe;
- int _rawInactiveX;
- int _rawInactiveY;
- int _inactiveYOff;
// Fields that are mapped to flags
int &_guardLocation;
@@ -130,7 +117,17 @@ public:
int &_noSound;
// Saved fields
+ int _canoeLane;
+ int _canoeYPos;
+ int _hitCount;
+ int _saveRiver;
+ int _hitSafe;
int _chapter;
+ int _riverIndex;
+ int _rawInactiveX;
+ int _rawInactiveY;
+ int _inactiveYOff;
+ int _esTabTable[100];
// Other game specific fields
Guard _guard;