Yes, just looking at this nowZeuss wrote:There is also a seperate array for both Pak and Zips. Why not an irr::array of an abstract class* so both can be stored in 1 irr::array?
Ok here's what I'm thinking.. We already have IFileList which is the logical place to hold file info. maybe findFile should be moved there too.
I guess archives should have a name and perhaps also a path, so you can optionally access files like "file.zip/path/to/the/file".
It will also need a priority and a < operator for sorting the search order. I suppose it should have an isWritable method and createAndWriteFile to be able to create files inside an archive, and getType.
createFileList should return all the files, folders, archives and files within archives accessible from the current directory.
should changeWorkingDirectory be able to pwd into an archive?