Skip to content

Commit

Permalink
ACCESS: Reorganise Amazon game-specific variables that are saved
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Dec 13, 2014
1 parent ff003f3 commit ada5ca2
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions engines/access/amazon/amazon_game.h
Expand Up @@ -54,10 +54,6 @@ class Guard {

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;
Expand Down Expand Up @@ -101,18 +97,9 @@ class AmazonEngine : public AccessEngine {
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;
Expand All @@ -130,7 +117,17 @@ class AmazonEngine : public AccessEngine {
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;
Expand Down

0 comments on commit ada5ca2

Please sign in to comment.