aboutsummaryrefslogtreecommitdiff
path: root/scumm/vars.cpp
diff options
context:
space:
mode:
authorMax Horn2005-04-20 18:21:30 +0000
committerMax Horn2005-04-20 18:21:30 +0000
commitc46ea8bc407e60224500e6d6efa08d2ddd6f318e (patch)
tree4800c3beb69f0bfe6d1c6f456e8f5ea58780b6f6 /scumm/vars.cpp
parenta18d4d5c2f6dbc985c5b3628228bb6078cf781bb (diff)
downloadscummvm-rg350-c46ea8bc407e60224500e6d6efa08d2ddd6f318e.tar.gz
scummvm-rg350-c46ea8bc407e60224500e6d6efa08d2ddd6f318e.tar.bz2
scummvm-rg350-c46ea8bc407e60224500e6d6efa08d2ddd6f318e.zip
Replaced the platform specific GF_FOO switches (using _platform instead now)
svn-id: r17716
Diffstat (limited to 'scumm/vars.cpp')
-rw-r--r--scumm/vars.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/scumm/vars.cpp b/scumm/vars.cpp
index 46793a2053..b55325b7e1 100644
--- a/scumm/vars.cpp
+++ b/scumm/vars.cpp
@@ -541,7 +541,7 @@ void ScummEngine::initScummVars() {
case MD_ADLIB: VAR(VAR_SOUNDCARD) = 3; break;
default:
if ((_gameId == GID_MONKEY_EGA || _gameId == GID_MONKEY_VGA || _gameId == GID_LOOM)
- && (_features & GF_PC)) {
+ && (_platform == Common::kPlatformPC)) {
if (_gameId == GID_LOOM) {
char buf[50];
File f;
@@ -574,11 +574,11 @@ void ScummEngine::initScummVars() {
VAR(VAR_SOUNDPARAM3) = 0;
}
- if (_features & GF_FMTOWNS)
+ if (_platform == Common::kPlatformFMTowns)
VAR(VAR_VIDEOMODE) = 42;
- else if (_gameId == GID_INDY3 && (_features & GF_MACINTOSH))
+ else if (_gameId == GID_INDY3 && (_platform == Common::kPlatformMacintosh))
VAR(VAR_VIDEOMODE) = 50;
- else if (_gameId == GID_MONKEY2 && (_features & GF_AMIGA))
+ else if (_gameId == GID_MONKEY2 && (_platform == Common::kPlatformAmiga))
VAR(VAR_VIDEOMODE) = 82;
else if (_renderMode == Common::kRenderCGA)
VAR(VAR_VIDEOMODE) = 4;
@@ -591,7 +591,7 @@ void ScummEngine::initScummVars() {
VAR(VAR_CURRENTDRIVE) = 0;
if (_gameId == GID_LOOM && (_features & GF_OLD_BUNDLE)) {
- if (_features & GF_MACINTOSH) {
+ if (_platform == Common::kPlatformMacintosh) {
// This is the for the Mac version of Indy3/Loom
VAR(39) = 320;
} else {