[Scummvm-cvs-logs] CVS: scummvm/scumm script_v2.cpp,2.65,2.66

Max Horn fingolfin at users.sourceforge.net
Wed May 14 06:33:06 CEST 2003


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

Modified Files:
	script_v2.cpp 
Log Message:
cleanup

Index: script_v2.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/script_v2.cpp,v
retrieving revision 2.65
retrieving revision 2.66
diff -u -d -r2.65 -r2.66
--- script_v2.cpp	14 May 2003 13:30:52 -0000	2.65
+++ script_v2.cpp	14 May 2003 13:32:43 -0000	2.66
@@ -396,14 +396,9 @@
 
 	printf("TODO: Scumm_v2::decodeParseString(\"%s\") from %d\n", buffer, vm.slot[_currentScript].number);
 
-	int textSlot;
-
-	if (_actorToPrintStrFor < 128)
-		textSlot = 0;
-	else
-		textSlot = 1;
-
-	textSlot = 0;
+	// For now, always use textSlot 0. Not sure if there are any situations where we might
+	// need to us another one?	
+	int textSlot = 0;
 	
 	_string[textSlot].xpos = 0;
 	_string[textSlot].ypos = 0;
@@ -427,16 +422,6 @@
 		unkMessage2();
 		break;
 	}
-
-/*
-	_string[textSlot].t_xpos = _string[textSlot].xpos;
-	_string[textSlot].t_ypos = _string[textSlot].ypos;
-	_string[textSlot].t_center = _string[textSlot].center;
-	_string[textSlot].t_overhead = _string[textSlot].overhead;
-	_string[textSlot].t_right = _string[textSlot].right;
-	_string[textSlot].t_color = _string[textSlot].color;
-	_string[textSlot].t_charset = _string[textSlot].charset;
-*/
 }
 
 int Scumm_v2::readVar(uint var) {





More information about the Scummvm-git-logs mailing list