aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
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();