mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 17:33:05 +00:00
MTROPOLIS: Condense Obsidian widescreen mod into one option.
This commit is contained in:
parent
98c306376f
commit
4f64e52542
@ -70,22 +70,14 @@ const ExtraGuiOptions MTropolisMetaEngineDetection::getExtraGuiOptions(const Com
|
||||
|
||||
if (gameid == "obsidian") {
|
||||
static const ExtraGuiOption widescreenOption = {
|
||||
_s("Widescreen"),
|
||||
_s("Removes upper letterbox bar"),
|
||||
"mtropolis_enh_obsidian_widescreen",
|
||||
_s("16:9 Widescreen Mod"),
|
||||
_s("Removes letterboxing and moves some display elements, improving coverage on widescreen displays"),
|
||||
"mtropolis_mod_obsidian_widescreen",
|
||||
false,
|
||||
0,
|
||||
1};
|
||||
static const ExtraGuiOption widescreenImprovedOption = {
|
||||
_s("Enhanced Widescreen"),
|
||||
_s("Removes the upper and lower letterbox bars and relocates inventory item graphics"),
|
||||
"mtropolis_enh_obsidian_widescreen_improved",
|
||||
false,
|
||||
1,
|
||||
0};
|
||||
|
||||
options.push_back(widescreenOption);
|
||||
options.push_back(widescreenImprovedOption);
|
||||
}
|
||||
|
||||
static const ExtraGuiOption launchDebugOption = {
|
||||
|
@ -121,19 +121,11 @@ Common::Error MTropolisEngine::run() {
|
||||
|
||||
_runtime->getHacks().ignoreMismatchedProjectNameInObjectLookups = true;
|
||||
|
||||
if (ConfMan.getBool("mtropolis_enh_obsidian_widescreen")) {
|
||||
preferredHeight = 420;
|
||||
|
||||
_runtime->getHacks().mainWindowOffset = Common::Point(0, -30);
|
||||
if (ConfMan.getBool("mtropolis_mod_obsidian_widescreen")) {
|
||||
_runtime->getHacks().reportDisplaySize = Common::Point(640, 480);
|
||||
|
||||
if (ConfMan.getBool("mtropolis_enh_obsidian_widescreen_improved")) {
|
||||
preferredHeight = 360;
|
||||
|
||||
_runtime->getHacks().mainWindowOffset = Common::Point(0, 0);
|
||||
|
||||
HackSuites::addObsidianImprovedWidescreen(*_gameDescription, _runtime->getHacks());
|
||||
}
|
||||
preferredHeight = 360;
|
||||
HackSuites::addObsidianImprovedWidescreen(*_gameDescription, _runtime->getHacks());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user