aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1
diff options
context:
space:
mode:
authorMax Horn2006-02-18 00:12:36 +0000
committerMax Horn2006-02-18 00:12:36 +0000
commit81798556dbd38fb829557cbe6a04132cc5edf75c (patch)
treed2925b35cfc31dfaadd8e7cc3f98c5299d91f964 /engines/sword1
parentd13950dab2d5c0465f823e20fc8ab26b72b89ecc (diff)
downloadscummvm-rg350-81798556dbd38fb829557cbe6a04132cc5edf75c.tar.gz
scummvm-rg350-81798556dbd38fb829557cbe6a04132cc5edf75c.tar.bz2
scummvm-rg350-81798556dbd38fb829557cbe6a04132cc5edf75c.zip
- Removed the 'features' field from GameSettings
- Removed GF_DEFAULT_TO_1X_SCALER svn-id: r20747
Diffstat (limited to 'engines/sword1')
-rw-r--r--engines/sword1/sword1.cpp10
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/sword1/sword1.cpp b/engines/sword1/sword1.cpp
index 8c8ab2dc0d..689c4625c3 100644
--- a/engines/sword1/sword1.cpp
+++ b/engines/sword1/sword1.cpp
@@ -49,9 +49,9 @@ using namespace Sword1;
/* Broken Sword 1 */
static const GameSettings sword1FullSettings =
- {"sword1", "Broken Sword 1: The Shadow of the Templars", GF_DEFAULT_TO_1X_SCALER};
+ {"sword1", "Broken Sword 1: The Shadow of the Templars"};
static const GameSettings sword1DemoSettings =
- {"sword1demo", "Broken Sword 1: The Shadow of the Templars (Demo)", GF_DEFAULT_TO_1X_SCALER | Sword1::GF_DEMO };
+ {"sword1demo", "Broken Sword 1: The Shadow of the Templars (Demo)"};
// check these subdirectories (if present)
static const char *g_dirNames[] = { "clusters", "speech" };
@@ -126,7 +126,11 @@ void SwordEngine::errorString(const char *buf1, char *buf2) {
SwordEngine::SwordEngine(GameDetector *detector, OSystem *syst)
: Engine(syst) {
- _features = detector->_game.features;
+ if (0 == strcmp(detector->_game.gameid, "sword1demo"))
+ _features = GF_DEMO;
+ else
+ _features = 0;
+
if (!_mixer->isReady())
warning("Sound initialization failed");