[Tux4kids-commits] r236 - in tuxtype/trunk: . tuxtype

dbruce-guest at alioth.debian.org dbruce-guest at alioth.debian.org
Wed Sep 12 01:21:23 UTC 2007


Author: dbruce-guest
Date: 2007-09-12 01:21:23 +0000 (Wed, 12 Sep 2007)
New Revision: 236

Modified:
   tuxtype/trunk/AUTHORS
   tuxtype/trunk/ChangeLog
   tuxtype/trunk/tuxtype/alphabet.c
   tuxtype/trunk/tuxtype/globals.h
   tuxtype/trunk/tuxtype/laser.c
   tuxtype/trunk/tuxtype/playgame.c
   tuxtype/trunk/tuxtype/titlescreen.c
Log:
Corrected AUTHORS and ChangeLog to reflect contributions of Mobin and rest of TuxType-Indic team.


Modified: tuxtype/trunk/AUTHORS
===================================================================
--- tuxtype/trunk/AUTHORS	2007-09-09 00:59:31 UTC (rev 235)
+++ tuxtype/trunk/AUTHORS	2007-09-12 01:21:23 UTC (rev 236)
@@ -5,6 +5,11 @@
 Calvin Arndt <calarndt at tux4kids.org>
 Sam Hart <hart at geekcomix.com>  --- Sam started it all with TuxType 1!!!
 Jacob Greig <bombastic at firstlinux.net>
+Sreyas Kurumanghat <k.sreyas at gmail.com>
+Sreerenj Balachandran <bsreerenj at gmail.com>
+Vimal Ravi <vimal_ravi at rediff.com>
+Prince K. Antony <prince.kantony at gmail.com>
+Mobin Mohan <mobinmohan at gmail.com>
 
 Packaging & Ports:
 ------------------
@@ -24,8 +29,12 @@
 Martin Rioux <riomar2000 at hotmail.com> - (for French translation in TuxType 1)
 Karl Ove Hufthammer <karl at huftis.org> - (for Norwegian Nynorsk translation work for Tuxtype 2)
 Trond Mæhlum <trondm at skolelinux.no> - (for Norwegian Bokmål translation work for Tuxtype 2)
+Sreyas Kurumanghat <k.sreyas at gmail.com> - (for Indic language support)
+Sreerenj Balachandran <bsreerenj at gmail.com> - (for Indic language support)
+Vimal Ravi <vimal_ravi at rediff.com> - (for Indic language support)
+Prince K. Antony <prince.kantony at gmail.com> - (for Indic language support)
+Mobin Mohan <mobinmohan at gmail.com> - (for Indic language support)
 
-
 Note: ConvertUTF.c/.h are from Unicode, Inc. and are released under a very free (BSD-like) license:
 
    "Unicode, Inc. hereby grants the right to freely use the information

