From 16305d3b2963d4dd8433aa9b57d61cca3663c142 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Sun, 13 Sep 2009 21:05:52 +0000 Subject: [PATCH] Preliminary support for German Kyrandia 1 Amiga. svn-id: r44071 --- engines/kyra/detection.cpp | 17 +++++++++++++++++ engines/kyra/staticres.cpp | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/engines/kyra/detection.cpp b/engines/kyra/detection.cpp index 29a80017b3d..93845c7c090 100644 --- a/engines/kyra/detection.cpp +++ b/engines/kyra/detection.cpp @@ -218,6 +218,23 @@ const KYRAGameDescription adGameDescs[] = { KYRA1_AMIGA_FLAGS }, + { + { + "kyra1", + 0, + { + { "GEMCUT.PAK", 0, "2bd1da653eaefd691e050e4a9eb68a64", -1 }, + { "GEMCUT.EMC", 0, "74f99e9ed99abf8d0429826d78485a2a", -1 }, + { NULL, 0, NULL, 0 } + }, + Common::DE_DEU, + Common::kPlatformAmiga, + ADGF_NO_FLAGS, + Common::GUIO_NOSPEECH + }, + KYRA1_AMIGA_FLAGS + }, + { { "kyra1", diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp index 2d311324f85..d8928b5dba7 100644 --- a/engines/kyra/staticres.cpp +++ b/engines/kyra/staticres.cpp @@ -1638,7 +1638,7 @@ void KyraEngine_LoK::loadButtonShapes() { void KyraEngine_LoK::loadMainScreen(int page) { _screen->clearPage(page); - if (_flags.lang == Common::EN_ANY && !_flags.isTalkie && (_flags.platform == Common::kPlatformPC || _flags.platform == Common::kPlatformAmiga)) + if ((_flags.lang == Common::EN_ANY && !_flags.isTalkie && _flags.platform == Common::kPlatformPC) || _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);