0ad/source/lib/res
janwas 1227cb2f6d adts: add RingBuf self-test. RingBuf: make entry#0 the 'head' and pop_front a no-op if empty.
allocators: allow pool_create at NLSO ctor time
lib: add rand() function based on libc rand and self-test. (this allows
easily returning a random number within a range, and avoids a number of
pitfalls - the naive rand()%range approach is baaad)
precompiled: add self_test.h, so that self tests won't be accidentally
disabled by forgetting to include the header

file_cache: add self-test; fixed 2 bugs that exposed (was incorrectly
splitting large blocks and not setting class_size bit properly). fix
weird corner case in BlockMgr (attempting to free LRU block but it is
locked).

file_io, wdbg_sym: tiny fixes

This was SVN commit r3461.
2006-02-03 04:02:53 +00:00
..
file 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
graphics Cache: implement meat of landlord algorithm and add remove() 2006-01-28 22:19:42 +00:00
sound - 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
h_mgr.cpp - 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
h_mgr.h - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
handle.h fix include path (relative to lib) 2005-01-23 17:50:07 +00:00
mem.cpp - 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
mem.h - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
res.h - split up lib/res into file, graphics and sound. 2005-08-12 17:06:53 +00:00