[Scummvm-devel] Re: [Scummvm-cvs-logs] SF.net SVN: scummvm: [21312] scummvm/trunk/engines/kyra/kyra.cpp

LavosSpawn LavosSpawn at scummvm.org
Thu Mar 16 12:25:18 CET 2006


Yep, the PS2 suffers from the same problem as the DC, it can only draw 50
fps in PAL, 60 in NTSC.
It'd be rather difficult to keep track of the last screen update and the
current mouse position, etc.
It's way simpler if the engine just calls updateScreen at least, say, 10
times per second.
That's what all our engines so far do anyways.

In my personal opinion, the SDL backend updates the screen more often than
it should anyways, for example in setMouseCursor. So if you want to do a
full transition which includes setting a new palette, changing the cursor
and copying some screen rect, you will have a garbage screen flashing up if
you don't do it precisely in the correct order. That's actually a little
confusing, I had that in the BS1 engine.

I'd prefer if we kept things simple and update the screen only in ...uhm,
yes... updateScreen().
:)

Robert.

----- Original Message ----- 
From: "Max Horn" <max at quendi.de>
To: "ScummVM Developers" <scummvm-devel at lists.sourceforge.net>
Sent: Wednesday, March 15, 2006 7:27 PM
Subject: [Scummvm-devel] Re: [Scummvm-cvs-logs] SF.net SVN: scummvm: [21312]
scummvm/trunk/engines/kyra/kyra.cpp


>
> Am 15.03.2006 um 13:44 schrieb eriktorbjorn at users.sourceforge.net:
>
> > Revision: 21312
> > Author:   eriktorbjorn
> > Date:     2006-03-15 04:44:41 -0800 (Wed, 15 Mar 2006)
> > ViewCVS:  http://svn.sourceforge.net/scummvm/?rev=21312&view=rev
> >
> > Log Message:
> > -----------
> > Revert previous change. I'm told some backends don't draw the mouse
> > cursor
> > automatically, for some reason.
>
> Hm, interesting. I very vaguely recall something like that, but I am
> not sure... Could somebody please elaborate a bit and explain which
> backends are affected, and why?
>
> Something fundamental yet subtle like this absolutely should be
> documented, at the very least in the OSystem doxygen docs. I am
> willing to do that, but first I need to know why some backends do
> this etc. :-)
>
>
> Cheers,
> Max
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
> that extends applications into web and mobile media. Attend the live
webcast
> and join the prime developer group breaking into this new coding
territory!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
> _______________________________________________
> Scummvm-devel mailing list
> Scummvm-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scummvm-devel
>





More information about the Scummvm-devel mailing list