From 9cde2621920b456fe2a2403b04af820700bf5072 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Fri, 18 Nov 2005 00:59:47 +0000 Subject: [PATCH] Add Polish version of Simon the Sorcerer 2 (Windows). svn-id: r19634 --- common/util.cpp | 1 + common/util.h | 3 ++- simon/game.cpp | 19 +++++++++++++++++++ simon/intern.h | 1 + 4 files changed, 23 insertions(+), 1 deletion(-) diff --git a/common/util.cpp b/common/util.cpp index 4196bd929b7..03c98658592 100644 --- a/common/util.cpp +++ b/common/util.cpp @@ -125,6 +125,7 @@ const LanguageDescription g_languages[] = { {"cz", "Czech", CZ_CZE}, {"nl", "Dutch", NL_NLD}, {"nb", "Norwegian Bokm\xE5l", NB_NOR}, + {"pl", "Polish", PL_POL}, {0, 0, UNK_LANG} }; diff --git a/common/util.h b/common/util.h index dca373ad663..762811a4eb6 100644 --- a/common/util.h +++ b/common/util.h @@ -106,7 +106,8 @@ enum Language { RU_RUS = 21, CZ_CZE = 22, NL_NLD = 23, - NB_NOR = 24 + NB_NOR = 24, + PL_POL = 25 }; struct LanguageDescription { diff --git a/simon/game.cpp b/simon/game.cpp index 83ed5a2c90e..bb2bfa79de0 100644 --- a/simon/game.cpp +++ b/simon/game.cpp @@ -195,6 +195,12 @@ static GameMD5 gameMD5[] = { { GID_SIMON2WIN_DE, "6de6292c9ac11bfb2e70fdb0f773ba85", "stripped.txt", false}, { GID_SIMON2WIN_DE, "2082f8d02075e590300478853a91ffd9", "tbllist", false}, + { GID_SIMON2WIN_PL, "657fd873f5d0637097ee02315b447e6f", "gsptr30", false }, + { GID_SIMON2WIN_PL, "72096a62d36e6034ea9fecc13b2dbdab", "icon.dat", false}, + { GID_SIMON2WIN_PL, "7b9afcf82a94722707e0d025c0192be8", "simon2.gme", false }, + { GID_SIMON2WIN_PL, "e229f84d46fa83f99b4a7115679f3fb6", "stripped.txt", false}, + { GID_SIMON2WIN_PL, "2082f8d02075e590300478853a91ffd9", "tbllist", false}, + { GID_FEEBLEFILES_2CD, "629762ea9ca9ee9ff85f4774d219f5c7", "game22", false }, { GID_FEEBLEFILES_2CD, "0bbfee8e69739111eb36b0d138da8ddf", "tbllist", false}, @@ -580,6 +586,19 @@ static GameDescription gameDescriptions[] = { Common::kPlatformWindows, }, + // Simon the Sorcerer 2 - Polish Windows CD + { + "simon2", + GType_SIMON2, + GID_SIMON2WIN_PL, + "Simon the Sorcerer 2 (Pl Windows CD)", + ARRAYSIZE(SIMON2_GameFiles), + SIMON2_GameFiles, + GF_TALKIE, + Common::PL_POL, + Common::kPlatformWindows, + }, + // The Feeble Files - English 2CD { "feeble", diff --git a/simon/intern.h b/simon/intern.h index 4e62d69544a..f00f15e5dba 100644 --- a/simon/intern.h +++ b/simon/intern.h @@ -189,6 +189,7 @@ enum GameIds { GID_SIMON2TALKIE_ES, GID_SIMON2WIN, GID_SIMON2WIN_DE, + GID_SIMON2WIN_PL, GID_FEEBLEFILES_2CD, GID_FEEBLEFILES_4CD,