diff options
author | Nicola Mettifogo | 2007-08-11 17:25:57 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-08-11 17:25:57 +0000 |
commit | b07f787f7ff49c0a88122cd60b6c73ae850adc26 (patch) | |
tree | 15b4120a5d1c7a1d828e9bc3333d4d411caf88a5 /engines/parallaction/callables_ns.cpp | |
parent | 81b864e9e8199b0102b122626badba059eb618d4 (diff) | |
download | scummvm-rg350-b07f787f7ff49c0a88122cd60b6c73ae850adc26.tar.gz scummvm-rg350-b07f787f7ff49c0a88122cd60b6c73ae850adc26.tar.bz2 scummvm-rg350-b07f787f7ff49c0a88122cd60b6c73ae850adc26.zip |
Moved core font management from Gfx to engine. Gfx still retains features related to displaying text on screen.
svn-id: r28530
Diffstat (limited to 'engines/parallaction/callables_ns.cpp')
-rw-r--r-- | engines/parallaction/callables_ns.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/parallaction/callables_ns.cpp b/engines/parallaction/callables_ns.cpp index 26b472345e..89d59b948b 100644 --- a/engines/parallaction/callables_ns.cpp +++ b/engines/parallaction/callables_ns.cpp @@ -336,7 +336,7 @@ void Parallaction_ns::_c_setMask(void *parm) { void Parallaction_ns::_c_endComment(void *param) { - _gfx->showLocationComment(_location._endComment, true); + showLocationComment(_location._endComment, true); Palette pal(_gfx->_palette); pal.makeGrayscale(); @@ -413,7 +413,7 @@ void Parallaction_ns::_c_finito(void *parm) { _gfx->setPalette(_gfx->_palette); if (gameCompleted) { - _gfx->setFont(kFontMenu); + _gfx->setFont(_menuFont); _gfx->displayCenteredString(70, v4C[_language]); _gfx->displayCenteredString(100, v3C[_language]); _gfx->displayCenteredString(130, v2C[_language]); @@ -426,7 +426,7 @@ void Parallaction_ns::_c_finito(void *parm) { _engineFlags |= kEngineChangeLocation; } else { - _gfx->setFont(kFontMenu); + _gfx->setFont(_menuFont); _gfx->displayCenteredString(70, v8C[_language]); _gfx->displayCenteredString(100, v7C[_language]); _gfx->displayCenteredString(130, v6C[_language]); @@ -471,7 +471,7 @@ void Parallaction_ns::_c_testResult(void *parm) { _disk->selectArchive("disk1"); parseLocation("common"); - _gfx->setFont(kFontMenu); + _gfx->setFont(_menuFont); _gfx->displayCenteredString(38, _slideText[0]); _gfx->displayCenteredString(58, _slideText[1]); @@ -516,7 +516,7 @@ void Parallaction_ns::_c_startIntro(void *parm) { void Parallaction_ns::_c_endIntro(void *parm) { - _gfx->setFont(kFontMenu); + _gfx->setFont(_menuFont); debugC(1, kDebugLocation, "endIntro()"); |