aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/script_e2.cpp
diff options
context:
space:
mode:
authorTravis Howell2007-05-22 10:31:51 +0000
committerTravis Howell2007-05-22 10:31:51 +0000
commit5e1af6f479588212a2e9d1407f80586659f5a9d4 (patch)
treebb6bb83f40f46451692d2cfffc1fbedd780c220b /engines/agos/script_e2.cpp
parent9ef17f9dc75c2cd5fc92cd9f47310bd8700a6219 (diff)
downloadscummvm-rg350-5e1af6f479588212a2e9d1407f80586659f5a9d4.tar.gz
scummvm-rg350-5e1af6f479588212a2e9d1407f80586659f5a9d4.tar.bz2
scummvm-rg350-5e1af6f479588212a2e9d1407f80586659f5a9d4.zip
Add load/save interface support for Elvira 2 and Waxworks.
svn-id: r26909
Diffstat (limited to 'engines/agos/script_e2.cpp')
-rw-r--r--engines/agos/script_e2.cpp14
1 files changed, 1 insertions, 13 deletions
diff --git a/engines/agos/script_e2.cpp b/engines/agos/script_e2.cpp
index d64caef752..bb492a30b9 100644
--- a/engines/agos/script_e2.cpp
+++ b/engines/agos/script_e2.cpp
@@ -143,7 +143,7 @@ void AGOSEngine_Elvira2::setupOpcodes() {
OPCODE(o_comment),
/* 88 */
OPCODE(o_invalid),
- OPCODE(oe2_loadGame),
+ OPCODE(oe1_loadGame),
OPCODE(o_getParent),
OPCODE(o_getNext),
/* 92 */
@@ -313,18 +313,6 @@ void AGOSEngine_Elvira2::oe2_pObj() {
showMessageFormat("%s\n", (const char *)getStringPtrByID(subObject->objectFlagValue[0])); // Difference
}
-void AGOSEngine_Elvira2::oe2_loadGame() {
- // 89: load game
- uint16 stringId = getNextStringID();
- debug(0, "oe2_loadGame: stub (%s)", (const char *)getStringPtrByID(stringId));
-
- if (!scumm_stricmp(getFileName(GAME_RESTFILE), (const char *)getStringPtrByID(stringId))) {
- loadGame(getFileName(GAME_RESTFILE), true);
- } else {
- loadGame((const char *)getStringPtrByID(stringId));
- }
-}
-
void AGOSEngine_Elvira2::oe2_drawItem() {
// 113: draw item
Item *i = getNextItemPtr();