1
0
forked from 0ad/0ad
Commit Graph

42 Commits

Author SHA1 Message Date
Gee
caff02e8da I had to ask some things to make some word-processing easier/faster. Feel free to adjust anything that's crooked.
This was SVN commit r1395.
2004-11-24 23:47:48 +00:00
6f114dcd5e h_force_close support for sound shutdown issue
This was SVN commit r1268.
2004-10-22 21:58:03 +00:00
1ef7ce088c add support for forcibly closing cached files (needed when closing all active sounds before resetting openal)
This was SVN commit r1261.
2004-10-20 00:58:55 +00:00
cd24c9c6f7 fixes for RES_UNIQUE (used by sound instances) - no longer add such handles to the h_find lookup data struct, because it can't handle several instances backed by the same file
This was SVN commit r1239.
2004-10-15 13:19:37 +00:00
4f230f061d less dependencies: handle.h forward-defines Handle, so that not everything that uses res headers is dependent on h_mgr
This was SVN commit r1213.
2004-10-06 14:00:43 +00:00
7a0cf92c25 add RES_UNIQUE, required for sound code
This was SVN commit r1209.
2004-10-05 13:10:49 +00:00
b459e7e640 fixed debug_check_heap definition
This was SVN commit r1170.
2004-09-19 19:27:04 +00:00
b3a5bad377 fix 2 stupid h_mgr_shutdown bugs leading to failure to close some leaked handles at exit (see bug 26)
- was iterating over all HDATA slots up to last_in_use, but it is
inclusive
- when closing, wasn't resetting refcount, so h_free kept those with
refcount > 1 open

This was SVN commit r1158.
2004-09-19 13:46:38 +00:00
5a8dd803a7 fix for gcc: philip reports it doesn't have upper_bound (although it's part of STL). replaced with equal_range
This was SVN commit r1150.
2004-09-19 11:23:12 +00:00
57fad52ef3 GCC non-fixes: marked broken code
This was SVN commit r1032.
2004-08-21 12:53:17 +00:00
f94ecbd6d7 hide ugly multimap code behind interface
This was SVN commit r1022.
2004-08-19 12:03:15 +00:00
3d455fc05f h_find now via hash multimap instead of linear search (it's called often)
This was SVN commit r1015.
2004-08-18 02:08:15 +00:00
0d6477d83b add note and added (currently commented out) debug_outs to determine when/why handles are being allocated
This was SVN commit r1011.
2004-08-17 21:06:08 +00:00
5edadf1433 don't cache handles that don't have a key (i.e. couldn't be found when reloading)
This was SVN commit r991.
2004-08-14 12:36:03 +00:00
93b40f835e improvement: don't cache if reload failed
This was SVN commit r971.
2004-08-11 20:19:31 +00:00
7c36638fd0 minor bugfix / commenting
This was SVN commit r958.
2004-08-10 15:59:11 +00:00
5bdfaf5758 fix several bugs related to tag reset when reopening cached handles
This was SVN commit r938.
2004-08-08 18:04:03 +00:00
f08cd3466c increase REF_BITS to 16 (=> 64k refs possible)
This was SVN commit r936.
2004-08-08 16:40:59 +00:00
b2afef529c Introducing: The Pre-Game State. The game instance is not created on program load as before, but can be started by JS functions.
This was SVN commit r912.
2004-08-05 13:07:51 +00:00
06725f7613 be less annoying when tag security check is undermined
This was SVN commit r884.
2004-08-02 21:29:55 +00:00
8485fc3d82 cleanup; keep_open scheme that means resources will actually be cached (default is now to keep in mem). caching control is still missing
This was SVN commit r882.
2004-08-02 13:46:44 +00:00
29f5d23dae no change
This was SVN commit r868.
2004-07-31 19:36:46 +00:00
ab2b08d97b fix a problem that allowed use of non-open but cached resources
This was SVN commit r853.
2004-07-31 11:29:57 +00:00
21e685b1f6 fix refcount (now initialized to 1)
This was SVN commit r738.
2004-07-13 21:12:46 +00:00
8306c53492 increase control block size to "plenty" until things settle
This was SVN commit r669.
2004-07-09 02:13:09 +00:00
ddd7821425 res reload callback interface change: now also receives handle of object being reloaded. simplifies tex reload code
This was SVN commit r602.
2004-06-25 22:19:19 +00:00
aed6d949d5 new #included
This was SVN commit r566.
2004-06-19 21:12:39 +00:00
2299573567 now catches bad_alloc exceptions thrown during reloads (=> no need to wrap new in exception handler there)
This was SVN commit r558.
2004-06-19 14:45:46 +00:00
0dc6007fbd (re)added headers so it'll work without HAVE_PCH
This was SVN commit r396.
2004-06-04 12:41:53 +00:00
3abf9ac4b5 lots of type fixes; types.h is now a convenience wrapper on top of the standard uintN_t routines
This was SVN commit r334.
2004-06-01 17:34:12 +00:00
47a4af4c82 fixed bug found via mem leak: handles now closed at exit regardless of refcount
This was SVN commit r323.
2004-05-30 00:57:20 +00:00
1c5a2d8f10 started vfs enumerate directory support, not finished or functional
This was SVN commit r292.
2004-05-29 12:00:53 +00:00
672c25084b fixed log location; win code modules now register init/shutdown (=> less dependencies, more control over init order)
This was SVN commit r277.
2004-05-27 17:30:06 +00:00
d1036b9a18 VFS updates; texture reloading now works, tex.cpp is WIP
This was SVN commit r223.
2004-05-13 13:52:48 +00:00
f383cfd4a8 fix for vc7 (incomplete type in container). also some updates to vfs
This was SVN commit r221.
2004-05-08 01:11:51 +00:00
5b5726ed4d merge of (work in progress) VFS code with new dir layout
This was SVN commit r216.
2004-05-06 17:14:30 +00:00
757aca19ef h_mgr dox update; fixed redefinition error in wposix.h when building against DLL CRT
This was SVN commit r177.
2004-03-07 14:17:23 +00:00
5aa404a8f2 no message
This was SVN commit r174.
2004-03-05 16:23:31 +00:00
a8d448ad19 no message
This was SVN commit r167.
2004-03-03 15:16:20 +00:00
9c2a8a5658 fixed little gremlin due to i64 handle change (implicit conversion in overloaded function)
This was SVN commit r163.
2004-03-03 00:37:41 +00:00
58ab55ab78 removed files that have since been renamed or moved
This was SVN commit r161.
2004-03-03 00:03:37 +00:00
89c5b0d88c the big merge (tm). see forum post for changes made.
This was SVN commit r158.
2004-03-02 23:56:51 +00:00