Commit 13e0c910 authored by David Bruce's avatar David Bruce

fix of display bug in XML_Lesson() as well as some minor code cleanup

git-svn-id: svn:// 47d30e19-490b-0410-9d18-e851f4e465b3
parent 6a8e2ef5
-Clean up this TODO and reflect the current status!
see doc/TODO
\ No newline at end of file
NOTE - this document is reasonably correct but not completely current.
It will updated as the maintainer's time allows - DSB
Tux Typing:
An Educational Typing Tutor Game Starring Tux, the Linux Penguin
(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
David Bruce <>,
Holger Levsen <>, or to:
Additional information on this subject is covered in "HowToTheme.html"
in the "doc/en" directory of this package.
This is version 1.7.6 of Tux Typing.
In Fish Cascade you control Tux as he searches for fish to eat. Fish fall
from the top of the screen. These fish have letters on them. Unforunately
for Tux, eating a fish with a letter on it will cause his stomach to
become ill, so it is up to you to help Tux eat fish! By typing the
letters, it will cause them to disappear so tux can chow down on the
In Comet Zap you control Tux as he defends the cities from comets. To
protect a city from a comet, type the letter on the comet and it will
cause Tux to destroy it with a laser! (In case you wondered, Comet Zap
is an adaptation of the *great* math drill game, "Tux, of Math Command").
"Lessons" and "Practice" are additional typing activities. "Practice"
involves typing phrases or complete sentences, with measurment of accuracy
and typing speed. "Lessons" uses XML-based scripting to run various other
parts of the program in a specified order, including the "Practice" activity.
These features are not yet completed, but represent ways to add additional
"content" without requiring more programming per se. You will find other
menu entries for planned features that still need to be implemented.
Tux Typing is Free-Software, distributable under the GNU General Public
License. Please read COPYING for more info.
Also, for those who may or may not be wondering: Yes, the rumors are
true.... Tux Typing has a few special `hidden' options. See if you can
figure out what it is... ;)
David Bruce
(previous maintainer -Jesse Andrews --
For now, see doc/README
\ No newline at end of file
......@@ -93,8 +93,8 @@ int PlayCascade(int diflevel)
int won_level = 0;
int quitting = 0;
int curlevel = 0;
int i;
int curlives;
int i = 0;
int curlives = 0;
int oldlives = 0;
int oldfish_left = 0;
int fish_left = 0;
......@@ -402,7 +402,7 @@ int PlayCascade(int diflevel)
fprintf(stderr, "Did not achieve desired frame rate!\n");
LOG("Did not achieve desired frame rate!\n");
} /* End per-frame game loop - level completed */
......@@ -239,10 +239,12 @@ int XMLLesson(void)
leftRect.w = left->w;
leftRect.h = left->h;
leftRect.x = screen->w/2 - 80 - (leftRect.w/2);
leftRect.y = screen->h/2 - 50;
leftRect.y = screen->h - 50;
rightRect.w = right->w; rightRect.h = right->h;
rightRect.x = screen->w/2 + 80 - (rightRect.w/2); rightRect.y = screen->h/2 - 50;
rightRect.w = right->w;
rightRect.h = right->h;
rightRect.x = screen->w/2 + 80 - (rightRect.w/2);
rightRect.y = screen->h - 50;
/* set initial rect sizes */
titleRects[0].y = 30;
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment