aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTobia Tesan2016-03-29 11:08:59 +0200
committerTobia Tesan2016-12-26 12:20:56 +0100
commita496467fbe0687edc8f72bfb439fe046d44e4391 (patch)
tree66b1fc4f406440684c7466182ee4461d63c0f2a3 /engines
parent0f14f12d6d9cb81040cdc1e499cdcff87abc9e54 (diff)
downloadscummvm-rg350-a496467fbe0687edc8f72bfb439fe046d44e4391.tar.gz
scummvm-rg350-a496467fbe0687edc8f72bfb439fe046d44e4391.tar.bz2
scummvm-rg350-a496467fbe0687edc8f72bfb439fe046d44e4391.zip
WINTERMUTE: Add "Sprite bilinear filtering" menu option
Diffstat (limited to 'engines')
-rw-r--r--engines/wintermute/detection.cpp13
-rw-r--r--engines/wintermute/detection_tables.h1
2 files changed, 13 insertions, 1 deletions
diff --git a/engines/wintermute/detection.cpp b/engines/wintermute/detection.cpp
index 4e8eab505f..9ccb75d62f 100644
--- a/engines/wintermute/detection.cpp
+++ b/engines/wintermute/detection.cpp
@@ -59,8 +59,19 @@ static const ADExtraGuiOptionsMap gameGuiOptions[] = {
_s("Show the current number of frames per second in the upper left corner"),
"show_fps",
false
+ },
+ },
+
+ {
+ GAMEOPTION_BILINEAR,
+ {
+ _s("Sprite bilinear filtering (SLOW)"),
+ _s("Apply bilinear filtering to individual sprites"),
+ "bilinear_filtering",
+ false
}
},
+
AD_EXTRA_GUI_OPTIONS_TERMINATOR
};
@@ -76,7 +87,7 @@ class WintermuteMetaEngine : public AdvancedMetaEngine {
public:
WintermuteMetaEngine() : AdvancedMetaEngine(Wintermute::gameDescriptions, sizeof(WMEGameDescription), Wintermute::wintermuteGames, gameGuiOptions) {
_singleId = "wintermute";
- _guiOptions = GUIO2(GUIO_NOMIDI, GAMEOPTION_SHOW_FPS);
+ _guiOptions = GUIO3(GUIO_NOMIDI, GAMEOPTION_SHOW_FPS, GAMEOPTION_BILINEAR);
_maxScanDepth = 2;
_directoryGlobs = directoryGlobs;
}
diff --git a/engines/wintermute/detection_tables.h b/engines/wintermute/detection_tables.h
index 68985d8d0c..681d4dec42 100644
--- a/engines/wintermute/detection_tables.h
+++ b/engines/wintermute/detection_tables.h
@@ -23,6 +23,7 @@
namespace Wintermute {
#define GAMEOPTION_SHOW_FPS GUIO_GAMEOPTIONS1
+#define GAMEOPTION_BILINEAR GUIO_GAMEOPTIONS2
static const PlainGameDescriptor wintermuteGames[] = {
{"5ld", "Five Lethal Demons"},