aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2007-06-04 05:02:22 +0000
committerTravis Howell2007-06-04 05:02:22 +0000
commit43511e8ed2b42de6363d3bf4bd19783940c4394d (patch)
treee4a4101f6b7a4789beb8409a976475ed8864edcd /engines
parent48b8ee4d4fe4ef2db70116db894f6dd7c7bcc671 (diff)
downloadscummvm-rg350-43511e8ed2b42de6363d3bf4bd19783940c4394d.tar.gz
scummvm-rg350-43511e8ed2b42de6363d3bf4bd19783940c4394d.tar.bz2
scummvm-rg350-43511e8ed2b42de6363d3bf4bd19783940c4394d.zip
Change printChar variables to signed, to allow removal of work around for The Feeble Files.
svn-id: r27075
Diffstat (limited to 'engines')
-rw-r--r--engines/agos/agos.h11
-rw-r--r--engines/agos/window.cpp2
2 files changed, 7 insertions, 6 deletions
diff --git a/engines/agos/agos.h b/engines/agos/agos.h
index 895313f9be..cae1c4cf03 100644
--- a/engines/agos/agos.h
+++ b/engines/agos/agos.h
@@ -297,9 +297,10 @@ protected:
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 @@ protected:
uint16 _windowNum;
- uint _printCharCurPos, _printCharMaxPos, _printCharPixelCount;
- uint _numLettersToPrint;
+ int16 _printCharCurPos, _printCharMaxPos, _printCharPixelCount;
+ uint16 _numLettersToPrint;
uint _numTextBoxes;
diff --git a/engines/agos/window.cpp b/engines/agos/window.cpp
index 94436b0560..89a98020e5 100644
--- a/engines/agos/window.cpp
+++ b/engines/agos/window.cpp
@@ -110,7 +110,7 @@ void AGOSEngine::clearWindow(WindowBlock *window) {
void AGOSEngine::colorWindow(WindowBlock *window) {
byte *dst;
- uint h, w;
+ int16 h, w;
_lockWord |= 0x8000;