1
0
forked from 0ad/0ad
0ad/source/lib
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
..
res # refactor vfs/file code (unify interface, dispatch between providers via virtual functions) 2006-04-19 15:19:04 +00:00
sysdep # Include headers for compilation without PCH 2006-04-19 05:30:02 +00:00
adts.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
adts.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
allocators.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
allocators.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
app_hooks.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
app_hooks.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
byte_order.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
byte_order.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
config.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
debug_stl.cpp # Include headers for compilation without PCH 2006-04-19 05:30:02 +00:00
debug_stl.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
debug.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
debug.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
glext_funcs.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
input.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
input.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
lf_alloc.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
lib_errors.cpp # Include headers for compilation without PCH 2006-04-19 05:30:02 +00:00
lib_errors.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
lib.cpp # Include headers for compilation without PCH 2006-04-19 05:30:02 +00:00
lib.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
lockfree.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
lockfree.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
mmgr.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
mmgr.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
nommgr.h - split up lib/res into file, graphics and sound. 2005-08-12 17:06:53 +00:00
ogl.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
ogl.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
posix_types.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
posix.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
precompiled.cpp Linux/GCC compat, a few newlines at end of file, minor changes 2004-06-02 15:31:55 +00:00
precompiled.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
sdl.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
self_test.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
self_test.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
string_s.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
string_s.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
timer.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
timer.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
types.h # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00
wstring_s.cpp # add CppDoc file header to all files, along with their descriptions. 2006-04-11 23:59:08 +00:00