1
0
forked from 0ad/0ad
0ad/source/lib/res/file
janwas c4e3037e60 adts: add LL_OPT_* defines that enable optimizations (some only make sense if there are tons of files, and need to be able to disable them for thesis). realized this would be perfect application of policy template classes, which will replace this.
fix crashdumps: was failing to write out to file (underlying cause:
current directory no longer being set)
app_hooks: add get_log_dir; used by debug and wdbg_sym

minor improvements/documentation in archive+compression+file_cache+zip

main: remove dead ScEd code

This was SVN commit r3498.
2006-02-11 22:49:09 +00:00
..
archive.cpp adts: add LL_OPT_* defines that enable optimizations (some only make sense if there are tons of files, and need to be able to disable them for thesis). realized this would be perfect application of policy template classes, which will replace this. 2006-02-11 22:49:09 +00:00
archive.h adts: add LL_OPT_* defines that enable optimizations (some only make sense if there are tons of files, and need to be able to disable them for thesis). realized this would be perfect application of policy template classes, which will replace this. 2006-02-11 22:49:09 +00:00
compression.cpp adts: add LL_OPT_* defines that enable optimizations (some only make sense if there are tons of files, and need to be able to disable them for thesis). realized this would be perfect application of policy template classes, which will replace this. 2006-02-11 22:49:09 +00:00
compression.h adts: add LL_OPT_* defines that enable optimizations (some only make sense if there are tons of files, and need to be able to disable them for thesis). realized this would be perfect application of policy template classes, which will replace this. 2006-02-11 22:49:09 +00:00
file_cache.cpp adts: add LL_OPT_* defines that enable optimizations (some only make sense if there are tons of files, and need to be able to disable them for thesis). realized this would be perfect application of policy template classes, which will replace this. 2006-02-11 22:49:09 +00:00
file_cache.h adts: remove_least_valuable safely handles empty cache 2006-02-09 05:59:33 +00:00
file_internal.h Cache: implement meat of landlord algorithm and add remove() 2006-01-28 22:19:42 +00:00
file_io.cpp adts: add RingBuf self-test. RingBuf: make entry#0 the 'head' and pop_front a no-op if empty. 2006-02-03 04:02:53 +00:00
file_io.h Cache: implement meat of landlord algorithm and add remove() 2006-01-28 22:19:42 +00:00
file_stats.cpp file_cache: add refcounting to ExtantBufMgr (required for correctness) 2006-02-04 23:32:01 +00:00
file_stats.h file_cache: add refcounting to ExtantBufMgr (required for correctness) 2006-02-04 23:32:01 +00:00
file.cpp allocators: bugfix (wasn't setting freelist to 0) 2006-01-31 03:47:52 +00:00
file.h adts: remove_least_valuable safely handles empty cache 2006-02-09 05:59:33 +00:00
vfs_mount.cpp adts: remove_least_valuable safely handles empty cache 2006-02-09 05:59:33 +00:00
vfs_mount.h v2 of file/res code for thesis: 2006-01-23 20:05:09 +00:00
vfs_optimizer.cpp adts: remove_least_valuable safely handles empty cache 2006-02-09 05:59:33 +00:00
vfs_optimizer.h adts: remove_least_valuable safely handles empty cache 2006-02-09 05:59:33 +00:00
vfs_path.cpp allocators: bugfix (wasn't setting freelist to 0) 2006-01-31 03:47:52 +00:00
vfs_path.h allocators: bugfix (wasn't setting freelist to 0) 2006-01-31 03:47:52 +00:00
vfs_tree.cpp fix crash that happened after editing file while game is running. vfs_tree's tree_root object was being destroyed but not recreated when rebuilding the VFs tree. fixed that as well as correctly freeing all TNode memory upon rebuild. 2006-02-02 05:20:33 +00:00
vfs_tree.h allocators: bugfix (wasn't setting freelist to 0) 2006-01-31 03:47:52 +00:00
vfs.cpp adts: optimize landlord algorithm at advisor's request (only relevant if we have tons of files in cache) 2006-02-02 04:11:07 +00:00
vfs.h - vfs_load now returns error code and takes FileIOBuf; that must be freed via file_buf_free. if Handle is needed, use mem_wrap. 2006-01-24 08:16:29 +00:00
zip.cpp adts: add LL_OPT_* defines that enable optimizations (some only make sense if there are tons of files, and need to be able to disable them for thesis). realized this would be perfect application of policy template classes, which will replace this. 2006-02-11 22:49:09 +00:00
zip.h adts: add LL_OPT_* defines that enable optimizations (some only make sense if there are tons of files, and need to be able to disable them for thesis). realized this would be perfect application of policy template classes, which will replace this. 2006-02-11 22:49:09 +00:00