From 9c295171b62ddeff6608d54d0e3fa56691f15618 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 26 Dec 2013 16:49:01 +0200 Subject: NEVERHOOD: Add an option to scale the making of videos to full screen --- engines/neverhood/detection.cpp | 9 +++++++++ engines/neverhood/menumodule.cpp | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/engines/neverhood/detection.cpp b/engines/neverhood/detection.cpp index 10f2bc1e00..feba193609 100644 --- a/engines/neverhood/detection.cpp +++ b/engines/neverhood/detection.cpp @@ -170,6 +170,14 @@ static const ExtraGuiOption neverhoodExtraGuiOption2 = { false }; +static const ExtraGuiOption neverhoodExtraGuiOption3 = { + _s("Scale the making of videos to full screen"), + _s("Scale the making of videos, so that they use the whole screen"), + "scalemakingofvideos", + false +}; + + class NeverhoodMetaEngine : public AdvancedMetaEngine { public: NeverhoodMetaEngine() : AdvancedMetaEngine(Neverhood::gameDescriptions, sizeof(Neverhood::NeverhoodGameDescription), neverhoodGames) { @@ -225,6 +233,7 @@ const ExtraGuiOptions NeverhoodMetaEngine::getExtraGuiOptions(const Common::Stri ExtraGuiOptions options; options.push_back(neverhoodExtraGuiOption1); options.push_back(neverhoodExtraGuiOption2); + options.push_back(neverhoodExtraGuiOption3); return options; } diff --git a/engines/neverhood/menumodule.cpp b/engines/neverhood/menumodule.cpp index b6aff48e0e..8929fb35c6 100644 --- a/engines/neverhood/menumodule.cpp +++ b/engines/neverhood/menumodule.cpp @@ -112,7 +112,7 @@ void MenuModule::createScene(int sceneNum, int which) { _childObject = new CreditsScene(_vm, this, true); break; case MAKING_OF: - createSmackerScene(kMakingOfSmackerFileHashList, false, true, true); + createSmackerScene(kMakingOfSmackerFileHashList, ConfMan.getBool("scalemakingofvideos"), true, true); break; case LOAD_GAME_MENU: createLoadGameMenu(); -- cgit v1.2.3