aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_v7.cpp
diff options
context:
space:
mode:
authorSven Hesse2011-01-29 22:46:41 +0000
committerSven Hesse2011-01-29 22:46:41 +0000
commitb54416b46ee0d26fd39adbfcaba1a451f6293236 (patch)
treec93fedb4fcb691f101b410865b441c7a70009a82 /engines/gob/inter_v7.cpp
parent9b9c34a378be4f1964d97f5a15aa1ac5f7c54ee6 (diff)
downloadscummvm-rg350-b54416b46ee0d26fd39adbfcaba1a451f6293236.tar.gz
scummvm-rg350-b54416b46ee0d26fd39adbfcaba1a451f6293236.tar.bz2
scummvm-rg350-b54416b46ee0d26fd39adbfcaba1a451f6293236.zip
GOB: Stub o7_loadGroups
svn-id: r55632
Diffstat (limited to 'engines/gob/inter_v7.cpp')
-rw-r--r--engines/gob/inter_v7.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/engines/gob/inter_v7.cpp b/engines/gob/inter_v7.cpp
index eee5837911..4457da7ad4 100644
--- a/engines/gob/inter_v7.cpp
+++ b/engines/gob/inter_v7.cpp
@@ -54,6 +54,7 @@ void Inter_v7::setupOpcodesDraw() {
OPCODEDRAW(0x45, o7_draw0x45);
OPCODEDRAW(0x57, o7_intToString);
OPCODEDRAW(0x59, o7_callGroup);
+ OPCODEDRAW(0x5A, o7_loadGroups);
OPCODEDRAW(0x89, o7_draw0x89);
OPCODEDRAW(0x8A, o7_findFile);
OPCODEDRAW(0x8C, o7_getSystemProperty);
@@ -149,6 +150,15 @@ void Inter_v7::o7_callGroup() {
warning("Addy Stub: Call group: \"%s\", \"%s\", %d", str0.c_str(), str1.c_str(), expr0);
}
+void Inter_v7::o7_loadGroups() {
+ _vm->_game->_script->evalExpr(0);
+ Common::String str0 = _vm->_game->_script->getResultStr();
+
+ int16 expr0 = _vm->_game->_script->readValExpr();
+
+ warning("Addy Stub: Load groups: \"%s\", %d", str0.c_str(), expr0);
+}
+
void Inter_v7::o7_draw0x89() {
_vm->_game->_script->evalExpr(0);
Common::String str0 = _vm->_game->_script->getResultStr();