diff options
Diffstat (limited to 'engines/avalanche')
-rw-r--r-- | engines/avalanche/graphics.cpp | 4 | ||||
-rw-r--r-- | engines/avalanche/graphics.h | 2 | ||||
-rw-r--r-- | engines/avalanche/mainmenu.cpp | 11 |
3 files changed, 9 insertions, 8 deletions
diff --git a/engines/avalanche/graphics.cpp b/engines/avalanche/graphics.cpp index e1dd8e91cd..553556f8e0 100644 --- a/engines/avalanche/graphics.cpp +++ b/engines/avalanche/graphics.cpp @@ -863,8 +863,8 @@ void GraphicManager::menuLoadPictures() { file.close(); } -void GraphicManager::menuDrawBigText(FontType font, uint16 x, uint16 y, Common::String text, bool notted) { - drawBigText(_menu, text, font, 14, x, y, kColorBlack); +void GraphicManager::menuDrawBigText(FontType font, uint16 x, uint16 y, Common::String text, Color color) { + drawBigText(_menu, text, font, 14, x, y, color); } /** diff --git a/engines/avalanche/graphics.h b/engines/avalanche/graphics.h index 3e8224bb22..270e04da85 100644 --- a/engines/avalanche/graphics.h +++ b/engines/avalanche/graphics.h @@ -124,7 +124,7 @@ public: void menuInitialize(); void menuClear(); void menuLoadPictures(); - void menuDrawBigText(FontType font, uint16 x, uint16 y, Common::String text, bool notted); + void menuDrawBigText(FontType font, uint16 x, uint16 y, Common::String text, Color color); void clearAlso(); void clearTextBar(); diff --git a/engines/avalanche/mainmenu.cpp b/engines/avalanche/mainmenu.cpp index 058e1cf347..0f64527305 100644 --- a/engines/avalanche/mainmenu.cpp +++ b/engines/avalanche/mainmenu.cpp @@ -48,8 +48,8 @@ void MainMenu::run() { option(4, "View the documentation."); option(5, "Registration info."); option(6, "Exit back to DOS."); - centre(275, _registrant); - centre(303, "Make your choice, or wait for the demo."); + centre(274, _registrant); + centre(301, "Make your choice, or wait for the demo."); _vm->_graphics->menuRefreshScreen(); @@ -67,16 +67,17 @@ void MainMenu::loadFont() { } void MainMenu::loadRegiInfo() { + _registrant = "(Unregistered evaluation copy.)"; warning("STUB: MainMenu::loadRegiInfo()"); } void MainMenu::option(byte which, Common::String what) { - _vm->_graphics->menuDrawBigText(_font, 127, 39 + which * 33, Common::String(which + 48) + ')', true); - _vm->_graphics->menuDrawBigText(_font, 191, 39 + which * 33, what, true); + _vm->_graphics->menuDrawBigText(_font, 127, 39 + which * 33, Common::String(which + 48) + ')', kColorBlack); + _vm->_graphics->menuDrawBigText(_font, 191, 39 + which * 33, what, kColorBlack); } void MainMenu::centre(int16 y, Common::String text) { - warning("STUB: MainMenu::centre()"); + _vm->_graphics->menuDrawBigText(_font, 320 - text.size() * 8, y, text, kColorLightgray); } void MainMenu::wait() { |