[Scummvm-cvs-logs] CVS: scummvm/scumm script_v2.cpp,2.99,2.100

Max Horn fingolfin at users.sourceforge.net
Wed May 21 13:35:12 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv17049

Modified Files:
	script_v2.cpp 
Log Message:
turn off lots of silly debug output ;-)

Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 2.99
retrieving revision 2.100
diff -u -d -r2.99 -r2.100
--- script_v2.cpp	21 May 2003 18:58:29 -0000	2.99
+++ script_v2.cpp	21 May 2003 20:34:21 -0000	2.100
@@ -856,7 +856,7 @@
 	case 1:
 		// Execute the sentence
 		_sentenceNum--;
-		warning("TODO o2_doSentence(%d, %d, %d): execute", st->verb, st->objectA, st->objectB);
+		//warning("TODO o2_doSentence(%d, %d, %d): execute", st->verb, st->objectA, st->objectB);
 
 		// FIXME / TODO: The following is hackish, and probably incomplete, but it works somewhat.
 		VAR(VAR_ACTIVE_VERB) = st->verb;
@@ -872,7 +872,7 @@
 	case 2:
 		// Print the sentence
 		_sentenceNum--;
-		warning("TODO o2_doSentence(%d, %d, %d): print", st->verb, st->objectA, st->objectB);
+		//warning("TODO o2_doSentence(%d, %d, %d): print", st->verb, st->objectA, st->objectB);
 		
 		VAR(VAR_SENTENCE_VERB) = st->verb;
 		VAR(VAR_SENTENCE_OBJECT1) = st->objectA;
@@ -1162,7 +1162,7 @@
 }
 
 void Scumm_v2::o2_cutscene() {
-	warning("TODO o2_cutscene()");
+	//warning("TODO o2_cutscene()");
 
 	vm.cutSceneData[0] = _userState;
 	vm.cutSceneData[1] = (int16) VAR(VAR_CURSORSTATE);
@@ -1181,7 +1181,7 @@
 }
 
 void Scumm_v2::o2_endCutscene() {
-	warning("TODO o2_endCutscene()");
+	//warning("TODO o2_endCutscene()");
 
 	vm.cutSceneStackPointer = 0;
 
@@ -1290,9 +1290,8 @@
 	int cmd = getVarOrDirectWord(0x80);
 	int a2 = cmd >> 8;
 
-	if (cmd & 0xFF) {	// (?)
+	if (cmd & 0xFF) {
 		VAR(VAR_CURSORSTATE) = cmd & 0xFF;
-		printf("Set cmd %d\n", cmd & 0xFF);
 	}
 
 	if (a2 & 4) {						// Userface





More information about the Scummvm-git-logs mailing list