diff options
author | Max Horn | 2006-02-18 00:12:36 +0000 |
---|---|---|
committer | Max Horn | 2006-02-18 00:12:36 +0000 |
commit | 81798556dbd38fb829557cbe6a04132cc5edf75c (patch) | |
tree | d2925b35cfc31dfaadd8e7cc3f98c5299d91f964 /engines/sword2 | |
parent | d13950dab2d5c0465f823e20fc8ab26b72b89ecc (diff) | |
download | scummvm-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/sword2')
-rw-r--r-- | engines/sword2/sword2.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/engines/sword2/sword2.cpp b/engines/sword2/sword2.cpp index b4d7838b93..bcc1e36e86 100644 --- a/engines/sword2/sword2.cpp +++ b/engines/sword2/sword2.cpp @@ -57,9 +57,9 @@ struct Sword2GameSettings { static const Sword2GameSettings sword2_settings[] = { /* Broken Sword 2 */ - {"sword2", "Broken Sword 2: The Smoking Mirror", GF_DEFAULT_TO_1X_SCALER, "players.clu" }, - {"sword2alt", "Broken Sword 2: The Smoking Mirror (alt)", GF_DEFAULT_TO_1X_SCALER, "r2ctlns.ocx" }, - {"sword2demo", "Broken Sword 2: The Smoking Mirror (Demo)", GF_DEFAULT_TO_1X_SCALER | Sword2::GF_DEMO, "players.clu" }, + {"sword2", "Broken Sword 2: The Smoking Mirror", 0, "players.clu" }, + {"sword2alt", "Broken Sword 2: The Smoking Mirror (alt)", 0, "r2ctlns.ocx" }, + {"sword2demo", "Broken Sword 2: The Smoking Mirror (Demo)", Sword2::GF_DEMO, "players.clu" }, {NULL, NULL, 0, NULL} }; @@ -115,7 +115,11 @@ Sword2Engine::Sword2Engine(GameDetector *detector, OSystem *syst) : Engine(syst) Common::File::addDefaultDirectory(_gameDataPath + "sword2/"); Common::File::addDefaultDirectory(_gameDataPath + "video/"); - _features = detector->_game.features; + if (0 == strcmp(detector->_game.gameid, "sword2demo")) + _features = GF_DEMO; + else + _features = 0; + _targetName = detector->_targetName; _bootParam = ConfMan.getInt("boot_param"); |