[Scummvm-cvs-logs] SF.net SVN: scummvm:[35850] scummvm/trunk/engines/made/scriptfuncs.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Tue Jan 13 22:08:22 CET 2009


Revision: 35850
          http://scummvm.svn.sourceforge.net/scummvm/?rev=35850&view=rev
Author:   thebluegr
Date:     2009-01-13 21:08:22 +0000 (Tue, 13 Jan 2009)

Log Message:
-----------
Some updates/observations on script functions

Modified Paths:
--------------
    scummvm/trunk/engines/made/scriptfuncs.cpp

Modified: scummvm/trunk/engines/made/scriptfuncs.cpp
===================================================================
--- scummvm/trunk/engines/made/scriptfuncs.cpp	2009-01-13 20:36:52 UTC (rev 35849)
+++ scummvm/trunk/engines/made/scriptfuncs.cpp	2009-01-13 21:08:22 UTC (rev 35850)
@@ -475,8 +475,8 @@
 	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 @@
 	// 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 @@
 	//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;
 }


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list