mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
MM: MM1: Implement large message display for Leprechaun
This commit is contained in:
parent
8be4939b60
commit
bed08fd350
@ -1147,6 +1147,7 @@ maps:
|
||||
levitate: ", levitation saves you!"
|
||||
emap00:
|
||||
training_inside: "Before you are various groups engaged in training exercises. Worg, the guildmaster asks, \"Do you require training (Y/N)?\""
|
||||
leprechaun: "A tenacious leprechaun appears saying, \"Traveling the roads is quite dangerous save for the strong and courageous, Only 1 gem you lose and i'll send you to the town you choose.\"\n\n'ESC' to go back\nWhich town (1-5)?"
|
||||
|
||||
map01:
|
||||
blacksmith: "\"B. Smith's workshop\""
|
||||
@ -1171,7 +1172,7 @@ maps:
|
||||
|
||||
map02:
|
||||
blacksmith: "\"Swampside supplies\""
|
||||
inn: "\"The inn of algary\""
|
||||
inn: "\"The inn of Algary\""
|
||||
market: "\"Arcon's slop\""
|
||||
tavern: "\"Jolly jester tavern\""
|
||||
temple: "\"Temple half-dead\""
|
||||
|
@ -131,6 +131,7 @@ void Map00::special08() {
|
||||
case Common::KEYCODE_3:
|
||||
case Common::KEYCODE_4:
|
||||
case Common::KEYCODE_5:
|
||||
g_events->focusedView()->close();
|
||||
map[TOWN_NUM] = keyState.ascii;
|
||||
|
||||
for (uint i = 0; i < g_globals->_party.size(); ++i) {
|
||||
@ -152,7 +153,6 @@ void Map00::special08() {
|
||||
}
|
||||
|
||||
maps._mapPos = Common::Point(8, 5);
|
||||
g_events->send("View", GameMessage("UPDATE"));
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -76,6 +76,11 @@ bool GameMessages::msgInfo(const InfoMessage &msg) {
|
||||
// Add the view
|
||||
addView(this);
|
||||
|
||||
if (msg._largeMessage)
|
||||
setBounds(Common::Rect(0, 90, 234, 200));
|
||||
else
|
||||
setBounds(Common::Rect(0, 144, 234, 200));
|
||||
|
||||
// Process the lines
|
||||
clear();
|
||||
for (const auto &line : msg._lines)
|
||||
|
Loading…
Reference in New Issue
Block a user