diff options
Diffstat (limited to 'engines/kyra')
-rw-r--r-- | engines/kyra/detection_tables.h | 166 | ||||
-rw-r--r-- | engines/kyra/gui_lol.cpp | 4 | ||||
-rw-r--r-- | engines/kyra/kyra_hof.cpp | 6 | ||||
-rw-r--r-- | engines/kyra/lol.cpp | 2 | ||||
-rw-r--r-- | engines/kyra/scene_hof.cpp | 2 | ||||
-rw-r--r-- | engines/kyra/script_hof.cpp | 2 | ||||
-rw-r--r-- | engines/kyra/sequences_hof.cpp | 2 | ||||
-rw-r--r-- | engines/kyra/sequences_lok.cpp | 2 | ||||
-rw-r--r-- | engines/kyra/sound.cpp | 2 | ||||
-rw-r--r-- | engines/kyra/sound_lol.cpp | 6 | ||||
-rw-r--r-- | engines/kyra/staticres.cpp | 8 | ||||
-rw-r--r-- | engines/kyra/staticres_lol.cpp | 2 | ||||
-rw-r--r-- | engines/kyra/text_hof.cpp | 2 |
13 files changed, 103 insertions, 103 deletions
diff --git a/engines/kyra/detection_tables.h b/engines/kyra/detection_tables.h index 5c2b8fe1e8..f59d173fe6 100644 --- a/engines/kyra/detection_tables.h +++ b/engines/kyra/detection_tables.h @@ -78,7 +78,7 @@ const KYRAGameDescription adGameDescs[] = { 0, AD_ENTRY1("DISK1.EXE", "c8641d0414d6c966d0a3dad79db07bf4"), Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO4(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK) }, @@ -91,7 +91,7 @@ const KYRAGameDescription adGameDescs[] = { 0, AD_ENTRY1("DISK1.EXE", "5d5cee4c3d0b68d586788b74243d254a"), Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO4(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK) }, @@ -105,7 +105,7 @@ const KYRAGameDescription adGameDescs[] = { "Extracted", AD_ENTRY1("GEMCUT.EMC", "3c244298395520bb62b5edfe41688879"), Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO5(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -118,7 +118,7 @@ const KYRAGameDescription adGameDescs[] = { "Extracted", AD_ENTRY1("GEMCUT.EMC", "796e44863dd22fa635b042df1bf16673"), Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO5(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -130,7 +130,7 @@ const KYRAGameDescription adGameDescs[] = { "Extracted", AD_ENTRY1("GEMCUT.EMC", "abf8eb360e79a6c2a837751fbd4d3d24"), Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO5(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -142,7 +142,7 @@ const KYRAGameDescription adGameDescs[] = { "Extracted", AD_ENTRY1("GEMCUT.EMC", "6018e1dfeaca7fe83f8d0b00eb0dd049"), Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO5(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -154,7 +154,7 @@ const KYRAGameDescription adGameDescs[] = { "Extracted", AD_ENTRY1("GEMCUT.EMC", "f0b276781f47c130f423ec9679fe9ed9"), Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO5(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -166,7 +166,7 @@ const KYRAGameDescription adGameDescs[] = { "Extracted", AD_ENTRY1("GEMCUT.EMC", "689b62b7519215c1b2571d466c95624c"), Common::RU_RUS, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO5(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -178,7 +178,7 @@ const KYRAGameDescription adGameDescs[] = { "Extracted", AD_ENTRY1("GEMCUT.EMC", "8909b41596913b3f5deaf3c9f1017b01"), Common::ES_ESP, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO5(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -190,7 +190,7 @@ const KYRAGameDescription adGameDescs[] = { "Extracted", AD_ENTRY1("GEMCUT.EMC", "747861d2a9c643c59fdab570df5b9093"), Common::ES_ESP, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO5(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -202,7 +202,7 @@ const KYRAGameDescription adGameDescs[] = { "Extracted", AD_ENTRY1("GEMCUT.EMC", "ef08c8c237ee1473fd52578303fc36df"), Common::IT_ITA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO5(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -318,7 +318,7 @@ const KYRAGameDescription adGameDescs[] = { "CD", AD_ENTRY1("GEMCUT.PAK", "fac399fe62f98671e56a005c5e94e39f"), Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_CD, GUIO4(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -330,7 +330,7 @@ const KYRAGameDescription adGameDescs[] = { "CD", AD_ENTRY1("GEMCUT.PAK", "230f54e6afc007ab4117159181a1c722"), Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_CD, GUIO4(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -342,7 +342,7 @@ const KYRAGameDescription adGameDescs[] = { "CD", AD_ENTRY1("GEMCUT.PAK", "b037c41768b652a040360ffa3556fd2a"), Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_CD, GUIO4(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -355,7 +355,7 @@ const KYRAGameDescription adGameDescs[] = { "CD", AD_ENTRY1("GEMCUT.PAK", "d8327fc4b7a72b23c900fa13aef4093a"), Common::IT_ITA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_CD, GUIO4(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -417,7 +417,7 @@ const KYRAGameDescription adGameDescs[] = { "Demo", AD_ENTRY1("DEMO1.WSA", "fb722947d94897512b13b50cc84fd648"), Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DEMO, GUIO5(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -430,7 +430,7 @@ const KYRAGameDescription adGameDescs[] = { "Demo/CD", AD_ENTRY1("INTRO.VRM", "e3045fb69b8c29db84b8fda3ccbdac54"), Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DEMO | ADGF_CD, GUIO4(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -443,7 +443,7 @@ const KYRAGameDescription adGameDescs[] = { 0, AD_ENTRY1("WESTWOOD.001", "3f52dda68c4f7696c8309038be9f4151"), Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO6(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -456,7 +456,7 @@ const KYRAGameDescription adGameDescs[] = { 0, AD_ENTRY1("WESTWOOD.001", "d787b9559afddfe058b84c0b3a787224"), Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO6(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -469,7 +469,7 @@ const KYRAGameDescription adGameDescs[] = { "Extracted", AD_ENTRY1("FATE.PAK", "1ba18be685ad8e5a0ab5d46a0ce4d345"), Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO6(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -482,7 +482,7 @@ const KYRAGameDescription adGameDescs[] = { "Extracted", AD_ENTRY1("FATE.PAK", "262fb69dd8e52e596c7aefc6456f7c1b"), Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO6(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -495,7 +495,7 @@ const KYRAGameDescription adGameDescs[] = { "Extracted", AD_ENTRY1("FATE.PAK", "f7de11506b4c8fdf64bc763206c3e4e7"), Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO6(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -508,7 +508,7 @@ const KYRAGameDescription adGameDescs[] = { "Extracted", AD_ENTRY1("FATE.PAK", "e0a70c31b022cb4bb3061890020fc27c"), Common::IT_ITA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO6(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -521,7 +521,7 @@ const KYRAGameDescription adGameDescs[] = { "Extracted", AD_ENTRY1("CH01-S00.DLG", "54b7a5a94f6e1ec91f0fb1311eec09ab"), Common::RU_RUS, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO6(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -534,7 +534,7 @@ const KYRAGameDescription adGameDescs[] = { "Extracted", AD_ENTRY1("CH01-S00.DLG", "7c36c0e63ab8c81cbb3ea58681331366"), Common::RU_RUS, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO6(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -547,7 +547,7 @@ const KYRAGameDescription adGameDescs[] = { "CD", AD_ENTRY1("FATE.PAK", "28cbad1c5bf06b2d3825ae57d760d032"), Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO5(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -559,7 +559,7 @@ const KYRAGameDescription adGameDescs[] = { "CD", AD_ENTRY1("FATE.PAK", "28cbad1c5bf06b2d3825ae57d760d032"), Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO5(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -571,7 +571,7 @@ const KYRAGameDescription adGameDescs[] = { "CD", AD_ENTRY1("FATE.PAK", "28cbad1c5bf06b2d3825ae57d760d032"), Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO5(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -585,7 +585,7 @@ const KYRAGameDescription adGameDescs[] = { "CD", AD_ENTRY1("FATE.PAK", "30487f3b8d7790c7857f4769ff2dd125"), Common::IT_ITA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO5(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -597,7 +597,7 @@ const KYRAGameDescription adGameDescs[] = { "CD", AD_ENTRY1("FATE.PAK", "30487f3b8d7790c7857f4769ff2dd125"), Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO5(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -609,7 +609,7 @@ const KYRAGameDescription adGameDescs[] = { "CD", AD_ENTRY1("FATE.PAK", "30487f3b8d7790c7857f4769ff2dd125"), Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO5(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -622,7 +622,7 @@ const KYRAGameDescription adGameDescs[] = { "CD", AD_ENTRY1("FATE.PAK", "39772ff82e42c4c520050518deb82e64"), Common::IT_ITA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO5(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -635,7 +635,7 @@ const KYRAGameDescription adGameDescs[] = { "CD", AD_ENTRY1("FATE.PAK", "39772ff82e42c4c520050518deb82e64"), Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO5(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -648,7 +648,7 @@ const KYRAGameDescription adGameDescs[] = { "CD", AD_ENTRY1("FATE.PAK", "39772ff82e42c4c520050518deb82e64"), Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO5(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -662,7 +662,7 @@ const KYRAGameDescription adGameDescs[] = { "CD", AD_ENTRY1("FERRY.CPS", "763e2103858347d4ffffc329910d323f"), Common::RU_RUS, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO5(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -675,7 +675,7 @@ const KYRAGameDescription adGameDescs[] = { "CD/Demo", AD_ENTRY1("THANKS.CPS", "b1a78d990b120bb2234b7094f74e30a5"), Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD | ADGF_DEMO, GUIO5(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -688,7 +688,7 @@ const KYRAGameDescription adGameDescs[] = { "CD/Demo", AD_ENTRY1("THANKS.CPS", "b1a78d990b120bb2234b7094f74e30a5"), Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD | ADGF_DEMO, GUIO5(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -701,7 +701,7 @@ const KYRAGameDescription adGameDescs[] = { "CD/Demo", AD_ENTRY1("THANKS.CPS", "b1a78d990b120bb2234b7094f74e30a5"), Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD | ADGF_DEMO, GUIO5(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -714,7 +714,7 @@ const KYRAGameDescription adGameDescs[] = { "Demo", AD_ENTRY1("VOC.PAK", "ecb3561b63749158172bf21528cf5f45"), Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DEMO, GUIO5(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -783,7 +783,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE, GUIO5(GUIO_NOMIDI, GUIO_RENDERVGA, GAMEOPTION_KYRA3_AUDIENCE, GAMEOPTION_KYRA3_SKIP, GAMEOPTION_KYRA3_HELIUM) }, @@ -799,7 +799,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE, GUIO5(GUIO_NOMIDI, GUIO_RENDERVGA, GAMEOPTION_KYRA3_AUDIENCE, GAMEOPTION_KYRA3_SKIP, GAMEOPTION_KYRA3_HELIUM) }, @@ -815,7 +815,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE, GUIO5(GUIO_NOMIDI, GUIO_RENDERVGA, GAMEOPTION_KYRA3_AUDIENCE, GAMEOPTION_KYRA3_SKIP, GAMEOPTION_KYRA3_HELIUM) }, @@ -833,7 +833,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE, GUIO5(GUIO_NOMIDI, GUIO_RENDERVGA, GAMEOPTION_KYRA3_AUDIENCE, GAMEOPTION_KYRA3_SKIP, GAMEOPTION_KYRA3_HELIUM) }, @@ -849,7 +849,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE, GUIO5(GUIO_NOMIDI, GUIO_RENDERVGA, GAMEOPTION_KYRA3_AUDIENCE, GAMEOPTION_KYRA3_SKIP, GAMEOPTION_KYRA3_HELIUM) }, @@ -865,7 +865,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE, GUIO5(GUIO_NOMIDI, GUIO_RENDERVGA, GAMEOPTION_KYRA3_AUDIENCE, GAMEOPTION_KYRA3_SKIP, GAMEOPTION_KYRA3_HELIUM) }, @@ -933,7 +933,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::ES_ESP, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE, GUIO5(GUIO_NOMIDI, GUIO_RENDERVGA, GAMEOPTION_KYRA3_AUDIENCE, GAMEOPTION_KYRA3_SKIP, GAMEOPTION_KYRA3_HELIUM) }, @@ -949,7 +949,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE, GUIO5(GUIO_NOMIDI, GUIO_RENDERVGA, GAMEOPTION_KYRA3_AUDIENCE, GAMEOPTION_KYRA3_SKIP, GAMEOPTION_KYRA3_HELIUM) }, @@ -965,7 +965,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE, GUIO5(GUIO_NOMIDI, GUIO_RENDERVGA, GAMEOPTION_KYRA3_AUDIENCE, GAMEOPTION_KYRA3_SKIP, GAMEOPTION_KYRA3_HELIUM) }, @@ -983,7 +983,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE, GUIO5(GUIO_NOMIDI, GUIO_RENDERVGA, GAMEOPTION_KYRA3_AUDIENCE, GAMEOPTION_KYRA3_SKIP, GAMEOPTION_KYRA3_HELIUM) }, @@ -999,7 +999,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE, GUIO5(GUIO_NOMIDI, GUIO_RENDERVGA, GAMEOPTION_KYRA3_AUDIENCE, GAMEOPTION_KYRA3_SKIP, GAMEOPTION_KYRA3_HELIUM) }, @@ -1015,7 +1015,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::IT_ITA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE, GUIO5(GUIO_NOMIDI, GUIO_RENDERVGA, GAMEOPTION_KYRA3_AUDIENCE, GAMEOPTION_KYRA3_SKIP, GAMEOPTION_KYRA3_HELIUM) }, @@ -1034,7 +1034,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO7(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1051,7 +1051,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO7(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1068,7 +1068,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO7(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1085,7 +1085,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO7(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1102,7 +1102,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO7(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1119,7 +1119,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO7(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1137,7 +1137,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO7(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1155,7 +1155,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO7(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1172,7 +1172,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::RU_RUS, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO7(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1190,7 +1190,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::IT_ITA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO7(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1207,7 +1207,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO7(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1224,7 +1224,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO7(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1241,7 +1241,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::IT_ITA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO7(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1258,7 +1258,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO7(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1275,7 +1275,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DROPLANGUAGE | ADGF_CD, GUIO7(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1291,7 +1291,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO8(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1307,7 +1307,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO8(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1323,7 +1323,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO8(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1339,7 +1339,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO8(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1356,7 +1356,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO8(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1373,7 +1373,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO8(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1390,7 +1390,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO8(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1407,7 +1407,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO8(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1424,7 +1424,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO8(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1441,7 +1441,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::FR_FRA, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO8(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1459,7 +1459,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::RU_RUS, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_NO_FLAGS, GUIO8(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GAMEOPTION_LOL_SCROLLING, GAMEOPTION_LOL_CURSORS) }, @@ -1510,7 +1510,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DEMO, GUIO5(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -1526,7 +1526,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_DEMO, GUIO5(GUIO_MIDIADLIB, GUIO_MIDIMT32, GUIO_MIDIGM, GUIO_MIDIPCSPK, GUIO_RENDERVGA) }, @@ -1544,7 +1544,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_TESTING, GUIO7(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GUIO_RENDEREGA, GUIO_RENDERCGA, GAMEOPTION_EOB_HPGRAPHS) }, @@ -1560,7 +1560,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_TESTING, GUIO7(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GUIO_RENDEREGA, GUIO_RENDERCGA, GAMEOPTION_EOB_HPGRAPHS) }, @@ -1576,7 +1576,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::EN_ANY, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_TESTING, GUIO6(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GUIO_RENDEREGA, GAMEOPTION_EOB_HPGRAPHS) }, @@ -1592,7 +1592,7 @@ const KYRAGameDescription adGameDescs[] = { { 0, 0, 0, 0 } }, Common::DE_DEU, - Common::kPlatformPC, + Common::kPlatformDOS, ADGF_TESTING, GUIO6(GUIO_NOSPEECH, GUIO_MIDIADLIB, GUIO_MIDIPCSPK, GUIO_RENDERVGA, GUIO_RENDEREGA, GAMEOPTION_EOB_HPGRAPHS) }, diff --git a/engines/kyra/gui_lol.cpp b/engines/kyra/gui_lol.cpp index b73eddbaf3..8808c313fc 100644 --- a/engines/kyra/gui_lol.cpp +++ b/engines/kyra/gui_lol.cpp @@ -373,8 +373,8 @@ void LoLEngine::gui_drawCharPortraitWithStats(int charNum) { } else { gui_drawLiveMagicBar(33, 32, _characters[charNum].magicPointsCur, 0, _characters[charNum].magicPointsMax, 5, 32, 162, 1, 0); gui_drawLiveMagicBar(39, 32, _characters[charNum].hitPointsCur, 0, _characters[charNum].hitPointsMax, 5, 32, 154, 1, 1); - _screen->printText((_flags.platform == Common::kPlatformPC && !_flags.isTalkie) ? "M" : getLangString(0x4253), 33, 1, 160, 0); - _screen->printText((_flags.platform == Common::kPlatformPC && !_flags.isTalkie) ? "H" : getLangString(0x4254), 39, 1, 152, 0); + _screen->printText((_flags.platform == Common::kPlatformDOS && !_flags.isTalkie) ? "M" : getLangString(0x4253), 33, 1, 160, 0); + _screen->printText((_flags.platform == Common::kPlatformDOS && !_flags.isTalkie) ? "H" : getLangString(0x4254), 39, 1, 152, 0); } int spellLevels = 0; diff --git a/engines/kyra/kyra_hof.cpp b/engines/kyra/kyra_hof.cpp index b180285ffc..ce9b530dbe 100644 --- a/engines/kyra/kyra_hof.cpp +++ b/engines/kyra/kyra_hof.cpp @@ -244,7 +244,7 @@ Common::Error KyraEngine_HoF::go() { // load just the pak files needed for ingame _staticres->loadStaticResourceFile(); - if (_flags.platform == Common::kPlatformPC && _flags.isTalkie) { + if (_flags.platform == Common::kPlatformDOS && _flags.isTalkie) { if (!_res->loadFileList("FILEDATA.FDT")) error("couldn't load 'FILEDATA.FDT'"); } else { @@ -990,7 +990,7 @@ void KyraEngine_HoF::loadNPCScript() { char filename[] = "_NPC.EMC"; - if (_flags.platform != Common::kPlatformPC || _flags.isTalkie) { + if (_flags.platform != Common::kPlatformDOS || _flags.isTalkie) { switch (_lang) { case 0: filename[5] = 'E'; @@ -1449,7 +1449,7 @@ void KyraEngine_HoF::snd_playSoundEffect(int track, int volume) { int16 vocIndex = (int16)READ_LE_UINT16(&_ingameSoundIndex[track * 2]); if (vocIndex != -1) { _sound->voicePlay(_ingameSoundList[vocIndex], 0, 255, 255, true); - } else if (_flags.platform == Common::kPlatformPC) { + } else if (_flags.platform == Common::kPlatformDOS) { if (_sound->getSfxType() == Sound::kMidiMT32) track = track < _mt32SfxMapSize ? _mt32SfxMap[track] - 1 : -1; else if (_sound->getSfxType() == Sound::kMidiGM) diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp index 3af65d9b7a..3695041b83 100644 --- a/engines/kyra/lol.cpp +++ b/engines/kyra/lol.cpp @@ -535,7 +535,7 @@ Common::Error LoLEngine::go() { _sound->loadSoundFile("sound.dat"); _sound->selectAudioResourceSet(kMusicIngame); - if (_flags.platform != Common::kPlatformPC) + if (_flags.platform != Common::kPlatformDOS) _sound->loadSoundFile(0); _tim = new TIMInterpreter_LoL(this, _screen, _system); diff --git a/engines/kyra/scene_hof.cpp b/engines/kyra/scene_hof.cpp index f6cd77ca89..62690c4766 100644 --- a/engines/kyra/scene_hof.cpp +++ b/engines/kyra/scene_hof.cpp @@ -437,7 +437,7 @@ void KyraEngine_HoF::startSceneScript(int unk1) { strcpy(filename, _sceneList[sceneId].filename1); strcat(filename, "."); - strcat(filename, _scriptLangExt[(_flags.platform == Common::kPlatformPC && !_flags.isTalkie) ? 0 : _lang]); + strcat(filename, _scriptLangExt[(_flags.platform == Common::kPlatformDOS && !_flags.isTalkie) ? 0 : _lang]); _res->exists(filename, true); _emc->load(filename, &_sceneScriptData, &_opcodes); diff --git a/engines/kyra/script_hof.cpp b/engines/kyra/script_hof.cpp index 5bf8f6e78d..f6fde65109 100644 --- a/engines/kyra/script_hof.cpp +++ b/engines/kyra/script_hof.cpp @@ -362,7 +362,7 @@ int KyraEngine_HoF::o2_addItemToCurScene(EMCState *script) { int KyraEngine_HoF::o2_loadSoundFile(EMCState *script) { debugC(3, kDebugLevelScriptFuncs, "KyraEngine_HoF::o2_loadSoundFile(%p) (%d)", (const void *)script, stackPos(0)); - if (_flags.platform == Common::kPlatformPC) + if (_flags.platform == Common::kPlatformDOS) snd_loadSoundFile(stackPos(0)); return 0; } diff --git a/engines/kyra/sequences_hof.cpp b/engines/kyra/sequences_hof.cpp index 5fb4e3d445..9fcce4eb55 100644 --- a/engines/kyra/sequences_hof.cpp +++ b/engines/kyra/sequences_hof.cpp @@ -1750,7 +1750,7 @@ bool SeqPlayer_HOF::countDownRunning() { #define CASE_ALT(dosCase, towns98Case)\ case dosCase:\ case towns98Case:\ - if (!((_callbackCurrentFrame == towns98Case && (_vm->gameFlags().platform == Common::kPlatformFMTowns || _vm->gameFlags().platform == Common::kPlatformPC98)) || (_callbackCurrentFrame == dosCase && _vm->gameFlags().platform == Common::kPlatformPC)))\ + if (!((_callbackCurrentFrame == towns98Case && (_vm->gameFlags().platform == Common::kPlatformFMTowns || _vm->gameFlags().platform == Common::kPlatformPC98)) || (_callbackCurrentFrame == dosCase && _vm->gameFlags().platform == Common::kPlatformDOS)))\ break; int SeqPlayer_HOF::cbHOF_westwood(WSAMovie_v2 *wsaObj, int x, int y, int frm) { diff --git a/engines/kyra/sequences_lok.cpp b/engines/kyra/sequences_lok.cpp index 994bd2ba9b..2a2f9a5493 100644 --- a/engines/kyra/sequences_lok.cpp +++ b/engines/kyra/sequences_lok.cpp @@ -250,7 +250,7 @@ bool KyraEngine_LoK::seq_introStory() { if (!textEnabled() && speechEnabled() && _flags.lang != Common::IT_ITA) return false; - if (((_flags.lang == Common::EN_ANY || _flags.lang == Common::RU_RUS) && !_flags.isTalkie && _flags.platform == Common::kPlatformPC) || _flags.platform == Common::kPlatformAmiga) + if (((_flags.lang == Common::EN_ANY || _flags.lang == Common::RU_RUS) && !_flags.isTalkie && _flags.platform == Common::kPlatformDOS) || _flags.platform == Common::kPlatformAmiga) _screen->loadBitmap("TEXT.CPS", 3, 3, &_screen->getPalette(0)); else if (_flags.lang == Common::EN_ANY || _flags.lang == Common::JA_JPN) _screen->loadBitmap("TEXT_ENG.CPS", 3, 3, &_screen->getPalette(0)); diff --git a/engines/kyra/sound.cpp b/engines/kyra/sound.cpp index 32d175bdb0..cb6faf2580 100644 --- a/engines/kyra/sound.cpp +++ b/engines/kyra/sound.cpp @@ -288,7 +288,7 @@ void KyraEngine_v1::snd_playWanderScoreViaMap(int command, int restart) { // XXX //} - if (_flags.platform == Common::kPlatformPC || _flags.platform == Common::kPlatformMacintosh) { + if (_flags.platform == Common::kPlatformDOS || _flags.platform == Common::kPlatformMacintosh) { assert(command*2+1 < _trackMapSize); if (_curMusicTheme != _trackMap[command*2]) { if (_trackMap[command*2] != -1 && _trackMap[command*2] != -2) diff --git a/engines/kyra/sound_lol.cpp b/engines/kyra/sound_lol.cpp index 48230d025c..7ac33967dd 100644 --- a/engines/kyra/sound_lol.cpp +++ b/engines/kyra/sound_lol.cpp @@ -189,7 +189,7 @@ void LoLEngine::snd_playSoundEffect(int track, int volume) { if (hasVocFile) { if (_sound->isVoicePresent(_ingameSoundList[vocIndex])) _sound->voicePlay(_ingameSoundList[vocIndex], 0, volume, priority, true); - } else if (_flags.platform == Common::kPlatformPC) { + } else if (_flags.platform == Common::kPlatformDOS) { if (_sound->getSfxType() == Sound::kMidiMT32) track = (track < _ingameMT32SoundIndexSize) ? (_ingameMT32SoundIndex[track] - 1) : -1; else if (_sound->getSfxType() == Sound::kMidiGM) @@ -247,7 +247,7 @@ void LoLEngine::snd_playQueuedEffects() { void LoLEngine::snd_loadSoundFile(int track) { if (_sound->musicEnabled()) { - if (_flags.platform == Common::kPlatformPC) { + if (_flags.platform == Common::kPlatformDOS) { int t = (track - 250) * 3; if (_curMusicFileIndex != _musicTrackMap[t] || _curMusicFileExt != (char)_musicTrackMap[t + 1]) { snd_stopMusic(); @@ -269,7 +269,7 @@ int LoLEngine::snd_playTrack(int track) { _lastMusicTrack = track; if (_sound->musicEnabled()) { - if (_flags.platform == Common::kPlatformPC) { + if (_flags.platform == Common::kPlatformDOS) { snd_loadSoundFile(track); int t = (track - 250) * 3; _sound->playTrack(_musicTrackMap[t + 2]); diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp index 57a0f8dce8..c52b0a04ad 100644 --- a/engines/kyra/staticres.cpp +++ b/engines/kyra/staticres.cpp @@ -102,7 +102,7 @@ byte getLanguageID(const GameFlags &flags) { } const IndexTable iPlatformTable[] = { - { Common::kPlatformPC, 0 }, + { Common::kPlatformDOS, 0 }, { Common::kPlatformAmiga, 1 }, { Common::kPlatformFMTowns, 2 }, { Common::kPlatformPC98, 3 }, @@ -823,7 +823,7 @@ void KyraEngine_LoK::initStaticResource() { // FIXME: It seems Kyra1 MAC CD includes AdLib and MIDI music and sfx, thus we enable // support for those for now. (Based on patch #2767489 "Support for Mac Kyrandia 1 CD" by satz). - if (_flags.platform == Common::kPlatformPC || _flags.platform == Common::kPlatformMacintosh) { + if (_flags.platform == Common::kPlatformDOS || _flags.platform == Common::kPlatformMacintosh) { SoundResourceInfo_PC resInfoIntro(soundFilesIntro, soundFilesIntroSize); SoundResourceInfo_PC resInfoIngame(soundFiles, soundFilesSize); _sound->initAudioResourceInfo(kMusicIntro, &resInfoIntro); @@ -956,7 +956,7 @@ void KyraEngine_LoK::loadButtonShapes() { void KyraEngine_LoK::loadMainScreen(int page) { _screen->clearPage(page); - if (((_flags.lang == Common::EN_ANY || _flags.lang == Common::RU_RUS) && !_flags.isTalkie && _flags.platform == Common::kPlatformPC) || _flags.platform == Common::kPlatformAmiga) + if (((_flags.lang == Common::EN_ANY || _flags.lang == Common::RU_RUS) && !_flags.isTalkie && _flags.platform == Common::kPlatformDOS) || _flags.platform == Common::kPlatformAmiga) _screen->loadBitmap("MAIN15.CPS", page, page, &_screen->getPalette(0)); else if (_flags.lang == Common::EN_ANY || _flags.lang == Common::JA_JPN || (_flags.isTalkie && _flags.lang == Common::IT_ITA)) _screen->loadBitmap("MAIN_ENG.CPS", page, page, 0); @@ -997,7 +997,7 @@ void KyraEngine_HoF::initStaticResource() { _itemAnimDefinition = _staticres->loadItemAnimDefinition(k2IngameShapeAnimData, _itemAnimDefinitionSize); // assign music data - if (_flags.platform == Common::kPlatformPC) { + if (_flags.platform == Common::kPlatformDOS) { SoundResourceInfo_PC resInfoIntro(_musicFileListIntro, _musicFileListIntroSize); SoundResourceInfo_PC resInfoIngame(_musicFileListIngame, _musicFileListIngameSize); SoundResourceInfo_PC resInfoFinale(_musicFileListFinale, _musicFileListFinaleSize); diff --git a/engines/kyra/staticres_lol.cpp b/engines/kyra/staticres_lol.cpp index a1c5ff340c..c2cdcf9f51 100644 --- a/engines/kyra/staticres_lol.cpp +++ b/engines/kyra/staticres_lol.cpp @@ -215,7 +215,7 @@ void StaticResource::freeButtonDefs(void *&ptr, int &size) { void LoLEngine::initStaticResource() { // assign music resource data. - if (_flags.platform == Common::kPlatformPC) { + if (_flags.platform == Common::kPlatformDOS) { if (_flags.isDemo) { static const char *const file[] = { "LOREDEMO" }; SoundResourceInfo_PC resInfoDemo(file, ARRAYSIZE(file)); diff --git a/engines/kyra/text_hof.cpp b/engines/kyra/text_hof.cpp index 7fa823da0f..f1933e9623 100644 --- a/engines/kyra/text_hof.cpp +++ b/engines/kyra/text_hof.cpp @@ -430,7 +430,7 @@ void KyraEngine_HoF::updateDlgBuffer() { Common::String filename = Common::String::format("CH%.02d-S%.02d.DL", _currentChapter, _npcTalkDlgIndex); const char *suffix = _flags.isTalkie ? suffixTalkie : suffixTowns; - if (_flags.platform != Common::kPlatformPC || _flags.isTalkie) + if (_flags.platform != Common::kPlatformDOS || _flags.isTalkie) filename += suffix[_lang]; else filename += 'G'; |