aboutsummaryrefslogtreecommitdiff
path: root/engines/cine
diff options
context:
space:
mode:
authorMatthew Hoops2013-05-02 18:26:58 -0400
committerMatthew Hoops2013-05-02 18:43:10 -0400
commit0031c41db855ac4bebd05ca1b2c1fa6694242979 (patch)
tree98f4e4bf20148171c3638476ed7f24a61a7a03c1 /engines/cine
parent8942a96bafaa8541383347318c19392ce949248a (diff)
downloadscummvm-rg350-0031c41db855ac4bebd05ca1b2c1fa6694242979.tar.gz
scummvm-rg350-0031c41db855ac4bebd05ca1b2c1fa6694242979.tar.bz2
scummvm-rg350-0031c41db855ac4bebd05ca1b2c1fa6694242979.zip
COMMON: Change kPlatformPC to kPlatformDOS
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows.
Diffstat (limited to 'engines/cine')
-rw-r--r--engines/cine/cine.cpp2
-rw-r--r--engines/cine/detection_tables.h30
-rw-r--r--engines/cine/part.cpp2
-rw-r--r--engines/cine/script_fw.cpp2
-rw-r--r--engines/cine/script_os.cpp2
5 files changed, 19 insertions, 19 deletions
diff --git a/engines/cine/cine.cpp b/engines/cine/cine.cpp
index aa7221f733..63092a8ffd 100644
--- a/engines/cine/cine.cpp
+++ b/engines/cine/cine.cpp
@@ -84,7 +84,7 @@ Common::Error CineEngine::run() {
// Initialize backend
initGraphics(320, 200, false);
- if (getPlatform() == Common::kPlatformPC) {
+ if (getPlatform() == Common::kPlatformDOS) {
g_sound = new PCSound(_mixer, this);
} else {
// Paula chipset for Amiga and Atari versions
diff --git a/engines/cine/detection_tables.h b/engines/cine/detection_tables.h
index bf02f0519c..224ebe5de2 100644
--- a/engines/cine/detection_tables.h
+++ b/engines/cine/detection_tables.h
@@ -29,7 +29,7 @@ static const CINEGameDescription gameDescriptions[] = {
"",
AD_ENTRY1("part01", "61d003202d301c29dd399acfb1354310"),
Common::EN_ANY,
- Common::kPlatformPC,
+ Common::kPlatformDOS,
ADGF_NO_FLAGS,
GUIO0()
},
@@ -49,7 +49,7 @@ static const CINEGameDescription gameDescriptions[] = {
{ NULL, 0, NULL, 0}
},
Common::EN_USA,
- Common::kPlatformPC,
+ Common::kPlatformDOS,
ADGF_CD,
GUIO0()
},
@@ -64,7 +64,7 @@ static const CINEGameDescription gameDescriptions[] = {
"",
AD_ENTRY1("part01", "91d7271155520eae6915a9dd2dac120c"),
Common::EN_ANY,
- Common::kPlatformPC,
+ Common::kPlatformDOS,
ADGF_NO_FLAGS,
GUIO0()
},
@@ -78,7 +78,7 @@ static const CINEGameDescription gameDescriptions[] = {
"",
AD_ENTRY1("part01", "f5e98fcca3fb5e7afa284c81c39d8b14"),
Common::DE_DEU,
- Common::kPlatformPC,
+ Common::kPlatformDOS,
ADGF_NO_FLAGS,
GUIO0()
},
@@ -92,7 +92,7 @@ static const CINEGameDescription gameDescriptions[] = {
"",
AD_ENTRY1("part01", "570109f965c7f53984b98c83d86eb206"),
Common::ES_ESP,
- Common::kPlatformPC,
+ Common::kPlatformDOS,
ADGF_NO_FLAGS,
GUIO0()
},
@@ -106,7 +106,7 @@ static const CINEGameDescription gameDescriptions[] = {
"",
AD_ENTRY1("part01", "5d1acb97abe9591f9008e00d07add95a"),
Common::FR_FRA,
- Common::kPlatformPC,
+ Common::kPlatformDOS,
ADGF_NO_FLAGS,
GUIO0()
},
@@ -250,7 +250,7 @@ static const CINEGameDescription gameDescriptions[] = {
"256 colors",
AD_ENTRY1("procs00", "d6752e7d25924cb866b61eb7cb0c8b56"),
Common::EN_GRB,
- Common::kPlatformPC,
+ Common::kPlatformDOS,
ADGF_UNSTABLE,
GUIO0()
},
@@ -266,7 +266,7 @@ static const CINEGameDescription gameDescriptions[] = {
"",
AD_ENTRY1("procs1", "9629129b86979fa592c1787385bf3695"),
Common::EN_GRB,
- Common::kPlatformPC,
+ Common::kPlatformDOS,
ADGF_UNSTABLE,
GUIO0()
},
@@ -280,7 +280,7 @@ static const CINEGameDescription gameDescriptions[] = {
"",
AD_ENTRY1("procs1", "d8c3a9d05a63e4cfa801826a7063a126"),
Common::EN_USA,
- Common::kPlatformPC,
+ Common::kPlatformDOS,
ADGF_UNSTABLE,
GUIO0()
},
@@ -294,7 +294,7 @@ static const CINEGameDescription gameDescriptions[] = {
"256 colors",
AD_ENTRY1("procs00", "862a75d76fb7fffec30e52be9ad1c474"),
Common::EN_USA,
- Common::kPlatformPC,
+ Common::kPlatformDOS,
ADGF_UNSTABLE,
GUIO0()
},
@@ -308,7 +308,7 @@ static const CINEGameDescription gameDescriptions[] = {
"",
AD_ENTRY1("procs1", "39b91ae35d1297ce0a76a1a803ca1593"),
Common::DE_DEU,
- Common::kPlatformPC,
+ Common::kPlatformDOS,
ADGF_UNSTABLE,
GUIO0()
},
@@ -322,7 +322,7 @@ static const CINEGameDescription gameDescriptions[] = {
"",
AD_ENTRY1("procs1", "74c2dabd9d212525fca8875a5f6d8994"),
Common::ES_ESP,
- Common::kPlatformPC,
+ Common::kPlatformDOS,
ADGF_UNSTABLE,
GUIO0()
},
@@ -340,7 +340,7 @@ static const CINEGameDescription gameDescriptions[] = {
{ NULL, 0, NULL, 0}
},
Common::ES_ESP,
- Common::kPlatformPC,
+ Common::kPlatformDOS,
ADGF_UNSTABLE,
GUIO0()
},
@@ -354,7 +354,7 @@ static const CINEGameDescription gameDescriptions[] = {
"256 colors",
AD_ENTRY1("procs00", "f143567f08cfd1a9b1c9a41c89eadfef"),
Common::FR_FRA,
- Common::kPlatformPC,
+ Common::kPlatformDOS,
ADGF_UNSTABLE,
GUIO0()
},
@@ -368,7 +368,7 @@ static const CINEGameDescription gameDescriptions[] = {
"",
AD_ENTRY1("procs1", "da066e6b8dd93f2502c2a3755f08dc12"),
Common::IT_ITA,
- Common::kPlatformPC,
+ Common::kPlatformDOS,
ADGF_UNSTABLE,
GUIO0()
},
diff --git a/engines/cine/part.cpp b/engines/cine/part.cpp
index 813cbe50af..7c0ba3af0a 100644
--- a/engines/cine/part.cpp
+++ b/engines/cine/part.cpp
@@ -57,7 +57,7 @@ void loadPart(const char *partName) {
g_cine->_partFileHandle.readUint32BE(); // unused
}
- if (g_cine->getGameType() == Cine::GType_FW && g_cine->getPlatform() == Common::kPlatformPC && strcmp(partName, "BASESON.SND") != 0)
+ if (g_cine->getGameType() == Cine::GType_FW && g_cine->getPlatform() == Common::kPlatformDOS && strcmp(partName, "BASESON.SND") != 0)
loadPal(partName);
}
diff --git a/engines/cine/script_fw.cpp b/engines/cine/script_fw.cpp
index 209cda72b6..176380c14f 100644
--- a/engines/cine/script_fw.cpp
+++ b/engines/cine/script_fw.cpp
@@ -1868,7 +1868,7 @@ int FWScript::o1_playSampleSwapped() {
// since the only stereo output it supports should be the Roland MT-32.
// So it probably does the same as o1_playSample here. Checking this will
// be a good idea never the less.
- if (g_cine->getPlatform() == Common::kPlatformPC) {
+ if (g_cine->getPlatform() == Common::kPlatformDOS) {
return o1_playSample();
}
diff --git a/engines/cine/script_os.cpp b/engines/cine/script_os.cpp
index b452d9a8ee..84bb484369 100644
--- a/engines/cine/script_os.cpp
+++ b/engines/cine/script_os.cpp
@@ -421,7 +421,7 @@ int FWScript::o2_playSampleAlt() {
size = g_cine->_animDataTable[num]._width * g_cine->_animDataTable[num]._height;
}
if (g_cine->_animDataTable[num].data()) {
- if (g_cine->getPlatform() == Common::kPlatformPC) {
+ if (g_cine->getPlatform() == Common::kPlatformDOS) {
// if speaker output is available, play sound on it
// if it's another device, don't play anything
// TODO: implement this, it's used in the introduction for example