diff options
author | Travis Howell | 2005-11-16 05:08:11 +0000 |
---|---|---|
committer | Travis Howell | 2005-11-16 05:08:11 +0000 |
commit | c0740553415203264f8e343a28fbd041974b250a (patch) | |
tree | d40d54ad74187e94ac600062ea49ef4519b3eee4 /scumm/script_v72he.cpp | |
parent | f9ef4a2f5bba12b68e7f0720bbb73c5e79ec073d (diff) | |
download | scummvm-rg350-c0740553415203264f8e343a28fbd041974b250a.tar.gz scummvm-rg350-c0740553415203264f8e343a28fbd041974b250a.tar.bz2 scummvm-rg350-c0740553415203264f8e343a28fbd041974b250a.zip |
Opcode is used by HE71 too.
Freddi version should be all languages (Used by English and Russian).
svn-id: r19610
Diffstat (limited to 'scumm/script_v72he.cpp')
-rw-r--r-- | scumm/script_v72he.cpp | 32 |
1 files changed, 1 insertions, 31 deletions
diff --git a/scumm/script_v72he.cpp b/scumm/script_v72he.cpp index 207d60bf97..a8ca787d17 100644 --- a/scumm/script_v72he.cpp +++ b/scumm/script_v72he.cpp @@ -346,7 +346,7 @@ void ScummEngine_v72he::setupOpcodes() { /* F0 */ OPCODE(o70_concatString), OPCODE(o70_compareString), - OPCODE(o72_isResourceLoaded), + OPCODE(o70_isResourceLoaded), OPCODE(o72_readINI), /* F4 */ OPCODE(o72_writeINI), @@ -2138,36 +2138,6 @@ void ScummEngine_v72he::copyArrayHelper(ArrayHeader *ah, int idx2, int idx1, int } } -void ScummEngine_v72he::o72_isResourceLoaded() { - // Reports percentage of resource loaded by queue - int type; - - byte subOp = fetchScriptByte(); - /* int idx = */ pop(); - - switch (subOp) { - case 18: - type = rtImage; - break; - case 226: - type = rtRoom; - break; - case 227: - type = rtCostume; - break; - case 228: - type = rtSound; - break; - case 229: - type = rtScript; - break; - default: - error("o72_isResourceLoaded: default case %d", subOp); - } - - push(100); -} - void ScummEngine_v72he::o72_readINI() { byte option[128]; ArrayHeader *ah; |