aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-12-11 16:44:20 +0100
committerEugene Sandulenko2016-12-11 18:36:08 +0100
commitb6bc2e0b9510bdfe0ce9b52a1ef060139b4891da (patch)
tree3d6e3317f7a7011d3a85fda7bb8a5d666328abca
parent8f4a662b1db79a8e9db70ae4e7f89325afdc409a (diff)
downloadscummvm-rg350-b6bc2e0b9510bdfe0ce9b52a1ef060139b4891da.tar.gz
scummvm-rg350-b6bc2e0b9510bdfe0ce9b52a1ef060139b4891da.tar.bz2
scummvm-rg350-b6bc2e0b9510bdfe0ce9b52a1ef060139b4891da.zip
FULLPIPE: Implement demo-specific help screen
-rw-r--r--engines/fullpipe/messagehandlers.cpp2
-rw-r--r--engines/fullpipe/modal.cpp5
2 files changed, 5 insertions, 2 deletions
diff --git a/engines/fullpipe/messagehandlers.cpp b/engines/fullpipe/messagehandlers.cpp
index 4aefa80644..d69e8a94e3 100644
--- a/engines/fullpipe/messagehandlers.cpp
+++ b/engines/fullpipe/messagehandlers.cpp
@@ -192,7 +192,7 @@ int global_messageHandler1(ExCommand *cmd) {
g_fp->openMap();
cmd->_messageKind = 0;
break;
- case 'p':
+ case Common::KEYCODE_F1:
if (g_fp->_flgCanOpenMap)
g_fp->openHelp();
cmd->_messageKind = 0;
diff --git a/engines/fullpipe/modal.cpp b/engines/fullpipe/modal.cpp
index 1c216477ca..acb834d919 100644
--- a/engines/fullpipe/modal.cpp
+++ b/engines/fullpipe/modal.cpp
@@ -1780,7 +1780,10 @@ void ModalHelp::launch() {
_mainMenuScene = g_fp->accessScene(SC_MAINMENU);
if (_mainMenuScene) {
- _bg = _mainMenuScene->getPictureObjectById(PIC_HLP_BGR, 0)->_picture;
+ if (g_fp->isDemo() && g_fp->getLanguage() == Common::RU_RUS)
+ _bg = _mainMenuScene->getPictureObjectById(364, 0)->_picture;
+ else
+ _bg = _mainMenuScene->getPictureObjectById(PIC_HLP_BGR, 0)->_picture;
_isRunning = 1;
}
}