aboutsummaryrefslogtreecommitdiff
path: root/scumm/script_v5.cpp
diff options
context:
space:
mode:
authorMax Horn2003-09-14 13:42:28 +0000
committerMax Horn2003-09-14 13:42:28 +0000
commitf36473e25bc63210d6f232ccb20433018471aeac (patch)
tree0c076f18ededfc8b681d8d43787d860ab0a9b020 /scumm/script_v5.cpp
parentaa944976318af6276f46ca7b8eac0c0132f592a1 (diff)
downloadscummvm-rg350-f36473e25bc63210d6f232ccb20433018471aeac.tar.gz
scummvm-rg350-f36473e25bc63210d6f232ccb20433018471aeac.tar.bz2
scummvm-rg350-f36473e25bc63210d6f232ccb20433018471aeac.zip
clarified some TODOs
svn-id: r10250
Diffstat (limited to 'scumm/script_v5.cpp')
-rw-r--r--scumm/script_v5.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index 2ee3ae52e5..fa1075a23a 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -1770,27 +1770,29 @@ void Scumm_v5::o5_resourceRoutines() {
loadFlObject(getVarOrDirectWord(0x40), resid);
break;
+ // TODO: For the following see also Hibarnatus' information on bug #805691.
case 32:
- // TODO
+ // TODO (apparently never used in FM Towns)
warning("o5_resourceRoutines %d not yet handled (script %d)", _opcode & 0x3F, vm.slot[_currentScript].number);
break;
case 33:
- // TODO
+ // TODO (apparently never used in FM Towns)
warning("o5_resourceRoutines %d not yet handled (script %d)", _opcode & 0x3F, vm.slot[_currentScript].number);
break;
case 35:
- // TODO: Might be used to set CD volume in LoomCD
+ // TODO: Might be used to set CD volume in FM Towns Loom
foo = getVarOrDirectByte(0x40);
warning("o5_resourceRoutines %d not yet handled (script %d)", _opcode & 0x3F, vm.slot[_currentScript].number);
break;
case 36:
- // TODO
+ // TODO: Sets the loudness of a sound resource. Used in Indy3 and Zak.
foo = getVarOrDirectByte(0x40);
bar = fetchScriptByte();
warning("o5_resourceRoutines %d not yet handled (script %d)", _opcode & 0x3F, vm.slot[_currentScript].number);
break;
case 37:
- // TODO
+ // TODO: Sets the pitch of a sound resource (pitch = foo - center semitones.
+ // "center" is at 0x32 in the sfx resource (always 0x3C in zak256, but sometimes different in Indy3).
foo = getVarOrDirectByte(0x40);
warning("o5_resourceRoutines %d not yet handled (script %d)", _opcode & 0x3F, vm.slot[_currentScript].number);
break;
@@ -2221,7 +2223,7 @@ void Scumm_v5::o5_startMusic() {
result = _sound->getCurrentCDSound();
break;
case 0xFF:
- // TODO: Might return current CD volume in LoomCD.
+ // TODO: Might return current CD volume in FM Towns Loom. See also bug #805691.
break;
default:
// TODO: return track length in seconds. We'll have to extend Sound and OSystem for this.