aboutsummaryrefslogtreecommitdiff
path: root/engines/adl/adl.h
diff options
context:
space:
mode:
authorWalter van Niftrik2016-08-21 12:27:45 +0200
committerWalter van Niftrik2016-08-21 12:41:31 +0200
commitdf838f50ebdc4005dc07df263cead32a4c398d4e (patch)
treed07ff6d5ffb03f68403b1d10fdfd40e23df4661a /engines/adl/adl.h
parentff0bc115b57dc19f4860014bc3c7d72b67c9ce38 (diff)
downloadscummvm-rg350-df838f50ebdc4005dc07df263cead32a4c398d4e.tar.gz
scummvm-rg350-df838f50ebdc4005dc07df263cead32a4c398d4e.tar.bz2
scummvm-rg350-df838f50ebdc4005dc07df263cead32a4c398d4e.zip
ADL: Add "current picture" variable to state
This mimics the behavior of the original engine. Note that for hires2, this patch adds some glitches that are also present in the original, and removes some glitches that are not.
Diffstat (limited to 'engines/adl/adl.h')
-rw-r--r--engines/adl/adl.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/adl/adl.h b/engines/adl/adl.h
index c9d77fcc62..89cdabe384 100644
--- a/engines/adl/adl.h
+++ b/engines/adl/adl.h
@@ -165,11 +165,12 @@ struct State {
Common::Array<byte> vars;
byte room;
+ byte curPicture;
uint16 moves;
bool isDark;
Time time;
- State() : room(1), moves(1), isDark(false) { }
+ State() : room(1), curPicture(0), moves(1), isDark(false) { }
};
typedef Common::List<Command> Commands;