1
0
forked from 0ad/0ad
0ad/source/lib/res/file
janwas 6f9da5da7a # refactor vfs/file code (unify interface, dispatch between providers via virtual functions)
1) unify open/io interfaces: no longer distinguish between FileIo /
AFileIo. instead, one FileIo struct is always used; the
provider-specific data is embedded within it. this avoids the need for a
"base class", which is hard to access (f.fc.flags is ugly)
2) rename x_* redirector to xfile_* and move out of vfs_mount into
separate file
3) xfile is now implemented via "virtual functions" (avoids a lot of
boilerplate code)
4) xfile was too closely tied to vfs_mount (used internal fields);
fixed.

remaining lib/res files: made all flag parameters uint (not int) for
consistency

This was SVN commit r3776.
2006-04-19 15:19:04 +00:00
..
archive.cpp # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
archive.h # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
compression.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
compression.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
file_cache.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
file_cache.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
file_internal.h # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
file_io.cpp # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
file_io.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
file_stats.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
file_stats.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
file.cpp # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
file.h # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
trace.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
trace.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
vfs_mount.cpp # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
vfs_mount.h # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
vfs_optimizer.cpp # Include headers for compilation without PCH 2006-04-19 05:30:02 +00:00
vfs_optimizer.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
vfs_path.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
vfs_path.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
vfs_redirector.cpp # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
vfs_redirector.h # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
vfs_tree.cpp # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
vfs_tree.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
vfs.cpp # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
vfs.h # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
zip.cpp # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
zip.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00