1
0
forked from 0ad/0ad
0ad/source/lib
janwas 44901d38b9 # further documentation and improvements to lib/res/file code
FILE_CACHE_BLOCK flag used more safely (copied in afile_read)
add file_sector_size (set from sysdep code)
documented and organized FileFlags
moved publically visible file_buf* decls to file.h; add FileBufFlags
file_buf_get: moved to file_io and renamed because it is not a part of
the file_buf manager itself
FILE_BLOCK_SIZE no longer exposed to users - it's an implementation
detail. for alignment purposes, you should use file_sector_size (less
wasteful)
add page_aligned allocator (mmap)
write buffers now allocated via file_buf_alloc(FB_FROM_HEAP) (avoids
wasting cache space)
append trace runs into the trace file (-> better input data for archive
ordering)
document lib_errors.h
tex_load: add provision for file_flags, used by ogl_tex_load to prevent
caching file data

simulation, entitymanager: add perf measurements

This was SVN commit r3725.
2006-04-03 21:28:10 +00:00
..
res # further documentation and improvements to lib/res/file code 2006-04-03 21:28:10 +00:00
sysdep # overhauled error handling; made sure all low-level function failures are caught at the source. 2006-04-03 01:00:45 +00:00
adts.cpp # IO bugfixes and improvements; more support for cache/seek measurements 2006-03-24 21:56:00 +00:00
adts.h # add instrumentation to file_cache; bugfixes 2006-03-25 07:08:29 +00:00
allocators.cpp # further documentation and improvements to lib/res/file code 2006-04-03 21:28:10 +00:00
allocators.h # further documentation and improvements to lib/res/file code 2006-04-03 21:28:10 +00:00
app_hooks.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
app_hooks.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
byte_order.cpp gcc implicitly makes inline functions static, so don't make those functions 2006-02-01 01:33:59 +00:00
byte_order.h allocators: bugfix (wasn't setting freelist to 0) 2006-01-31 03:47:52 +00:00
config.h adts.cpp: remove DynArray, which was an array of pages. (obsoleted by DynArray/Pool allocators) 2006-01-23 07:59:20 +00:00
debug_stl.cpp - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
debug_stl.h - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
debug.cpp # overhauled error handling; made sure all low-level function failures are caught at the source. 2006-04-03 01:00:45 +00:00
debug.h debug: remove old prototype 2006-02-15 03:03:17 +00:00
detect.cpp # overhauled error handling; made sure all low-level function failures are caught at the source. 2006-04-03 01:00:45 +00:00
detect.h hopefully fixed bug #57 (limit on version info length was too low). while at it, made cpu_type's length externally visible; split sound stuff into sysdep/snd.h (as with gfx, cpu, mem) and in general cleaned up a bit. 2005-04-19 17:07:05 +00:00
glext_funcs.h #Use EXT_framebuffer_object when available 2006-03-26 17:36:33 +00:00
input.cpp # overhauled error handling; made sure all low-level function failures are caught at the source. 2006-04-03 01:00:45 +00:00
input.h - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
lf_alloc.cpp - config: all macros are defined as 1 / 0. testing with #if allows compiler warnings (testing undefined macro) to spot misspelled macros 2005-08-09 16:23:19 +00:00
lib_errors.cpp # overhauled error handling; made sure all low-level function failures are caught at the source. 2006-04-03 01:00:45 +00:00
lib_errors.h # further documentation and improvements to lib/res/file code 2006-04-03 21:28:10 +00:00
lib.cpp # IO bugfixes and improvements; more support for cache/seek measurements 2006-03-24 21:56:00 +00:00
lib.h # IO bugfixes and improvements; more support for cache/seek measurements 2006-03-24 21:56:00 +00:00
lockfree.cpp ObjectBase.cpp: replace incorrect RNG with rand(min,max) 2006-02-15 04:03:29 +00:00
lockfree.h - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
mmgr.cpp Linux compat changes, fix for (really old) bug in VertexBufferManager shutdown, GUI header reorganization for gcc 4.0 2006-01-29 18:23:47 +00:00
mmgr.h remove key- and mouse-state-clear code (previously called after alt+tab out). wsdl now takes care of this: by maintaining its own key array+sending up events for all currently down keys; and by capturing the mouse on each click. 2005-10-31 01:15:49 +00:00
nommgr.h - split up lib/res into file, graphics and sound. 2005-08-12 17:06:53 +00:00
ogl.cpp # overhauled error handling; made sure all low-level function failures are caught at the source. 2006-04-03 01:00:45 +00:00
ogl.h #More accurate bounds calculations to improve shadow resolution 2006-03-26 21:58:48 +00:00
posix_types.h - config: all macros are defined as 1 / 0. testing with #if allows compiler warnings (testing undefined macro) to spot misspelled macros 2005-08-09 16:23:19 +00:00
posix.h Linux/GCC Compat, added some includes, ported inline assembly stuff to gnu syntax (and misc. cleanup in ia32.cpp) 2005-09-12 23:37:52 +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 fixed wchar_t issues; now correctly separates utf16, CStrW and jschar. 2006-02-03 20:36:15 +00:00
sdl.h sdl: remove complicated mouse button check/workaround; that's now done in Interact.cpp (which makes the assumptions being tested) 2005-10-24 00:06:08 +00:00
self_test.cpp - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
self_test.h - self test: rename stuff to SELF_TEST*; add provision for delayed all-at-once self tests (allows for init before the test and makes measuring elapsed time easier) 2005-12-07 03:38:39 +00:00
string_s.cpp - self test: rename stuff to SELF_TEST*; add provision for delayed all-at-once self tests (allows for init before the test and makes measuring elapsed time easier) 2005-12-07 03:38:39 +00:00
string_s.h comments/cosmetics; 2005-09-27 15:20:56 +00:00
timer.cpp Linux compat changes, fix for (really old) bug in VertexBufferManager shutdown, GUI header reorganization for gcc 4.0 2006-01-29 18:23:47 +00:00
timer.h snd: support for fading (variable initial/final values and lengths; can choose linear,exponential or S-curve). also minor improvements. 2005-12-13 23:17:50 +00:00
types.h adts.cpp: remove DynArray, which was an array of pages. (obsoleted by DynArray/Pool allocators) 2006-01-23 07:59:20 +00:00
wstring_s.cpp implementation of secure CRT string functions 2005-02-28 15:27:04 +00:00