diff options
author | Andrew Kurushin | 2005-11-03 18:20:12 +0000 |
---|---|---|
committer | Andrew Kurushin | 2005-11-03 18:20:12 +0000 |
commit | 43a083a117a42879a18ea4c3a5e721d261fb8489 (patch) | |
tree | 8dfb8e3cad472c7b7fa928720d02af148b046eae /saga/scene.cpp | |
parent | 7f691c3ca2068e708915b968a6f210ec205ce442 (diff) | |
download | scummvm-rg350-43a083a117a42879a18ea4c3a5e721d261fb8489.tar.gz scummvm-rg350-43a083a117a42879a18ea4c3a5e721d261fb8489.tar.bz2 scummvm-rg350-43a083a117a42879a18ea4c3a5e721d261fb8489.zip |
-implement font substitution funcs
-move puzzle data to itedata
svn-id: r19411
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 c273941f6c..99619713b5 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->fontId, ds, entry->text, entry->rect, entry->color, entry->effectColor, entry->flags); + _vm->_font->textDrawRect(entry->font, ds, entry->text, entry->rect, entry->color, entry->effectColor, entry->flags); } else { - _vm->_font->textDraw(entry->fontId, ds, entry->text, entry->point, entry->color, entry->effectColor, entry->flags); + _vm->_font->textDraw(entry->font, ds, entry->text, entry->point, entry->color, entry->effectColor, entry->flags); } } } @@ -452,9 +452,9 @@ 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(kMediumFont, backBuffer, sceneSubstitutes[i].title, + _vm->_font->textDrawRect(kKnownFontMedium, backBuffer, sceneSubstitutes[i].title, Common::Rect(0, 7, _vm->getDisplayWidth(), 27), 1, 15, kFontOutline); - _vm->_font->textDrawRect(kMediumFont, backBuffer, sceneSubstitutes[i].message, + _vm->_font->textDrawRect(kKnownFontMedium, backBuffer, sceneSubstitutes[i].message, Common::Rect(24, getHeight() - 33, _vm->getDisplayWidth() - 11, getHeight()), 1, 15, kFontOutline); return; |