Thanks to J. Andrews' suggestions, I am beginning to track this down some
more. It was hanging before the "Tux and Title are in place now" message.

I added in some debugging and saw it was hanging at any SDL_Delay() call.
(This corresponds with my earlier ktrace showing the repeated
gettimeofday.)

So I commented them all out in titlescreen.c. The sound worked, but the
interface locked up when I started playing the comet zap section.

So then I made a macro in globals.h to ignore SDL_Delay:
#define SDL_Delay( n ) ;

Then I could play a game! It was fun (but may be hard for my son since
letters overlap and he probably can't guess what it should be).

But with the SDL_Delay removed, then the sound stopped working.

The strange thing is that SDL_Delay works fine in tuxmath and defendguin.

Something to initialize it or use it is done wrong.

This packaged tuxtype2 is using some dependencies (from NetBSD packages):
 SDL-1.2.5nb4
 SDL_image-1.2.2nb1
 SDL_mixer-1.2.5
 SDL_ttf-2.0.3nb2
 pth-2.0.0
(and several others)

I am building SDL test tools now to test SDL_Delay.

Thank you, Jesse, for your assistance.

   Jeremy C. Reed
   http://www.isp-faq.com/



_______________________________________________
Tuxtype-dev mailing list
[EMAIL PROTECTED]
http://tux4kids.net/mailman/listinfo/tuxtype-dev

Reply via email to