[Scummvm-cvs-logs] SF.net SVN: scummvm: [27075] scummvm/trunk/engines/agos

Kirben at users.sourceforge.net Kirben at users.sourceforge.net
Mon Jun 4 07:02:23 CEST 2007


Revision: 27075
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27075&view=rev
Author:   Kirben
Date:     2007-06-03 22:02:22 -0700 (Sun, 03 Jun 2007)

Log Message:
-----------
Change printChar variables to signed, to allow removal of work around for The Feeble Files.

Modified Paths:
--------------
    scummvm/trunk/engines/agos/agos.h
    scummvm/trunk/engines/agos/window.cpp

Modified: scummvm/trunk/engines/agos/agos.h
===================================================================
--- scummvm/trunk/engines/agos/agos.h	2007-06-04 04:41:46 UTC (rev 27074)
+++ scummvm/trunk/engines/agos/agos.h	2007-06-04 05:02:22 UTC (rev 27075)
@@ -297,9 +297,10 @@
 	bool _vgaVar9;
 	int16 _chanceModifier;
 	bool _restoreWindow6;
-	int _scrollX, _scrollXMax, _scrollWidth;
-	int _scrollY, _scrollYMax, _scrollHeight;
-	int _scrollCount, _scrollFlag;
+	int16 _scrollX, _scrollXMax;
+	int16 _scrollY, _scrollYMax;
+	int16 _scrollCount, _scrollFlag;
+	uint16 _scrollWidth, _scrollHeight;
 	const byte *_scrollImage;
 	byte _boxStarHeight;
 
@@ -355,8 +356,8 @@
 
 	uint16 _windowNum;
 
-	uint _printCharCurPos, _printCharMaxPos, _printCharPixelCount;
-	uint _numLettersToPrint;
+	int16 _printCharCurPos, _printCharMaxPos, _printCharPixelCount;
+	uint16 _numLettersToPrint;
 
 	uint _numTextBoxes;
 

Modified: scummvm/trunk/engines/agos/window.cpp
===================================================================
--- scummvm/trunk/engines/agos/window.cpp	2007-06-04 04:41:46 UTC (rev 27074)
+++ scummvm/trunk/engines/agos/window.cpp	2007-06-04 05:02:22 UTC (rev 27075)
@@ -110,7 +110,7 @@
 
 void AGOSEngine::colorWindow(WindowBlock *window) {
 	byte *dst;
-	uint h, w;
+	int16 h, w;
 
 	_lockWord |= 0x8000;
 


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