Modified: tuxtype/trunk/ChangeLog
===================================================================
--- tuxtype/trunk/ChangeLog	2007-09-09 00:59:31 UTC (rev 235)
+++ tuxtype/trunk/ChangeLog	2007-09-12 01:21:23 UTC (rev 236)
@@ -1,3 +1,26 @@
+
+May-Sep 2007
+Tux Type Indic Team:
+[ Sreyas Kurumanghat <k.sreyas at gmail.com> ]
+[ Sreerenj Balachandran <bsreerenj at gmail.com> ]
+[ Vimal Ravi <vimal_ravi at rediff.com> ]
+[ Prince K. Antony <prince.kantony at gmail.com> ]
+[ Mobin Mohan <mobinmohan at gmail.com> ]
+
+       - added libSDLPango to handle complex rendering issues related with 
+         Indic languages. This will eventually allow support of any of the
+         world's major  languages.
+       - added an Indic language theme, Malayalam, which also contains a 
+         lesson area.
+       - new format of keyboard.lst for malayalam theme (now added to other
+         themes too.
+       - created a new file named practice.txt which contains the strings to
+         display in the practice session. Also did a major role in adding 
+         Unicode support in the practice area.
+       - removed old keymap that was limited to Unicode chars 0-255 (now
+         replaced by a scheme that can support any chars in Unicode).
+       - added series of XML lessons for Malayalam theme.
+
 v 1.5.13
 08 Sep 2007
 [ David Bruce <dbruce at tampabay.rr.com> ]
@@ -52,7 +75,7 @@
        - program now looks for a settings file under the theme dir
          when a theme is selected, allowing themes to specify a 
          preferred font (or other settings).
-       - Incorporated most of changes from tuxtype-Indic branch.
+       - Incorporated most of changes from TuxType-Indic branch.
          Program will now require SDLPango (as well as pango itself
          and glib) - for now, pango-related code #ifndef-ed out for
          win32 until I figure out how to get Windows build to work.

Modified: tuxtype/trunk/tuxtype/alphabet.c
===================================================================
--- tuxtype/trunk/tuxtype/alphabet.c	2007-09-09 00:59:31 UTC (rev 235)
+++ tuxtype/trunk/tuxtype/alphabet.c	2007-09-12 01:21:23 UTC (rev 236)
@@ -595,7 +595,8 @@
 	/* This totally mucks up i18n abilities :( */
 	for (i=65; i<90; i++) 
 	{
-		if (ALPHABET[i]) {
+		//if (ALPHABET[i])
+                {
 			word_list[num_words][0] = (unsigned char)i;
 			word_list[num_words][1] = '\0';
 			num_words++;

Modified: tuxtype/trunk/tuxtype/globals.h
===================================================================
--- tuxtype/trunk/tuxtype/globals.h	2007-09-09 00:59:31 UTC (rev 235)
+++ tuxtype/trunk/tuxtype/globals.h	2007-09-12 01:21:23 UTC (rev 236)
@@ -154,7 +154,7 @@
 /* Limits on word list size, word length, and on the number of distinct characters */
 /* that can be present within a word list: */
 #define MAX_NUM_WORDS   500
-#define MAX_WORD_SIZE   8
+#define MAX_WORD_SIZE   12
 #define MAX_UNICODES    1024
 
 #define WAIT_MS		2500

Modified: tuxtype/trunk/tuxtype/laser.c
===================================================================
--- tuxtype/trunk/tuxtype/laser.c	2007-09-09 00:59:31 UTC (rev 235)
+++ tuxtype/trunk/tuxtype/laser.c	2007-09-12 01:21:23 UTC (rev 236)
@@ -62,6 +62,8 @@
 
 /* --- MAIN GAME FUNCTION!!! --- */
 
+/* TODO modify game to allow longer words (12 chars or so) */
+
 int PlayLaserGame(int diff_level)
 {
 	int i, img, done, quit, frame, lowest, lowest_y, 

Modified: tuxtype/trunk/tuxtype/playgame.c
===================================================================
--- tuxtype/trunk/tuxtype/playgame.c	2007-09-09 00:59:31 UTC (rev 235)
+++ tuxtype/trunk/tuxtype/playgame.c	2007-09-12 01:21:23 UTC (rev 236)
@@ -146,6 +146,7 @@
 	{
           fprintf(stderr, "PlayCascade() - did not find all needed characters in theme's "
                           "keyboard.lst file - returning to menu!\n\n\n");
+          FreeGame();
           return 0;
 	}
 
@@ -1243,6 +1244,12 @@
 
 	new_word = GetWord();
 
+	if (!new_word)
+	{
+	  fprintf(stderr, "SpawnFishies() - could not get word - returning.\n");
+          return;
+	}
+
 	/* If we get to here, it should be OK to actually spawn the fishy: */
 	fish_object[*fishies].word = new_word;
         fish_object[*fishies].len = wcslen(new_word);

Modified: tuxtype/trunk/tuxtype/titlescreen.c
===================================================================
--- tuxtype/trunk/tuxtype/titlescreen.c	2007-09-09 00:59:31 UTC (rev 235)
+++ tuxtype/trunk/tuxtype/titlescreen.c	2007-09-12 01:21:23 UTC (rev 236)
@@ -1257,6 +1257,8 @@
 
   DEBUGCODE { fprintf(stderr, "wordPath is: %s\n", wordPath); }
 
+
+  /* FIXME looks like a place for scandir() - or our own w32_scandir() */
   /* create a list of all the .txt files */
 
   wordsDir = opendir( wordPath );	




More information about the Tux4kids-commits mailing list