aboutsummaryrefslogtreecommitdiff
path: root/engines/made/scriptfuncs.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2009-01-13 21:08:22 +0000
committerFilippos Karapetis2009-01-13 21:08:22 +0000
commitfa755b3729ec27a387ae50aca582bdf6bcaf9a9f (patch)
treebb81f38d20ac384aa99bfea7b9d55a38f73b50a8 /engines/made/scriptfuncs.cpp
parent0ecaa8c4fde83a74065300e719a478fcb9ab246a (diff)
downloadscummvm-rg350-fa755b3729ec27a387ae50aca582bdf6bcaf9a9f.tar.gz
scummvm-rg350-fa755b3729ec27a387ae50aca582bdf6bcaf9a9f.tar.bz2
scummvm-rg350-fa755b3729ec27a387ae50aca582bdf6bcaf9a9f.zip
Some updates/observations on script functions
svn-id: r35850
Diffstat (limited to 'engines/made/scriptfuncs.cpp')
-rw-r--r--engines/made/scriptfuncs.cpp11
1 files changed, 7 insertions, 4 deletions
diff --git a/engines/made/scriptfuncs.cpp b/engines/made/scriptfuncs.cpp
index f627ff7de0..3f9d757cc4 100644
--- a/engines/made/scriptfuncs.cpp
+++ b/engines/made/scriptfuncs.cpp
@@ -475,8 +475,8 @@ int16 ScriptFunctions::sfSetTextRect(int16 argc, int16 *argv) {
int16 y1 = CLIP<int16>(argv[3], 1, 198);
int16 x2 = CLIP<int16>(argv[2], 1, 318);
int16 y2 = CLIP<int16>(argv[1], 1, 198);
- //int16 textValue = argv[0];
- // TODO: textValue
+ //int16 textValue = argv[0]; // looks to be unused
+
_vm->_screen->setTextRect(Common::Rect(x1, y1, x2, y2));
return 0;
}
@@ -939,9 +939,9 @@ int16 ScriptFunctions::sfGetSynthType(int16 argc, int16 *argv) {
// 3 = ADLIBG
// 4 = MT32MPU
- // TODO
+ // There doesn't seem to be any difference in the music no matter what this returns
- warning("Unimplemented opcode: sfGetSynthType");
+ //warning("Unimplemented opcode: sfGetSynthType");
return 0;
}
@@ -949,6 +949,9 @@ int16 ScriptFunctions::sfIsSlowSystem(int16 argc, int16 *argv) {
//warning("Unimplemented opcode: sfIsSlowSystem");
// NOTE: In the original engine this value is set via a command-line parameter
// I don't think it's needed here
+ // Update: I believe this is used to determine which version of the intro/ending to show
+ // There are 2 versions of each video: one with sound, and one without
+ // An example is FINTRO00.PMV (with sound) and FINTRO01.PMV (without sound)
// One could maybe think about returning 1 here on actually slower systems.
return 0;
}