aboutsummaryrefslogtreecommitdiff
path: root/engines
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
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')
-rw-r--r--engines/gob/inter.h1
-rw-r--r--engines/gob/inter_v7.cpp10
2 files changed, 11 insertions, 0 deletions
diff --git a/engines/gob/inter.h b/engines/gob/inter.h
index f6e1a3e548..a4f9c0748e 100644
--- a/engines/gob/inter.h
+++ b/engines/gob/inter.h
@@ -601,6 +601,7 @@ protected:
void o7_draw0x45();
void o7_intToString();
void o7_callGroup();
+ void o7_loadGroups();
void o7_draw0x89();
void o7_findFile();
void o7_getSystemProperty();
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();