[Scummvm-cvs-logs] SF.net SVN: scummvm: [21903] scummvm/trunk/engines/simon

kirben at users.sourceforge.net kirben at users.sourceforge.net
Fri Apr 14 23:48:05 CEST 2006


Revision: 21903
Author:   kirben
Date:     2006-04-14 23:47:26 -0700 (Fri, 14 Apr 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21903&view=rev

Log Message:
-----------
Change _numTextBoxes to unsigned, to stop compile warnings

Modified Paths:
--------------
    scummvm/trunk/engines/simon/items.cpp
    scummvm/trunk/engines/simon/simon.h
Modified: scummvm/trunk/engines/simon/items.cpp
===================================================================
--- scummvm/trunk/engines/simon/items.cpp	2006-04-15 06:42:40 UTC (rev 21902)
+++ scummvm/trunk/engines/simon/items.cpp	2006-04-15 06:47:26 UTC (rev 21903)
@@ -694,12 +694,12 @@
 
 void SimonEngine::o_addTextBox() {
 	// 65: add hit area
-	int id = getVarOrWord();
-	int x = getVarOrWord();
-	int y = getVarOrWord();
-	int w = getVarOrWord();
-	int h = getVarOrWord();
-	int number = getVarOrByte();
+	uint id = getVarOrWord();
+	uint x = getVarOrWord();
+	uint y = getVarOrWord();
+	uint w = getVarOrWord();
+	uint h = getVarOrWord();
+	uint number = getVarOrByte();
 	if (number < _numTextBoxes)
 		defineBox(id, x, y, w, h, (number << 8) + 129, 208, _dummyItem2);
 }

Modified: scummvm/trunk/engines/simon/simon.h
===================================================================
--- scummvm/trunk/engines/simon/simon.h	2006-04-15 06:42:40 UTC (rev 21902)
+++ scummvm/trunk/engines/simon/simon.h	2006-04-15 06:47:26 UTC (rev 21903)
@@ -301,7 +301,7 @@
 	uint _printCharCurPos, _printCharMaxPos, _printCharPixelCount;
 	uint _numLettersToPrint;
 
-	int _numTextBoxes;
+	uint _numTextBoxes;
 
 	uint _lastTime;
 	uint _clockStopped, _gameStoppedClock;


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