aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2008-05-14 20:12:58 +0000
committerFilippos Karapetis2008-05-14 20:12:58 +0000
commite279d9693a1541f4595e73a5b646869890634922 (patch)
tree16265a557b1d9a543713f5c3bcf1103bba71d547 /engines
parente8763e2ac23f1b19bb277961d226e8aced39f7e1 (diff)
downloadscummvm-rg350-e279d9693a1541f4595e73a5b646869890634922.tar.gz
scummvm-rg350-e279d9693a1541f4595e73a5b646869890634922.tar.bz2
scummvm-rg350-e279d9693a1541f4595e73a5b646869890634922.zip
Some comments to opcodes sfGetMusicBeat and sfSetTextRect
svn-id: r32123
Diffstat (limited to 'engines')
-rw-r--r--engines/made/scriptfuncs.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/made/scriptfuncs.cpp b/engines/made/scriptfuncs.cpp
index 61d2382bde..2819f127ef 100644
--- a/engines/made/scriptfuncs.cpp
+++ b/engines/made/scriptfuncs.cpp
@@ -360,7 +360,9 @@ int16 ScriptFunctions::sfShowMouseCursor(int16 argc, int16 *argv) {
}
int16 ScriptFunctions::sfGetMusicBeat(int16 argc, int16 *argv) {
- warning("Unimplemented opcode: sfGetMusicBeat");
+ // This is called loads of times in the intro of the floppy version
+ // of RtZ. Not sure what it does. Commented out to reduce spam
+ //warning("Unimplemented opcode: sfGetMusicBeat");
return 0;
}
@@ -485,6 +487,7 @@ int16 ScriptFunctions::sfHomeText(int16 argc, int16 *argv) {
}
int16 ScriptFunctions::sfSetTextRect(int16 argc, int16 *argv) {
+ // Used in the save/load screens of RtZ, and perhaps other places as well
int16 x1 = CLIP<int16>(argv[4], 1, 318);
int16 y1 = CLIP<int16>(argv[3], 1, 198);
int16 x2 = CLIP<int16>(argv[2], 1, 318);