1
0
forked from 0ad/0ad
0ad/source/lib/res
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
..
file # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
graphics # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
sound # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
h_mgr.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
h_mgr.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
handle.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
mem.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
mem.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
res.h - split up lib/res into file, graphics and sound. 2005-08-12 17:06:53 +00:00