aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-12-06 16:54:25 -0500
committerPaul Gilbert2014-12-12 23:02:16 -0500
commitbf361715e0c83ebb18914e8769a867a2c5c370c2 (patch)
tree80a69ec0b55c2c06f717eb17d41fbfddc5bd8033 /engines
parenta1e5e8be9481add1402ea337039b755937ef6441 (diff)
downloadscummvm-rg350-bf361715e0c83ebb18914e8769a867a2c5c370c2.tar.gz
scummvm-rg350-bf361715e0c83ebb18914e8769a867a2c5c370c2.tar.bz2
scummvm-rg350-bf361715e0c83ebb18914e8769a867a2c5c370c2.zip
ACCESS: Simply river savegame fields
Diffstat (limited to 'engines')
-rw-r--r--engines/access/amazon/amazon_logic.cpp15
-rw-r--r--engines/access/amazon/amazon_logic.h3
2 files changed, 1 insertions, 17 deletions
diff --git a/engines/access/amazon/amazon_logic.cpp b/engines/access/amazon/amazon_logic.cpp
index 5def4815e2..c9e8886d08 100644
--- a/engines/access/amazon/amazon_logic.cpp
+++ b/engines/access/amazon/amazon_logic.cpp
@@ -1351,9 +1351,6 @@ River::River(AmazonEngine *vm): PannedScene(vm) {
_rScrollCol = 0;
_rScrollX = 0;
_rScrollY = 0;
- _rOldRectCount = 0;
- _rNewRectCount = 0;
- _rKeyFlag = 0;
_mapOffset = 0;
_screenVertX = 0;
_saveRiver = false;
@@ -1422,12 +1419,7 @@ void River::initRiver() {
_vm->copyBF2Vid();
_vm->_screen->forceFadeIn();
- if (_saveRiver) {
- // Restore draw rects from savegame
- _vm->_oldRects.resize(_rOldRectCount);
- _vm->_newRects.resize(_rNewRectCount);
- // KEYFLG = _vm->_rKeyFlag
- } else {
+ if (!_saveRiver) {
// Reset draw rects
_vm->_oldRects.clear();
_vm->_newRects.clear();
@@ -1904,13 +1896,8 @@ void River::synchronize(Common::Serializer &s) {
s.syncAsUint16LE(_rScrollCol);
s.syncAsSint16LE(_rScrollX);
s.syncAsSint16LE(_rScrollY);
- s.syncAsUint16LE(_rOldRectCount);
- s.syncAsUint16LE(_rNewRectCount);
- s.syncAsUint16LE(_rKeyFlag);
s.syncAsUint16LE(_mapOffset);
s.syncAsUint16LE(_screenVertX);
- warning("TODO: s.syncAsSint16LE(_topList);");
- warning("TODO: s.syncAsSint16LE(_botList);");
_saveRiver = s.isLoading();
}
diff --git a/engines/access/amazon/amazon_logic.h b/engines/access/amazon/amazon_logic.h
index 14f51990cc..1cc65cbf6d 100644
--- a/engines/access/amazon/amazon_logic.h
+++ b/engines/access/amazon/amazon_logic.h
@@ -181,9 +181,6 @@ private:
int _rScrollCol;
int _rScrollX;
int _rScrollY;
- int _rOldRectCount;
- int _rNewRectCount;
- int _rKeyFlag;
int _mapOffset;
int _screenVertX;