diff options
author | Bastien Bouclet | 2018-06-26 08:01:59 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-06-29 13:31:55 +0200 |
commit | bd56983b42f0424c2b5f7c6c066ba2d12b94b610 (patch) | |
tree | 59cf508911a21372c174693957ef53796ff29e53 /engines/mohawk | |
parent | 573fa47f948a4ce55cfbca4837eda9303cd43d93 (diff) | |
download | scummvm-rg350-bd56983b42f0424c2b5f7c6c066ba2d12b94b610.tar.gz scummvm-rg350-bd56983b42f0424c2b5f7c6c066ba2d12b94b610.tar.bz2 scummvm-rg350-bd56983b42f0424c2b5f7c6c066ba2d12b94b610.zip |
MOHAWK: RIVEN: Tweak a bit the main menu items
* Move the text to the left so the japanese version is not cut.
* Increase the size of the text so it looks better when scaled up.
Diffstat (limited to 'engines/mohawk')
-rw-r--r-- | engines/mohawk/riven_card.cpp | 14 | ||||
-rw-r--r-- | engines/mohawk/riven_stacks/aspit.cpp | 9 |
2 files changed, 13 insertions, 10 deletions
diff --git a/engines/mohawk/riven_card.cpp b/engines/mohawk/riven_card.cpp index 92ed379779..3612232b23 100644 --- a/engines/mohawk/riven_card.cpp +++ b/engines/mohawk/riven_card.cpp @@ -399,13 +399,13 @@ void RivenCard::applyPropertiesPatchE2E(uint32 globalId) { // The main menu in the Myst 25th anniversary version is patched to include new items: // - Save game if (globalId == 0xE2E) { - moveHotspot( 22, Common::Rect(485, 175, 602, 190)); // Setup - moveHotspot( 16, Common::Rect(485, 201, 602, 216)); // New game - addMenuHotspot(23, Common::Rect(485, 227, 602, 242), 3, RivenStacks::ASpit::kExternalRestoreGame, "xarestoregame"); - addMenuHotspot(24, Common::Rect(485, 256, 602, 271), 4, RivenStacks::ASpit::kExternalSaveGame, "xaSaveGame"); - addMenuHotspot(25, Common::Rect(485, 283, 602, 300), 5, RivenStacks::ASpit::kExternalResume, "xaResumeGame"); - addMenuHotspot(26, Common::Rect(485, 309, 602, 326), 6, RivenStacks::ASpit::kExternalOptions, "xaOptions"); - addMenuHotspot(27, Common::Rect(485, 335, 602, 352), 7, RivenStacks::ASpit::kExternalQuit, "xademoquit"); + moveHotspot( 22, Common::Rect(470, 175, 602, 190)); // Setup + moveHotspot( 16, Common::Rect(470, 201, 602, 216)); // New game + addMenuHotspot(23, Common::Rect(470, 227, 602, 242), 3, RivenStacks::ASpit::kExternalRestoreGame, "xarestoregame"); + addMenuHotspot(24, Common::Rect(470, 256, 602, 271), 4, RivenStacks::ASpit::kExternalSaveGame, "xaSaveGame"); + addMenuHotspot(25, Common::Rect(470, 283, 602, 300), 5, RivenStacks::ASpit::kExternalResume, "xaResumeGame"); + addMenuHotspot(26, Common::Rect(470, 309, 602, 326), 6, RivenStacks::ASpit::kExternalOptions, "xaOptions"); + addMenuHotspot(27, Common::Rect(470, 335, 602, 352), 7, RivenStacks::ASpit::kExternalQuit, "xademoquit"); _vm->getStack()->registerName(kExternalCommandNames, RivenStacks::ASpit::kExternalNewGame, "xaNewGame"); } } diff --git a/engines/mohawk/riven_stacks/aspit.cpp b/engines/mohawk/riven_stacks/aspit.cpp index ee68587bf7..a94b454257 100644 --- a/engines/mohawk/riven_stacks/aspit.cpp +++ b/engines/mohawk/riven_stacks/aspit.cpp @@ -98,14 +98,17 @@ void ASpit::xastartupbtnhide(const ArgumentArray &args) { const char *fontname; const Graphics::Font *font = nullptr; - if (_vm->getLanguage() != Common::JA_JPN) + int fontHeight; + if (_vm->getLanguage() != Common::JA_JPN) { fontname = "FreeSans.ttf"; - else + fontHeight = 12; + } else { fontname = "mplus-2c-regular.ttf"; + fontHeight = 11; + } #if defined(USE_FREETYPE2) - int fontHeight = 11; if (file.open(fontname)) { font = Graphics::loadTTFFont(file, fontHeight); } |