[Tux4kids-commits] r1031 - tuxmath/branches/lan/src

akash gangil gangil-guest at alioth.debian.org
Thu Jun 11 19:44:47 UTC 2009


Author: gangil-guest
Date: 2009-06-11 19:44:46 +0000 (Thu, 11 Jun 2009)
New Revision: 1031

Modified:
   tuxmath/branches/lan/src/mathcards.c
   tuxmath/branches/lan/src/titlescreen.c
Log:
temp. workaround

Modified: tuxmath/branches/lan/src/mathcards.c
===================================================================
--- tuxmath/branches/lan/src/mathcards.c	2009-06-11 18:23:34 UTC (rev 1030)
+++ tuxmath/branches/lan/src/mathcards.c	2009-06-11 19:44:46 UTC (rev 1031)
@@ -368,23 +368,23 @@
   mcdprintf("max answer, formula size: %d, %d\n",
             max_answer_size, max_formula_size);
   /* set up new list with pointer to top: */
- if(n==1)                             				//if selects server , n==1 from titlescreen.c 
-  { 
+// if(n==1)                             				//if selects server , n==1 from titlescreen.c 
+//  { 
    question_list = generate_list();
 
    next_wrong_quest = 0;
    /* initialize counters for new game: */
    quest_list_length = list_length(question_list);
   
-   SendQuestionList(question_list,quest_list_length);
-  } 
+//   SendQuestionList(question_list,quest_list_length);
+//  } 
   
-if(n==0)							//if selects client , n==0 from titlescreen.c
-{
-   next_wrong_quest = 0;
-   ReceiveQuestionList(question_list,quest_list_length);
+//if(n==0)							//if selects client , n==0 from titlescreen.c
+//{
+//   next_wrong_quest = 0;
+//   ReceiveQuestionList(question_list,quest_list_length);
  
-}
+//}
   /* Note: the distinction between quest_list_length and  */
   /* unanswered is that the latter includes questions     */
   /* that are currently "in play" by the user interface - */

Modified: tuxmath/branches/lan/src/titlescreen.c
===================================================================
--- tuxmath/branches/lan/src/titlescreen.c	2009-06-11 18:23:34 UTC (rev 1030)
+++ tuxmath/branches/lan/src/titlescreen.c	2009-06-11 19:44:46 UTC (rev 1031)
@@ -73,7 +73,7 @@
 char **lesson_list_titles = NULL;
 char **lesson_list_filenames = NULL;
 int num_lessons = 0;
-int n=0;
+//int n=0;
 
 
 /* --- media for menus --- */
@@ -910,7 +910,7 @@
 {
 
   int difficulty = -1;
-   n=1;
+ //  n=1;
    int g;
   //just leech settings from arcade modes
   const char* diff_menu_text[NUM_MATH_COMMAND_LEVELS + 1] =




More information about the Tux4kids-commits mailing list