aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/staticres.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2006-05-04 11:19:48 +0000
committerJohannes Schickel2006-05-04 11:19:48 +0000
commit40189ab7e6aa58a24b3c4efa6099c4ef3ebf7047 (patch)
tree88fda8200b8f946c232c142867a125d931a12323 /engines/kyra/staticres.cpp
parenta33997a3e9e148ac60d964a24113ccc0618e93c5 (diff)
downloadscummvm-rg350-40189ab7e6aa58a24b3c4efa6099c4ef3ebf7047.tar.gz
scummvm-rg350-40189ab7e6aa58a24b3c4efa6099c4ef3ebf7047.tar.bz2
scummvm-rg350-40189ab7e6aa58a24b3c4efa6099c4ef3ebf7047.zip
Adds (partial) support for italian floppy. (still hardcoded strings are missing) (Bug # 1409244 ("KYRA: GFX problems with ITALIAN floppy")).
svn-id: r22333
Diffstat (limited to 'engines/kyra/staticres.cpp')
-rw-r--r--engines/kyra/staticres.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/kyra/staticres.cpp b/engines/kyra/staticres.cpp
index 56cb68e3e3..ffaf97a602 100644
--- a/engines/kyra/staticres.cpp
+++ b/engines/kyra/staticres.cpp
@@ -43,6 +43,7 @@ static LanguageTypes languages[] = {
{ GF_FRENCH, "FRE" },
{ GF_GERMAN, "GER" },
{ GF_SPANISH, "SPA" },
+ { GF_ITALIAN, "ITA" },
{ 0, 0 }
};
@@ -752,16 +753,18 @@ void KyraEngine::loadButtonShapes() {
void KyraEngine::loadMainScreen(int page) {
_screen->clearPage(page);
- if ((_features & GF_ENGLISH) && (_features & GF_TALKIE))
+ if ((_features & GF_ENGLISH) && (_features & GF_FLOPPY))
+ loadBitmap("MAIN15.CPS", page, page, 0);
+ else if ((_features & GF_ENGLISH) && (_features & GF_TALKIE))
loadBitmap("MAIN_ENG.CPS", page, page, 0);
else if(_features & GF_FRENCH)
loadBitmap("MAIN_FRE.CPS", page, page, 0);
else if(_features & GF_GERMAN)
loadBitmap("MAIN_GER.CPS", page, page, 0);
- else if ((_features & GF_ENGLISH) && (_features & GF_FLOPPY))
- loadBitmap("MAIN15.CPS", page, page, 0);
else if (_features & GF_SPANISH)
loadBitmap("MAIN_SPA.CPS", page, page, 0);
+ else if (_features & GF_ITALIAN)
+ loadBitmap("MAIN_ITA.CPS", page, page, 0);
else
warning("no main graphics file found");