[Tux4kids-commits] r346 - in tuxtype/trunk: . tuxtype tuxtype/docs/en

dbruce-guest at alioth.debian.org dbruce-guest at alioth.debian.org
Wed Nov 28 22:58:31 UTC 2007


Author: dbruce-guest
Date: 2007-11-28 22:58:31 +0000 (Wed, 28 Nov 2007)
New Revision: 346

Modified:
   tuxtype/trunk/ChangeLog
   tuxtype/trunk/README
   tuxtype/trunk/tuxtype/docs/en/howtotheme.html
   tuxtype/trunk/tuxtype/laser.c
   tuxtype/trunk/tuxtype/playgame.c
Log:
Possible bugfix for recognition of chars beyond 255 in games.


Modified: tuxtype/trunk/ChangeLog
===================================================================
--- tuxtype/trunk/ChangeLog	2007-11-26 13:11:13 UTC (rev 345)
+++ tuxtype/trunk/ChangeLog	2007-11-28 22:58:31 UTC (rev 346)
@@ -1,3 +1,9 @@
+28 Nov 2007
+[ David Bruce <dbruce at tampabay.rr.com> ]
+       - Corrected Russian keyboard.lst.
+       - Possible bugfix that may have prevented recognition of chars
+         beyond 255 in cascade and comet zap games.
+
 19 Nov 2007
 [ David Bruce <dbruce at tampabay.rr.com> ]
        - added Wolof theme by Issa Dominique Rochefort.

Modified: tuxtype/trunk/README
===================================================================
--- tuxtype/trunk/README	2007-11-26 13:11:13 UTC (rev 345)
+++ tuxtype/trunk/README	2007-11-28 22:58:31 UTC (rev 346)
@@ -5,9 +5,14 @@
 (To install the game on your system, please read the INSTALL file.)
 
     If you are interested in Translation/moving this game to another 
-    language, please send a mail to Holger Levsen <debian at layer-acht.org>
-    or to tuxmath-devel at lists.sourceforge.net.
+    language, please send a mail to David Bruce <dbruce at tampabay.rr.com>, 
+    Holger Levsen <debian at layer-acht.org>,  or to:
 
+    <tux4kids-tuxtype-dev at lists.alioth.debian.org>
+
+    Additional information on this subject is covered in "HowToTheme.html"
+    in the "docs" directory of this package.
+
 This is version 1.5.15 of Tux Typing.
 
 In Fish Cascade you control Tux as he searches for fish to eat. Fish fall

Modified: tuxtype/trunk/tuxtype/docs/en/howtotheme.html
===================================================================
--- tuxtype/trunk/tuxtype/docs/en/howtotheme.html	2007-11-26 13:11:13 UTC (rev 345)
+++ tuxtype/trunk/tuxtype/docs/en/howtotheme.html	2007-11-28 22:58:31 UTC (rev 346)
@@ -62,7 +62,7 @@
 </pre>
 </td></tr></table></center>
 
-<p>This files is your your standard "gettext" type .po file.  It is comprised of a sequence of msgid & msgstr pairs.  The msgid is the string of words in English, what you will need to do is after edit each msgstr in the file so it corresponds to the msgid right about it.  If your language uses non-Western Unicode characters, be sure to use a UTF-8 encoding for this file!
+<p>This file is your your standard "gettext" type .po file.  It is comprised of a sequence of msgid & msgstr pairs.  The msgid is the string of words in English, what you will need to do is after edit each msgstr in the file so it corresponds to the msgid right about it.  If your language uses non-Western Unicode characters, be sure to use a UTF-8 encoding for this file!
 
 <center><table bgcolor="#ccccff" width="75%" border=1 cellpadding=4><tr><td> 
 For instance my <b>data/themes/french/lang.po</b> has the following lines:

Modified: tuxtype/trunk/tuxtype/laser.c
===================================================================
--- tuxtype/trunk/tuxtype/laser.c	2007-11-26 13:11:13 UTC (rev 345)
+++ tuxtype/trunk/tuxtype/laser.c	2007-11-28 22:58:31 UTC (rev 346)
@@ -184,9 +184,9 @@
 				if (level_start_wait > 0) 
 					key = SDLK_UNKNOWN;
 				
+				key_unicode = event.key.keysym.unicode;
+				//key_unicode = event.key.keysym.unicode & 0xff;
 
-				key_unicode = event.key.keysym.unicode & 0xff;
-
 				DEBUGCODE
 				{
 				  fprintf(stderr, "key_unicode = %d\n", key_unicode);

Modified: tuxtype/trunk/tuxtype/playgame.c
===================================================================
--- tuxtype/trunk/tuxtype/playgame.c	2007-11-26 13:11:13 UTC (rev 345)
+++ tuxtype/trunk/tuxtype/playgame.c	2007-11-28 22:58:31 UTC (rev 346)
@@ -259,8 +259,8 @@
 						DrawBackground();
 					}
 
-
-					key_unicode = event.key.keysym.unicode & 0xff;
+					key_unicode = event.key.keysym.unicode;
+					//key_unicode = event.key.keysym.unicode & 0xff;
 					/* For now, tuxtype is case-insensitive for input, */
                                         /* with only uppercase for answers:                */
 					DEBUGCODE




More information about the Tux4kids-commits mailing list