[Scummvm-cvs-logs] SF.net SVN: scummvm:[42920] scummvm/trunk/engines/cruise

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Thu Jul 30 13:03:16 CEST 2009


Revision: 42920
          http://scummvm.svn.sourceforge.net/scummvm/?rev=42920&view=rev
Author:   dreammaster
Date:     2009-07-30 11:03:16 +0000 (Thu, 30 Jul 2009)

Log Message:
-----------
Added the character lookup table for the Spanish font

Modified Paths:
--------------
    scummvm/trunk/engines/cruise/staticres.cpp
    scummvm/trunk/engines/cruise/staticres.h

Modified: scummvm/trunk/engines/cruise/staticres.cpp
===================================================================
--- scummvm/trunk/engines/cruise/staticres.cpp	2009-07-30 09:37:21 UTC (rev 42919)
+++ scummvm/trunk/engines/cruise/staticres.cpp	2009-07-30 11:03:16 UTC (rev 42920)
@@ -168,6 +168,59 @@
 	-1, -1, -1, -1
 };
 
+int16 spanish_fontCharacterTable[256] = {
+	-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+	-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+	-1,
+	0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
+	16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29,
+	30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43,
+	44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
+	58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71,
+	72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85,
+	86, 87, 88, 89, 90, 91, 92,
+	-1, -1, -1,
+	0x72, 0x80
+	-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+	-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+	0x7f, 0x79, 0x7b, 0x81, 0x82, 0x83,
+	-1, -1,
+	0x7d,
+	-1, -1, -1, -1,
+	0x7E,
+	-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
+	-1, -1, -1, -1, -1, -1,
+	0x6A, 0x69,
+	-1, -1, -1, -1,
+	0x6B, 0x6C,
+	-1, -1,
+	0x6D, 0x6E,
+	-1, -1, -1, -1, -1, -1,
+	0x6F,
+	-1,
+	0x70,
+	-1, -1,
+	0x71, 0x72,
+	-1, -1,
+	0x74, 0x5D,
+	-1,
+	0x76,
+	-1,
+	0x5E,
+	-1,
+	0x75, 0x73, 0x60, 0x5F, 0x61, 0x62, 0x79, 0x78, 0x63, 0x64,
+	-1, -1,
+	0x7B, 0x7A,
+	0x65,
+	-1,
+	0x66,
+	-1, -1,
+	0x67,
+	-1,
+	0x68,
+	-1, -1, -1, -1
+};
+
 //
 // Mouse data
 //

Modified: scummvm/trunk/engines/cruise/staticres.h
===================================================================
--- scummvm/trunk/engines/cruise/staticres.h	2009-07-30 09:37:21 UTC (rev 42919)
+++ scummvm/trunk/engines/cruise/staticres.h	2009-07-30 11:03:16 UTC (rev 42920)
@@ -41,9 +41,11 @@
 
 extern short int english_fontCharacterTable[256];
 extern short int german_fontCharacterTable[256];
+extern short int spanish_fontCharacterTable[256];
 
 #define fontCharacterTable (_vm->getLanguage() == Common::DE_DEU ? \
-	german_fontCharacterTable : english_fontCharacterTable)
+	german_fontCharacterTable : (_vm->getLanguage() == Common::ES_ESP ? \
+	spanish_fontCharacterTable : english_fontCharacterTable))
 
 // Mouse cursor data
 extern const byte mouseCursorNormal[];


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list