[Scummvm-devel] Changes in backends/

Max Horn max at quendi.de
Sat Jun 24 14:42:27 CEST 2006


Hi folks,

today I started some work on the "modular backends" front, see  
<http://wiki.scummvm.org/index.php/Modular_Backends>.

One of the things to be done for that is moving the existing  
"monolithic" port directory from backends/ to backends/platform. I  
already did this for null,x11,sdl,morphos and maemo. I have not yet  
done it for dc, gp32, PalmOS, ps2, psp, symbian, wince -- mostly  
because I am wary of breaking their build systems completely. So for  
now, I'll leave those where they are. But I'd appreciate if porters  
could move them. Otherwise, I'll just do it myself in 1-2 weeks (and  
let porters clean up after me...).

Note: To move / rename stuff, please make sure to use
   svn mv
resp. use "svn cp" and "svn rm" (since "svn mv" is just an alias for  
that). That way, the revision history of all files is properly retained!


The other changes I made was to add new backend "modules" for  
savegames and timers. The latter probably won't be used by anybody  
for now. But for the former, various ports already implement custom  
SaveFileManagers. These ports probably should move their  
SaveFileManager implementations to suitable subdirectories of  
backends/saves/ -- similar to the existing backends/fs/ dirs.

Right now I am contemplating to turn the "File" class into a backend  
module, too, which would make it possible for porters to add custom  
implementations for it. Are there any ports that would benefit from  
this?


Cheers,
Max




More information about the Scummvm-devel mailing list