aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/inter_playtoons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/inter_playtoons.cpp')
-rw-r--r--engines/gob/inter_playtoons.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/engines/gob/inter_playtoons.cpp b/engines/gob/inter_playtoons.cpp
index 2c14e64a57..121e194aa4 100644
--- a/engines/gob/inter_playtoons.cpp
+++ b/engines/gob/inter_playtoons.cpp
@@ -74,6 +74,7 @@ void Inter_Playtoons::setupOpcodesDraw() {
OPCODEDRAW(0x20, oPlaytoons_CD_20_23);
OPCODEDRAW(0x23, oPlaytoons_CD_20_23);
OPCODEDRAW(0x25, oPlaytoons_CD_25);
+ OPCODEDRAW(0x60, oPlaytoons_copyFile);
OPCODEDRAW(0x85, oPlaytoons_openItk);
}
@@ -269,6 +270,18 @@ void Inter_Playtoons::oPlaytoons_CD_25() {
_vm->_game->_script->readVarIndex();
}
+void Inter_Playtoons::oPlaytoons_copyFile() {
+ char fileName1[128];
+ char fileName2[128];
+
+ _vm->_game->_script->evalExpr(0);
+ strncpy0(fileName1, _vm->_game->_script->getResultStr(), 127);
+ _vm->_game->_script->evalExpr(0);
+ strncpy0(fileName2, _vm->_game->_script->getResultStr(), 127);
+
+ warning("Playtoons Stub: copy file from \"%s\" to \"%s\"", fileName1, fileName2);
+}
+
void Inter_Playtoons::oPlaytoons_openItk() {
char fileName[128];
char *backSlash;