From df838f50ebdc4005dc07df263cead32a4c398d4e Mon Sep 17 00:00:00 2001 From: Walter van Niftrik Date: Sun, 21 Aug 2016 12:27:45 +0200 Subject: 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. --- engines/adl/adl.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/adl/adl.h') 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 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 Commands; -- cgit v1.2.3