Package: tuxmath
Version: 2005.01.03

If all math operations are deselected and the game is started anyway, it is 
impossible to (normally) exit.  I do not think this is the desired behavior.  
I have been hacking on tuxmath for the last few weeks, and I implemented the 
following change in options.c to avoid this bug:

              if (key == SDLK_ESCAPE)
                {
                  /* Escape key - quit! */
                  /* Don't leave options screen if all operations deselected! 
-DSB */
                  int i;
                  int at_least_one_oper = 0;
                  for (i =0; i < NUM_OPERS; i++)
                  {
                    if (opers[i])
                      at_least_one_oper = 1;
                  }  
                  if (at_least_one_oper)
                    done = 1;
                }

I am also working on a lot of other things to improve tuxmath, the main one 
being an overhaul of the options menu to allow much more fine-grained control 
of the math questions being asked.  I am not sure who is in charge of tuxmath 
- the sourceforge entry seems pretty much dead.

-- 
David Bruce


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to