[Scummvm-cvs-logs] CVS: scummvm TODO,1.279,1.280

Arisme arisme at free.fr
Fri Apr 22 14:22:52 CEST 2005


Max Horn wrote:
>  
> +SDL backend
> +===========
> +* Right now, the WinCE backend subclasses the regular SDL backend. The
> +  Symbian backend will do that, too (it is not yet in CVS, though).
> +  They both overload a lot of methods (mostly the graphics stuff). Since
> +  graphics.cpp uses the scalers (e.g. hq3x), these derived backends
> +  carry that baggage around, too, even though they don't need that code.
> +  Idea: split the SDL backend into two classes, one base class which only
> +  has the code which is used by all subclasses; and a "desktop" subclass,
> +  which implements the rest. Then WinCE/Symbian would only subclass the
> +  "base" SDL class.
> +  

In fact it's a bit messy because I use the official SDL backend scalers 
and mine (the backend manages resolutions going from 176x220 to 800x600 ...)

Cheers

Nicolas




More information about the Scummvm-git-logs mailing list