1
0
forked from 0ad/0ad
0ad/source/lib/res/sound
janwas 1c1200a049 - massive overhaul of lib error code returning. int -> LibError everywhere.
- add translators from errno and GetLastError to LibError
- clarified return values of callbacks (they must return
INFO_CB_CONTINUE to continue)
- this exposed a few bugs in error handling chains (returning incorrect
values); also reduced say-nothing instances of return -1.
- move CHECK_ERR etc. macros to lib_error

This was SVN commit r3229.
2005-12-11 22:23:55 +00:00
..
ogghack.cpp profiling indicates memcpy is a bottleneck, so globally replace all of them with memcpy2 (hand-optimized). depending on transfer size, this is 10%..300% faster. also made memcpy2 into a macro instead of thunk function because vc7 was still generating a jump. 2005-10-30 16:19:20 +00:00
ogghack.h - split up lib/res into file, graphics and sound. 2005-08-12 17:06:53 +00:00
snd.cpp - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00
snd.h - massive overhaul of lib error code returning. int -> LibError everywhere. 2005-12-11 22:23:55 +00:00