diff options
Diffstat (limited to 'engines/wintermute/detection.cpp')
| -rw-r--r-- | engines/wintermute/detection.cpp | 23 | 
1 files changed, 17 insertions, 6 deletions
diff --git a/engines/wintermute/detection.cpp b/engines/wintermute/detection.cpp index aca682ae99..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  }; @@ -75,8 +86,8 @@ static const char *directoryGlobs[] = {  class WintermuteMetaEngine : public AdvancedMetaEngine {  public:  	WintermuteMetaEngine() : AdvancedMetaEngine(Wintermute::gameDescriptions, sizeof(WMEGameDescription), Wintermute::wintermuteGames, gameGuiOptions) { -		_singleid = "wintermute"; -		_guioptions = GUIO2(GUIO_NOMIDI, GAMEOPTION_SHOW_FPS); +		_singleId = "wintermute"; +		_guiOptions = GUIO3(GUIO_NOMIDI, GAMEOPTION_SHOW_FPS, GAMEOPTION_BILINEAR);  		_maxScanDepth = 2;  		_directoryGlobs = directoryGlobs;  	} @@ -85,7 +96,7 @@ public:  	}  	virtual const char *getOriginalCopyright() const { -		return "Copyright (c) 2011 Jan Nedoma"; +		return "Copyright (C) 2011 Jan Nedoma";  	}  	virtual const ADGameDescription *fallbackDetect(const FileMap &allFiles, const Common::FSList &fslist) const { @@ -94,8 +105,8 @@ public:  		s_fallbackDesc.language = Common::UNK_LANG;  		s_fallbackDesc.flags = ADGF_UNSTABLE;  		s_fallbackDesc.platform = Common::kPlatformWindows; // default to Windows -		s_fallbackDesc.gameid = "wintermute"; -		s_fallbackDesc.guioptions = GUIO0(); +		s_fallbackDesc.gameId = "wintermute"; +		s_fallbackDesc.guiOptions = GUIO0();  		if (allFiles.contains("data.dcp")) {  			Common::String name, caption; @@ -109,7 +120,7 @@ public:  				// Prefix to avoid collisions with actually known games  				name = "wmeunk-" + name;  				Common::strlcpy(s_fallbackGameIdBuf, name.c_str(), sizeof(s_fallbackGameIdBuf) - 1); -				s_fallbackDesc.gameid = s_fallbackGameIdBuf; +				s_fallbackDesc.gameId = s_fallbackGameIdBuf;  				if (caption != name) {  					caption += " (unknown version) ";  					char *offset = s_fallbackGameIdBuf + name.size() + 1;  | 
