[Scummvm-devel] ENGINE AUTHORS: case-insensitivy and directory handling
peres
peres at scummvm.org
Thu Aug 14 08:08:56 CEST 2008
Hi there,
I posted a new version of the code on the tracker
(https://sourceforge.net/tracker/index.php?func=detail&aid=2034983&group_id=37116&atid=418822),
together with a patch that makes BS2
work with the new system (this needs testing with the full game).
Classes names have changed to reflect their possible usage.
What I have now is a FSDirectory class that represents a directory from
the filesystem, and
allows case-insensitive searches with an arbitrary level of recursion.
FSDirectory implements an interface called Archive, whose goal is to
enable transparent
access to a moltitude of resources (e.g. the multi-file archives present
in many games,
besides real directories).
A search can be performed on a group of Archives using the SearchSet
class, which is no more
than a collection of Archives, and mimicks the behaviour of the current
addDefaultDirectory
system.
Comments are welcome! :)
thanks
Nicola
More information about the Scummvm-devel
mailing list