[Scummvm-git-logs] scummvm master -> 049eff4d9941352446d7db417514e173801a3fb4

bonki bonki at users.noreply.github.com
Sat Feb 3 15:49:57 CET 2018


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
049eff4d99 TUCKER: Fix default character width table


Commit: 049eff4d9941352446d7db417514e173801a3fb4
    https://github.com/scummvm/scummvm/commit/049eff4d9941352446d7db417514e173801a3fb4
Author: Adrian Frühwirth (bonki at users.noreply.github.com)
Date: 2018-02-03T15:19:10+01:00

Commit Message:
TUCKER: Fix default character width table

Non-English versions of the game include a charsize.dta/charszgr.dta
which specifies the width to use when printing glyphs from the character
set to the screen. ScummVM includes a hard-coded lookup table for games
which do not ship with such a file.
For some reason, our current hard-coded table includes widths for all
possible glyphs except one. This fix allows to properly play the German
version, which needs the character 'ß' (eszett), even when charszgr.dta
is missing.

Fixes Trac#4602.

Changed paths:
    engines/tucker/staticres.cpp


diff --git a/engines/tucker/staticres.cpp b/engines/tucker/staticres.cpp
index b9f6a6e..7443a04 100644
--- a/engines/tucker/staticres.cpp
+++ b/engines/tucker/staticres.cpp
@@ -232,7 +232,7 @@ const uint8 TuckerEngine::_charWidthCharset1[224] = {
 	0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
 	0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
 	0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
-	0x07, 0x00, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
+	0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07,
 	0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07, 0x07
 };
 





More information about the Scummvm-git-logs mailing list