aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
diff options
context:
space:
mode:
authorEugene Sandulenko2006-11-19 23:02:26 +0000
committerEugene Sandulenko2006-11-19 23:02:26 +0000
commit315c286bea55877b42d78451cbd7c4e9a4bfec58 (patch)
tree5b2895f6b27f3d7274e0c9f29bfbb3275af353c8 /engines/cine
parentd6e67af24713a0625f664941e1a9378938b31efc (diff)
downloadscummvm-rg350-315c286bea55877b42d78451cbd7c4e9a4bfec58.tar.gz
scummvm-rg350-315c286bea55877b42d78451cbd7c4e9a4bfec58.tar.bz2
scummvm-rg350-315c286bea55877b42d78451cbd7c4e9a4bfec58.zip
Proper implementation of o1_allowSystemMenu()
svn-id: r24750
Diffstat (limited to 'engines/cine')
-rw-r--r--engines/cine/script.cpp4
-rw-r--r--engines/cine/various.cpp2
-rw-r--r--engines/cine/various.h2
3 files changed, 2 insertions, 6 deletions
diff --git a/engines/cine/script.cpp b/engines/cine/script.cpp
index b1421623a6..b33b9fc3ba 100644
--- a/engines/cine/script.cpp
+++ b/engines/cine/script.cpp
@@ -1774,8 +1774,8 @@ void o1_playSample() {
void o1_allowSystemMenu() {
byte param = getNextByte();
- debugC(5, kCineDebugScript, "Line: %d: OP79 load var22 to %d -> TODO", _currentLine, param);
- var22 = param;
+ debugC(5, kCineDebugScript, "Line: %d: allowSystemMenu(%d)", _currentLine, param);
+ allowSystemMenu = param;
}
void o1_loadMask5() {
diff --git a/engines/cine/various.cpp b/engines/cine/various.cpp
index 853f9d594d..dc6685029e 100644
--- a/engines/cine/various.cpp
+++ b/engines/cine/various.cpp
@@ -2716,8 +2716,6 @@ void removeExtention(char *dest, const char *source) {
}
}
-uint16 var22;
-
uint16 defaultMenuBoxColor2;
uint16 zoneData[NUM_MAX_ZONE];
diff --git a/engines/cine/various.h b/engines/cine/various.h
index d32040c8f5..782d462ece 100644
--- a/engines/cine/various.h
+++ b/engines/cine/various.h
@@ -151,8 +151,6 @@ extern uint16 exitEngine;
void hideMouse(void);
-extern uint16 var22;
-
void removeExtention(char *dest, const char *source);
struct selectedObjStruct {