Show the cursor when opening the options screen. Also, fixed a regression with some strings in the game interface
svn-id: r29151
This commit is contained in:
parent
6cd700f776
commit
8ced5d58df
1 changed files with 4 additions and 5 deletions
|
@ -400,9 +400,8 @@ void Interface::setMode(int mode) {
|
|||
_saveReminderState = 1;
|
||||
}
|
||||
} else if (mode == kPanelOption) {
|
||||
// Show the cursor in the IHNM demo
|
||||
if (_vm->getGameId() == GID_IHNM_DEMO)
|
||||
_vm->_gfx->showCursor(true);
|
||||
// Show the cursor if it's hidden
|
||||
_vm->_gfx->showCursor(true);
|
||||
} else {
|
||||
if (mode == kPanelConverse) {
|
||||
_inMainMode = false;
|
||||
|
@ -874,7 +873,7 @@ void Interface::drawPanelText(Surface *ds, InterfacePanel *panel, PanelButton *p
|
|||
textFont = kKnownFontMedium;
|
||||
textShadowKnownColor = kKnownColorVerbTextShadow;
|
||||
} else {
|
||||
if (panelButton->id < 39) {
|
||||
if (panelButton->id < 39 || panelButton->id > 50) {
|
||||
// Read non-hardcoded strings from the LUT string table, loaded from the game
|
||||
// data files
|
||||
text = _vm->_script->_mainStrings.getString(IHNMTextStringIdsLUT[panelButton->id]);
|
||||
|
@ -2223,7 +2222,7 @@ void Interface::drawPanelButtonText(Surface *ds, InterfacePanel *panel, PanelBut
|
|||
textWidth = _vm->_font->getStringWidth(kKnownFontMedium, text, 0, kFontNormal);
|
||||
textHeight = _vm->_font->getHeight(kKnownFontMedium);
|
||||
} else {
|
||||
if (textId < 39) {
|
||||
if (textId < 39 || textId > 50) {
|
||||
// Read non-hardcoded strings from the LUT string table, loaded from the game
|
||||
// data files
|
||||
text = _vm->_script->_mainStrings.getString(IHNMTextStringIdsLUT[textId]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue