diff options
author | Gregory Montoir | 2008-12-16 22:05:16 +0000 |
---|---|---|
committer | Gregory Montoir | 2008-12-16 22:05:16 +0000 |
commit | f18f79ebf7bfe1a348250e545a19ba12b25c35fa (patch) | |
tree | eccfa55bed6656a69a25fb6e3b872e71053625c0 | |
parent | ee62b9c4c38c6b1f7b3f02b18555261cf6469d45 (diff) | |
download | scummvm-rg350-f18f79ebf7bfe1a348250e545a19ba12b25c35fa.tar.gz scummvm-rg350-f18f79ebf7bfe1a348250e545a19ba12b25c35fa.tar.bz2 scummvm-rg350-f18f79ebf7bfe1a348250e545a19ba12b25c35fa.zip |
added polish version as reported on tracker item #2433494, removed english charset as default
svn-id: r35401
-rw-r--r-- | engines/tucker/detection.cpp | 8 | ||||
-rw-r--r-- | engines/tucker/graphics.cpp | 12 | ||||
-rw-r--r-- | engines/tucker/graphics.h | 4 | ||||
-rw-r--r-- | engines/tucker/resource.cpp | 7 |
4 files changed, 19 insertions, 12 deletions
diff --git a/engines/tucker/detection.cpp b/engines/tucker/detection.cpp index 421d7a4615..33c2313413 100644 --- a/engines/tucker/detection.cpp +++ b/engines/tucker/detection.cpp @@ -71,6 +71,14 @@ static const Common::ADGameDescription tuckerGameDescriptions[] = { Common::kPlatformPC, Common::ADGF_NO_FLAGS }, + { + "tucker", + "", + AD_ENTRY1s("infobar.txt", "5f85285bbc23ce57cbc164021ee1f23c", 525), + Common::PL_POL, + Common::kPlatformPC, + Common::ADGF_NO_FLAGS + }, AD_TABLE_END_MARKER }; diff --git a/engines/tucker/graphics.cpp b/engines/tucker/graphics.cpp index 2b77d03ccc..abff2fb848 100644 --- a/engines/tucker/graphics.cpp +++ b/engines/tucker/graphics.cpp @@ -244,17 +244,17 @@ void Graphics::drawStringChar(uint8 *dst, uint8 chr, int pitch, uint8 chrColor, void Graphics::setCharset(CharsetType type) { switch (type) { - case kCharsetTypeEn: + case kCharsetTypeDefault: _charset.charW = 10; - _charset.charH = 8; + _charset.charH = 10; _charset.xCount = 32; - _charset.yCount = 3; + _charset.yCount = 7; break; - case kCharsetTypeFrGr: + case kCharsetTypeEng: _charset.charW = 10; - _charset.charH = 10; + _charset.charH = 8; _charset.xCount = 32; - _charset.yCount = 7; + _charset.yCount = 3; break; case kCharsetTypeCredits: _charset.charW = 19; diff --git a/engines/tucker/graphics.h b/engines/tucker/graphics.h index 7dfee58b48..bb103588f1 100644 --- a/engines/tucker/graphics.h +++ b/engines/tucker/graphics.h @@ -31,8 +31,8 @@ namespace Tucker { enum CharsetType { - kCharsetTypeEn, - kCharsetTypeFrGr, + kCharsetTypeDefault, + kCharsetTypeEng, kCharsetTypeCredits }; diff --git a/engines/tucker/resource.cpp b/engines/tucker/resource.cpp index e642555ce3..c9f73739ed 100644 --- a/engines/tucker/resource.cpp +++ b/engines/tucker/resource.cpp @@ -288,12 +288,11 @@ void TuckerEngine::loadCharset() { strcpy(_fileToLoad, "charset.pcx"); loadImage(_loadTempBuf, 0); switch (_gameLang) { - case Common::FR_FRA: - case Common::DE_DEU: - Graphics::setCharset(kCharsetTypeFrGr); + case Common::EN_ANY: + Graphics::setCharset(kCharsetTypeEng); break; default: - Graphics::setCharset(kCharsetTypeEn); + Graphics::setCharset(kCharsetTypeDefault); break; } loadCharsetHelper(); |