diff options
author | Andrew Kurushin | 2005-11-26 12:08:05 +0000 |
---|---|---|
committer | Andrew Kurushin | 2005-11-26 12:08:05 +0000 |
commit | 66e5b90168b311d6f4d4d1ae31142e02bca29d4d (patch) | |
tree | 162b17c477e5a95432e592084c13ba8e2d75c94c /saga/scene.cpp | |
parent | 42548e371cba500a9ead2f71d399d098896a82bd (diff) | |
download | scummvm-rg350-66e5b90168b311d6f4d4d1ae31142e02bca29d4d.tar.gz scummvm-rg350-66e5b90168b311d6f4d4d1ae31142e02bca29d4d.tar.bz2 scummvm-rg350-66e5b90168b311d6f4d4d1ae31142e02bca29d4d.zip |
known color WIP #1
svn-id: r19703
Diffstat (limited to 'saga/scene.cpp')
-rw-r--r-- | saga/scene.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/saga/scene.cpp b/saga/scene.cpp index 99619713b5..52a4145fef 100644 --- a/saga/scene.cpp +++ b/saga/scene.cpp @@ -240,9 +240,9 @@ void Scene::drawTextList(Surface *ds) { if (entry->display) { if (entry->useRect) { - _vm->_font->textDrawRect(entry->font, ds, entry->text, entry->rect, entry->color, entry->effectColor, entry->flags); + _vm->_font->textDrawRect(entry->font, ds, entry->text, entry->rect, _vm->KnownColor2ColorId(entry->knownColor), _vm->KnownColor2ColorId(entry->effectKnownColor), entry->flags); } else { - _vm->_font->textDraw(entry->font, ds, entry->text, entry->point, entry->color, entry->effectColor, entry->flags); + _vm->_font->textDraw(entry->font, ds, entry->text, entry->point, _vm->KnownColor2ColorId(entry->knownColor), _vm->KnownColor2ColorId(entry->effectKnownColor), entry->flags); } } } @@ -453,10 +453,10 @@ void Scene::changeScene(int16 sceneNumber, int actorsEntrance, SceneTransitionTy _vm->_interface->setStatusText("Click or Press Return to continue. Press Q to quit.", 96); _vm->_font->textDrawRect(kKnownFontMedium, backBuffer, sceneSubstitutes[i].title, - Common::Rect(0, 7, _vm->getDisplayWidth(), 27), 1, 15, kFontOutline); + Common::Rect(0, 7, _vm->getDisplayWidth(), 27), _vm->KnownColor2ColorId(kKnownColorBrightWhite), _vm->KnownColor2ColorId(kKnownColorBlack), kFontOutline); _vm->_font->textDrawRect(kKnownFontMedium, backBuffer, sceneSubstitutes[i].message, Common::Rect(24, getHeight() - 33, _vm->getDisplayWidth() - 11, - getHeight()), 1, 15, kFontOutline); + getHeight()), _vm->KnownColor2ColorId(kKnownColorBrightWhite), _vm->KnownColor2ColorId(kKnownColorBlack), kFontOutline); return; } } |