From 43511e8ed2b42de6363d3bf4bd19783940c4394d Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Mon, 4 Jun 2007 05:02:22 +0000 Subject: Change printChar variables to signed, to allow removal of work around for The Feeble Files. svn-id: r27075 --- engines/agos/agos.h | 11 ++++++----- engines/agos/window.cpp | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) (limited to 'engines') 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; -- cgit v1.2.3