diff options
author | Filippos Karapetis | 2013-10-31 08:24:03 +0200 |
---|---|---|
committer | Filippos Karapetis | 2013-10-31 08:24:03 +0200 |
commit | 1a40387d0d0bbbf2661a5885a4458887c1871181 (patch) | |
tree | 2287d8448118c783143cc1e7c4646db98cc0434c /engines/neverhood/modules | |
parent | f9bbc2ca37f40692d555d3b355209a7f2538afda (diff) | |
download | scummvm-rg350-1a40387d0d0bbbf2661a5885a4458887c1871181.tar.gz scummvm-rg350-1a40387d0d0bbbf2661a5885a4458887c1871181.tar.bz2 scummvm-rg350-1a40387d0d0bbbf2661a5885a4458887c1871181.zip |
NEVERHOOD: Add an option to skip the Hall of Records storyboard scenes
Quoting from the Neverhood wiki: "The Hall of Records is considered to
be one of the longest and most tedious elements of the Neverhood, and
takes approximately nine to ten minutes to walk through".
This option allows the player to just skip past all of these tedious
storyboard scenes
Diffstat (limited to 'engines/neverhood/modules')
-rw-r--r-- | engines/neverhood/modules/module2200.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/engines/neverhood/modules/module2200.cpp b/engines/neverhood/modules/module2200.cpp index 745af42f72..eecddf904c 100644 --- a/engines/neverhood/modules/module2200.cpp +++ b/engines/neverhood/modules/module2200.cpp @@ -20,6 +20,8 @@ * */ +#include "common/config-manager.h" + #include "neverhood/diskplayerscene.h" #include "neverhood/gamemodule.h" #include "neverhood/modules/module1000_sprites.h" @@ -46,6 +48,18 @@ Module2200::~Module2200() { } void Module2200::createScene(int sceneNum, int which) { + if (sceneNum == 46 && ConfMan.getBool("skiphallofrecordsscenes")) { + // Skip the whole Hall of Records storyboard scenes, + // and teleport to the last scene + sceneNum = 41; + } + + if (sceneNum == 40 && ConfMan.getBool("skiphallofrecordsscenes")) { + // Skip the whole Hall of Records storyboard scenes, + // and teleport back to the first scene + sceneNum = 5; + } + debug(1, "Module2200::createScene(%d, %d)", sceneNum, which); _sceneNum = sceneNum; switch (_sceneNum) { |