diff options
author | Torbjörn Andersson | 2015-06-13 12:20:17 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2015-06-13 12:20:17 +0200 |
commit | 26072306de2a22e7b090ff49f7b720807b76bcbc (patch) | |
tree | 6034a19e88d5302ad06528c31e34b80fbe10cfea /engines/sherlock | |
parent | cf4cf41e9509b15879f7fd99b15939e954c6b06c (diff) | |
download | scummvm-rg350-26072306de2a22e7b090ff49f7b720807b76bcbc.tar.gz scummvm-rg350-26072306de2a22e7b090ff49f7b720807b76bcbc.tar.bz2 scummvm-rg350-26072306de2a22e7b090ff49f7b720807b76bcbc.zip |
SHERLOCK: Use BLACK instead of 0 for consistency
I've deliberately left the 0 in showCityCutscene3DO(), because in
that one case it clearly isn't a palette index. (Though in the case
of black, it makes no difference.)
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/scalpel/darts.cpp | 4 | ||||
-rw-r--r-- | engines/sherlock/scalpel/scalpel_map.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/engines/sherlock/scalpel/darts.cpp b/engines/sherlock/scalpel/darts.cpp index 04e4de80f1..a24af4e444 100644 --- a/engines/sherlock/scalpel/darts.cpp +++ b/engines/sherlock/scalpel/darts.cpp @@ -366,8 +366,8 @@ void Darts::drawDartThrow(const Common::Point &pt) { void Darts::erasePowerBars() { Screen &screen = *_vm->_screen; - screen._backBuffer1.fillRect(Common::Rect(DARTBARHX, DARTHORIZY, DARTBARHX + DARTBARSIZE, DARTHORIZY + 10), 0); - screen._backBuffer1.fillRect(Common::Rect(DARTBARVX, DARTHEIGHTY, DARTBARVX + 10, DARTHEIGHTY + DARTBARSIZE), 0); + screen._backBuffer1.fillRect(Common::Rect(DARTBARHX, DARTHORIZY, DARTBARHX + DARTBARSIZE, DARTHORIZY + 10), BLACK); + screen._backBuffer1.fillRect(Common::Rect(DARTBARVX, DARTHEIGHTY, DARTBARVX + 10, DARTHEIGHTY + DARTBARSIZE), BLACK); screen._backBuffer1.transBlitFrom((*_dartImages)[2], Common::Point(DARTBARHX - 1, DARTHORIZY - 1)); screen._backBuffer1.transBlitFrom((*_dartImages)[3], Common::Point(DARTBARVX - 1, DARTHEIGHTY - 1)); screen.slamArea(DARTBARHX - 1, DARTHORIZY - 1, DARTBARSIZE + 3, 11); diff --git a/engines/sherlock/scalpel/scalpel_map.cpp b/engines/sherlock/scalpel/scalpel_map.cpp index 63cb4a342c..38a337d1fb 100644 --- a/engines/sherlock/scalpel/scalpel_map.cpp +++ b/engines/sherlock/scalpel/scalpel_map.cpp @@ -362,8 +362,8 @@ void ScalpelMap::showPlaceName(int idx, bool highlighted) { if (highlighted) { int xp = (SHERLOCK_SCREEN_WIDTH - screen.stringWidth(name)) / 2; - screen.gPrint(Common::Point(xp + 2, 2), 0, "%s", name.c_str()); - screen.gPrint(Common::Point(xp + 1, 1), 0, "%s", name.c_str()); + screen.gPrint(Common::Point(xp + 2, 2), BLACK, "%s", name.c_str()); + screen.gPrint(Common::Point(xp + 1, 1), BLACK, "%s", name.c_str()); screen.gPrint(Common::Point(xp, 0), 12, "%s", name.c_str()); screen.slamArea(xp, 0, width + 2, 15); |