diff options
author | Martin Kiewitz | 2010-04-20 19:23:33 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-04-20 19:23:33 +0000 |
commit | f3be0bc181facc6600b4ddc496dc6bdb23dc9891 (patch) | |
tree | aad4b54e09a00443a839ae46063c73140747b4cd /engines/sci/graphics | |
parent | 6329d96cef9458afc27ea5285e404d21220d6594 (diff) | |
download | scummvm-rg350-f3be0bc181facc6600b4ddc496dc6bdb23dc9891.tar.gz scummvm-rg350-f3be0bc181facc6600b4ddc496dc6bdb23dc9891.tar.bz2 scummvm-rg350-f3be0bc181facc6600b4ddc496dc6bdb23dc9891.zip |
SCI: replaced values with constant
svn-id: r48754
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/paint16.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/graphics/paint16.cpp b/engines/sci/graphics/paint16.cpp index 650b2b5ce6..90c68c4e5f 100644 --- a/engines/sci/graphics/paint16.cpp +++ b/engines/sci/graphics/paint16.cpp @@ -178,16 +178,16 @@ void GfxPaint16::clearScreen(byte color) { void GfxPaint16::invertRect(const Common::Rect &rect) { int16 oldpenmode = _ports->_curPort->penMode; _ports->_curPort->penMode = 2; - fillRect(rect, 1, _ports->_curPort->penClr, _ports->_curPort->backClr); + fillRect(rect, SCI_SCREEN_MASK_VISUAL, _ports->_curPort->penClr, _ports->_curPort->backClr); _ports->_curPort->penMode = oldpenmode; } void GfxPaint16::eraseRect(const Common::Rect &rect) { - fillRect(rect, 1, _ports->_curPort->backClr); + fillRect(rect, SCI_SCREEN_MASK_VISUAL, _ports->_curPort->backClr); } void GfxPaint16::paintRect(const Common::Rect &rect) { - fillRect(rect, 1, _ports->_curPort->penClr); + fillRect(rect, SCI_SCREEN_MASK_VISUAL, _ports->_curPort->penClr); } void GfxPaint16::fillRect(const Common::Rect &rect, int16 drawFlags, byte clrPen, byte clrBack, byte bControl) { |