Bill Currie
|
5b761bac83
|
make progs related code a little more consistent with its int type usage
|
2007-04-06 00:47:41 +00:00 |
|
Bill Currie
|
38254186da
|
other than floats, progs should now be int size safe
|
2007-04-04 12:30:49 +00:00 |
|
Bill Currie
|
fcf464ef99
|
make riff int-size safe
|
2007-04-04 09:23:10 +00:00 |
|
Bill Currie
|
de265f236c
|
bail on unkown chunks so crap at the end of a wav does cause us to go nuts
|
2007-04-04 09:12:41 +00:00 |
|
Bill Currie
|
ff132bb536
|
64bit windows patch from phrosty
|
2007-04-04 07:48:14 +00:00 |
|
Bill Currie
|
3cb9e089ef
|
make -nocdaudio wor
|
2007-03-31 23:36:13 +00:00 |
|
Bill Currie
|
542c1bb0d9
|
new cache scheme now works properly. next step: shuffle blocks to the top of the heap before locking them
|
2007-03-30 07:41:17 +00:00 |
|
Bill Currie
|
4cab5b90e6
|
new cache allocation scheme. still a couple warts, but at least now there's something to work with, and more importantly, there won't be cache movement anywhere near as often.
|
2007-03-28 13:09:49 +00:00 |
|
Bill Currie
|
e5b972529b
|
take a chainsaw to the existing code, cleaning out anything that's obviously unnecessary. preparation for the cache re-write
|
2007-03-28 09:52:01 +00:00 |
|
Brian Koropoff
|
82e732b052
|
Don't automatically append a space when results are from a custom completion handler
|
2007-03-27 09:41:04 +00:00 |
|
Bill Currie
|
8d5b5fdf04
|
cleanup of channel stopping and fix cd_file's pause/resume
|
2007-03-27 06:15:57 +00:00 |
|
Bill Currie
|
f2dc7bd02c
|
Cleanup SND_StaticSound a bit.
|
2007-03-27 04:12:04 +00:00 |
|
Bill Currie
|
5d73a80887
|
use ch->sfx in one place only. doesn't really fix anything though.
|
2007-03-27 03:49:42 +00:00 |
|
Bill Currie
|
72a1aeb74b
|
d'oh
|
2007-03-27 03:43:52 +00:00 |
|
Bill Currie
|
e994e622b5
|
I'm getting pretty annoyed with this cache-release bug :P
|
2007-03-27 03:42:11 +00:00 |
|
Bill Currie
|
3bc7921a99
|
plug a potential channel leak
|
2007-03-27 00:50:08 +00:00 |
|
Bill Currie
|
522b069433
|
wow, wasn't thinking well with that one. fixes the seg with the default renderer
|
2007-03-27 00:49:20 +00:00 |
|
Bill Currie
|
b987d5e887
|
mixer is a bit more reliable, but still getting cut-offs :(
|
2007-03-26 13:30:56 +00:00 |
|
Bill Currie
|
970408769f
|
opps, that wasn't meant to go in
|
2007-03-26 11:49:54 +00:00 |
|
Bill Currie
|
f2e524491d
|
reduce a lot of duplicated code. should have done it this way in the first place. anyway, now I can get on with fixing the cut-off bug (I hope).
|
2007-03-26 11:44:52 +00:00 |
|
Bill Currie
|
fd8f530656
|
make valgrind stop crying wolf
|
2007-03-26 09:06:50 +00:00 |
|
Bill Currie
|
b93615940e
|
remove some debug
|
2007-03-25 08:30:06 +00:00 |
|
Bill Currie
|
1d1982fddf
|
more improvements to the sound offsetting
|
2007-03-25 08:12:43 +00:00 |
|
Bill Currie
|
2f7d686a3c
|
make things a little quieter (less likely to clip)
|
2007-03-25 08:11:52 +00:00 |
|
Bill Currie
|
f2d7630ac1
|
better sound offsetting
|
2007-03-25 07:45:13 +00:00 |
|
Bill Currie
|
33a7c395dc
|
allow initially silent channels to be active incase they are later audible
|
2007-03-25 06:48:19 +00:00 |
|
Bill Currie
|
0a142265cc
|
ensure silent channels get freed
|
2007-03-25 06:42:14 +00:00 |
|
Bill Currie
|
c20a553e1a
|
free entities that didn't get initialized (lost this in the format conversion)
|
2007-03-25 04:15:18 +00:00 |
|
Bill Currie
|
4a421dbb49
|
scaning the new save files needs a lot more memory
|
2007-03-25 02:00:38 +00:00 |
|
Bill Currie
|
6678e67f05
|
clamp the default renderer to 44100 too, and spew messages when running out of channels.
|
2007-03-25 01:02:03 +00:00 |
|
Bill Currie
|
58112a6407
|
fix a couple of missed VISIBLE tags
|
2007-03-24 12:28:47 +00:00 |
|
Bill Currie
|
cc6ec57772
|
fix a weird naming issue that caused uninitialized error (weird mostly because it snuck past me)
|
2007-03-24 11:46:41 +00:00 |
|
Bill Currie
|
984d42df3b
|
fix an unitialized variable (won't fix the bug, though)
|
2007-03-24 11:11:19 +00:00 |
|
Bill Currie
|
da1b11ff3b
|
I'm tired of the cache bug, but it hides nicely behind gamedir changes, so I'll just leave it for now with a FIXME
|
2007-03-24 10:42:34 +00:00 |
|
Bill Currie
|
02c41feabc
|
make gamedir change a two phase operation so things can be done both before and after the cache is flushed. (still having problems with cached sounds, though)
|
2007-03-24 10:13:10 +00:00 |
|
Bill Currie
|
54139a1742
|
don't try to release an sfx when the cache has been flushed: our held sfx gets ripped out from underneath us.
|
2007-03-24 08:37:04 +00:00 |
|
Bill Currie
|
b8c11cc7ec
|
bah, that line was needed after all. still don't know why (it shouldn't be)
|
2007-03-23 14:41:53 +00:00 |
|
Bill Currie
|
7add93e3ce
|
forgot to make Cache_ReadLock visible
|
2007-03-23 14:22:59 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
6ff7c0516c
|
shamblerdimension lart
|
2007-03-23 13:13:26 +00:00 |
|
Bill Currie
|
818756ace5
|
add a debug function
|
2007-03-23 12:36:55 +00:00 |
|
Bill Currie
|
4ccb6675a6
|
fix the "Cache_Release: already released!" error
|
2007-03-23 12:33:04 +00:00 |
|
Bill Currie
|
81a57bb3fa
|
patch from phrosty for vc2005 support. includes fixes for a bunch of gcc-isms that crept in over the years.
|
2007-03-22 23:20:57 +00:00 |
|
Bill Currie
|
9d165f317f
|
fix lost channels (fixes both running out of channels and non-stop loops)
|
2007-03-22 08:27:54 +00:00 |
|
Bill Currie
|
04639c7ab8
|
remove some stuff I forgot about
|
2007-03-21 14:37:16 +00:00 |
|
Bill Currie
|
2d6f8c6501
|
compress // to /
|
2007-03-21 13:05:23 +00:00 |
|
Bill Currie
|
5a1c57fd87
|
better channel selection: don't bother. having problems with looped sounds that can't be stopped and getting the wrong sfx at times.
|
2007-03-21 12:56:43 +00:00 |
|
Bill Currie
|
62df1f2c31
|
fix some missing symbols
|
2007-03-21 12:50:41 +00:00 |
|
Bill Currie
|
f0a4c4ace5
|
remove a bogus "done" and use 1 instead of 2 (holdover from a previous itteration of the code)
|
2007-03-21 11:41:34 +00:00 |
|
Bill Currie
|
7252ef1e54
|
allow the mixer to run even when sound blocked. prevents sounds piling up
|
2007-03-21 11:39:01 +00:00 |
|
Bill Currie
|
20b8dced56
|
cleanup the shutdown list in a manner that won't cause problems in a nested shutdown
|
2007-03-21 09:33:46 +00:00 |
|