mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-07 11:27:44 +00:00
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.
This commit is contained in:
parent
573fa47f94
commit
bd56983b42
@ -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");
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user