enigma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Enigma-devel] Bolder stones not moving


From: Daniel Heck
Subject: Re: [Enigma-devel] Bolder stones not moving
Date: Tue, 20 Aug 2002 12:09:06 +0200

> > i got a bug on Windows (2000 and NT4) and Linux (using an exported
> > DISPLAY): Sometimes the bolderstones stop moving. It once happened
> > to the flood gates level too (the water stopped flooding).
> 
> I have experienced the same problems (under linux with local DISPLAY).

Strange indeed.  I've never experienced anything like this.  I'll add
this to my never-ending todo list (along with Andrzej's bug reports :-)
and try to fix it as soon as I have some time.

> This is often triggered when the marble is bouncing arround alot.
> Possibly the timers may get confused if too many redraws slow down the
> system. Is the timer function non-reentrant?

Except for the audio mixer, the game runs in one single thread.
Reentrancy should not be an issue here.  Maybe you could add the
following printf() in Game::run and tell me at what values of dtime the
stones stop moving?

        dtime=(SDL_GetTicks()-last_tick_time)/1000.0;
>>      printf("%g\n", dtime);

Cheers,
Daniel

-- 
Daniel Heck                             address@hidden
Bergheimerstr. 137
69115 Heidelberg                                   tel +49-6221-656047




reply via email to

[Prev in Thread] Current Thread [Next in Thread]