Bill Currie
|
93ee2e489b
|
more vc2005 patches from phrosty
|
2007-04-11 22:03:36 +00:00 |
|
Bill Currie
|
d08e1fe511
|
make PR_StackTrace visible
|
2007-04-10 09:45:57 +00:00 |
|
Bill Currie
|
48449a972f
|
fix an uninitialized warning on some versions of gcc
|
2007-04-10 08:32:58 +00:00 |
|
Bill Currie
|
a66cbb5215
|
PR_ResolveGlobals needs to be visible
|
2007-04-09 09:00:40 +00:00 |
|
Bill Currie
|
61d349ec78
|
bah, the other part of that commit :P
|
2007-04-09 08:55:24 +00:00 |
|
Bill Currie
|
cd6ee38181
|
remove debuging prints
|
2007-04-09 06:18:14 +00:00 |
|
Bill Currie
|
b5e6aa4519
|
for pr_debug 1, don't dump disassembly when tracing, just source lines. pr_debug >= 2 forces disassembly. detailed disassembly now on pr_debug >= 3 figure out the types of arguments in a function call
|
2007-04-09 06:16:03 +00:00 |
|
Bill Currie
|
7925e16d73
|
audit the usage of view_draw. It is really meant for draw callbacks, not direct usage by the application.
|
2007-04-09 00:22:17 +00:00 |
|
Bill Currie
|
2894182ec5
|
The status bar in the quakeworld server curses console finally does something. Currently only cpu usage, but as a proof-of-concept, it more than does its job.
|
2007-04-09 00:10:10 +00:00 |
|
Bill Currie
|
626dad45ac
|
set the new view's coordinates based on it being a root view.
|
2007-04-08 08:47:47 +00:00 |
|
Bill Currie
|
2700f4060b
|
make PR_FreeTempStrings not free a string that looks like it's being returned, but rather transfer it to the parent stack frame.
|
2007-04-08 01:22:00 +00:00 |
|
Bill Currie
|
3e92ac51fd
|
fix another bug caused by the function table changes
|
2007-04-08 00:56:35 +00:00 |
|
Bill Currie
|
e27b2a9e54
|
use PR_CatStrings for strcat and padstr. ironicly, this should work better for now, and definitely will by the time I'm done.
|
2007-04-08 00:00:35 +00:00 |
|
Bill Currie
|
ce0e0d421e
|
don't try to open the dirconf file if it hasn't been specified
|
2007-04-07 12:17:01 +00:00 |
|
Bill Currie
|
323052bd2b
|
survive across gamedir changes
|
2007-04-07 07:44:07 +00:00 |
|
Bill Currie
|
447a3e8254
|
fix some nasty catches I was experiencing. I don't know why my logic didn't work, but it definitely didn't.
|
2007-04-07 06:51:36 +00:00 |
|
Bill Currie
|
c6ea999d4d
|
whee, finally. stateful console mode :) nukes cl_chatmode.
|
2007-04-07 05:50:29 +00:00 |
|
Bill Currie
|
f621570dee
|
that /looked/ wrong :/
|
2007-04-07 05:36:06 +00:00 |
|
Bill Currie
|
d8b701608c
|
various cleanups (ow, my eyes hurt)
|
2007-04-07 05:06:42 +00:00 |
|
Bill Currie
|
5a78bf1bff
|
use VISIBLE instead of __attribute__ ((visibility ("default"))) directly
|
2007-04-07 02:14:22 +00:00 |
|
Bill Currie
|
124506fda2
|
Fix the access alignment bug on 64 bit archs.
|
2007-04-07 01:41:23 +00:00 |
|
Bill Currie
|
df2bebde7e
|
more vc build patches from phrosy
|
2007-04-06 01:09:58 +00:00 |
|
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 |
|
Brian Koropoff
|
1e6bc5f0a3
|
More intelligent completion
|
2007-03-21 01:41:15 +00:00 |
|
Brian Koropoff
|
0c237ccc08
|
Allow cbuf interpreter to handle completion finding. Enhance completion logic a bit.
|
2007-03-20 21:31:07 +00:00 |
|
Bill Currie
|
fa011b55d1
|
client side of http transfer support (untested)
|
2007-03-20 14:16:43 +00:00 |
|
Bill Currie
|
03e5ae136e
|
print noisy reminder to fix resampler
|
2007-03-20 13:37:38 +00:00 |
|
Bill Currie
|
988898ca4a
|
fix segfault when setting ambient_level to 0
|
2007-03-20 13:29:10 +00:00 |
|
Brian Koropoff
|
b6e52faea8
|
Avoid duplicate entries when enumerating a directory
|
2007-03-20 05:55:29 +00:00 |
|
Bill Currie
|
e52940a3db
|
add snd_force_unblock as an attempt to work around stuck sound on focus changes
|
2007-03-19 22:20:13 +00:00 |
|
Brian Koropoff
|
c3e8b5de3d
|
Add naive QFS_IsDirectory and QFS_FilelistEnumerate until more intelligent pak handling is added
|
2007-03-19 10:43:29 +00:00 |
|
Bill Currie
|
48e7b65f51
|
don't seg on shutdown when jackd wasn't there
|
2007-03-18 22:09:51 +00:00 |
|
Bill Currie
|
0f1cd876b2
|
cleaner sfx handling in dynamic sounds
|
2007-03-18 13:29:58 +00:00 |
|
Bill Currie
|
d9b7ccd5e3
|
seems to fix going from start to e1m1 in nq
|
2007-03-18 13:07:20 +00:00 |
|
Bill Currie
|
d67cbeae7f
|
bring cd_file in line with the new sound api
|
2007-03-18 12:54:59 +00:00 |
|
Bill Currie
|
a3ceb050a2
|
be a little more verbose
|
2007-03-18 12:53:59 +00:00 |
|
Bill Currie
|
9baefa94bb
|
write 0s to the buffer when sound is blocked
|
2007-03-18 11:58:54 +00:00 |
|
Bill Currie
|
bbdca8428a
|
channel leak plugged
|
2007-03-18 11:20:47 +00:00 |
|
Bill Currie
|
1315d4178f
|
found the missing retain
|
2007-03-18 10:45:29 +00:00 |
|
Bill Currie
|
b320778b92
|
hmm, how did that happen? ah well
|
2007-03-18 10:42:16 +00:00 |
|
Bill Currie
|
5a0e2460a3
|
whee, lockless channel management. still have a problem with unbalanced retain/release, though.
|
2007-03-18 10:32:01 +00:00 |
|
Brian Koropoff
|
25fdbdab58
|
More C++ compatibility fixes
|
2007-03-18 07:12:45 +00:00 |
|
Brian Koropoff
|
e6e28d3e5e
|
Be verbose about the interpreter changing
|
2007-03-18 07:12:23 +00:00 |
|
Brian Koropoff
|
39d8a90336
|
Allow interpreter providers for the console to be registered and allow on-the-fly interpreter switching.
|
2007-03-18 03:48:09 +00:00 |
|
Bill Currie
|
e74a8a7c62
|
make the param names agree with the header file
|
2007-03-18 02:27:33 +00:00 |
|
Bill Currie
|
7043dd14f9
|
forgot to do midi's stream_open
|
2007-03-18 01:51:37 +00:00 |
|
Bill Currie
|
44aaec4f22
|
make the cache/stream setup code common.
|
2007-03-18 01:44:46 +00:00 |
|
Bill Currie
|
8205ac4544
|
this should fix the asla seg
|
2007-03-18 01:15:57 +00:00 |
|
Bill Currie
|
3a6ab1ae38
|
enable blocking control (doesn't fix the thread problems, though)
|
2007-03-17 09:33:21 +00:00 |
|
Bill Currie
|
ee12f44ff6
|
d'oh. anyway, with midi, sounds great (so long as jackd isn't suffering xruns)
|
2007-03-17 07:28:32 +00:00 |
|
Bill Currie
|
b4cb4afdb0
|
oops, didn't have wildmidi installed, so this bitrotted a bit
|
2007-03-17 07:18:01 +00:00 |
|
Bill Currie
|
916a698ac5
|
it makes noise, but dies due to caching bugs
|
2007-03-17 07:05:24 +00:00 |
|
Bill Currie
|
9691afb782
|
connects to jack server and auto-wires the ports
|
2007-03-17 06:20:52 +00:00 |
|
Bill Currie
|
973cf9acce
|
forgot to add these
|
2007-03-17 03:14:41 +00:00 |
|
Bill Currie
|
cde6e60848
|
most of the hacking needed to break out the common code from snd_dma.c
|
2007-03-17 03:10:45 +00:00 |
|
Bill Currie
|
0105754f6f
|
clean out some no-op functions
|
2007-03-10 14:17:52 +00:00 |
|
Bill Currie
|
99c0954b47
|
the big dso visibility patch :). Sure, we have to have unique names for static builds, but with controlled visibitly we should get faster program loads (although this isn't C++, so it's not as bad) and complex plugins are cleaner.
|
2007-03-10 12:00:59 +00:00 |
|
Bill Currie
|
58523becc7
|
oops
|
2007-03-10 07:30:12 +00:00 |
|
Bill Currie
|
17875bee39
|
move the handling of -nosound out of the plugin so it can control loading of the plugin
|
2007-03-10 07:22:32 +00:00 |
|
Bill Currie
|
d8f6d8a5fb
|
split out the resample code from the memory code
|
2007-03-10 06:38:24 +00:00 |
|
Bill Currie
|
81a5a90450
|
all static data now
|
2007-03-10 06:31:50 +00:00 |
|
Bill Currie
|
b0543b9ca2
|
asm's been ditched for sound...
|
2007-03-10 06:17:09 +00:00 |
|
Bill Currie
|
d4719db021
|
a bunch of docs for snd_render.h and a some cleanup of namepace and old cruft
|
2007-03-10 04:21:32 +00:00 |
|
Bill Currie
|
99e05d2188
|
warning cleanup patch from raorn
|
2007-01-06 21:31:03 +00:00 |
|
Bill Currie
|
24ab92e68d
|
things seem to be working nicely in point mode
|
2006-12-25 01:21:52 +00:00 |
|
Bill Currie
|
9a7e4bc5e6
|
fix some comments
|
2006-12-24 08:01:39 +00:00 |
|
Bill Currie
|
8dce95b4ba
|
do some renaming of variables to save my sanity
|
2006-12-24 06:34:12 +00:00 |
|
Bill Currie
|
46a74c831a
|
don't go through the back side of walls
|
2006-12-24 05:05:27 +00:00 |
|
Bill Currie
|
bcdf710316
|
bah, missed those 0s
|
2006-12-24 04:34:08 +00:00 |
|
Bill Currie
|
7624f2eb87
|
still disabled, but put the box tracing code in the shared code
|
2006-12-24 03:46:12 +00:00 |
|
Bill Currie
|
45d467d748
|
box tracing (instead of point). Currently disabled because it doesn't work right just yet. However, when it is working, it will let us do things like crouching, crawling, arbitrary sized objects (including players), etc.
|
2006-12-24 03:13:29 +00:00 |
|
Bill Currie
|
b3a2759e5b
|
oops, missed that somehow
|
2006-12-24 03:03:41 +00:00 |
|
Bill Currie
|
a483f8670d
|
use the vector/plane macros to clean up the code a bit
|
2006-12-24 03:01:15 +00:00 |
|
Bill Currie
|
33f08b6a43
|
add QFS_Open and QFS_WOpen
|
2006-12-20 12:08:57 +00:00 |
|
Bill Currie
|
165600adc5
|
fix a very severe d'oh (specifying width caused a segfault)
|
2006-12-20 10:32:34 +00:00 |
|
Bill Currie
|
acd49060be
|
why did we ever decide not to support %d?
|
2006-12-20 08:45:49 +00:00 |
|
Bill Currie
|
4dba10d613
|
support %c for sprintf and make sprintf return a return string rather than a temp string
|
2006-12-19 14:15:27 +00:00 |
|
Bill Currie
|
d084264c3a
|
don't barf on protocols that are used by multiple classes in the same object file.
|
2006-12-19 12:17:42 +00:00 |
|
Bill Currie
|
3f3ec6404d
|
bare printf doesn't give very desirable results
|
2006-12-09 08:44:10 +00:00 |
|
Bill Currie
|
70ec9848e7
|
add PL_RemoveObjectForKey and make PL_D_AddObject take a normal C string for key instead of a pl string.
|
2006-12-09 06:00:36 +00:00 |
|
Bill Currie
|
c290e9a988
|
use plists for save-games. old save-games can still be read, but new ones will always be in the new format. might be a good idea to back up any old saves until more testing has been done.
|
2006-12-09 02:35:44 +00:00 |
|
Bill Currie
|
9cbac0bbc1
|
add array item removal
|
2006-12-09 02:33:08 +00:00 |
|
Bill Currie
|
2a79f42eb5
|
progs now internally uses plists for entity/global initialization, with support for direct conversion from id's format. This means that the entity string in a map (or the external ent file) can be a plist.
|
2006-12-09 00:02:57 +00:00 |
|
Bill Currie
|
5062930bad
|
bit more cleanup and some documentation
|
2006-12-03 06:25:57 +00:00 |
|
Bill Currie
|
7bca4cf8af
|
clean up the draw interface a bit
|
2006-12-02 10:07:08 +00:00 |
|
Bill Currie
|
a6c50b8edd
|
use handles rather than pointers (whatever was I thinking?)
|
2006-12-02 06:50:59 +00:00 |
|
Bill Currie
|
71841fe109
|
be a little noisier about plugin load failure
|
2006-12-01 07:30:44 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
9390a195e1
|
Separate out particle physics from particle rendering.
|
2006-12-01 07:03:13 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
42d51bc486
|
Remove SDLK_WORLD_*, as they are no longer supported. Add SDLK_UNDO.
|
2006-12-01 06:58:23 +00:00 |
|
Bill Currie
|
d28952dfcc
|
fix a bunch of gcc-4.1 warnings (thanks for the heads up, jordi)
|
2006-11-30 22:52:36 +00:00 |
|
Ragnvald Maartmann-Moe IV
|
630d4b8587
|
Fix black halo bugs in even the smallest particles. Same issue as smoke, same solution.
|
2006-10-18 07:57:10 +00:00 |
|
Bill Currie
|
a2b2261913
|
this should fix a couple warnings found by raorn
|
2006-09-11 22:56:16 +00:00 |
|
Bill Currie
|
7d2784e1bc
|
whitespace
|
2006-07-23 01:34:14 +00:00 |
|
Bill Currie
|
120bd66ccc
|
fix a bug found by halakar
|
2006-07-23 01:33:54 +00:00 |
|
Bill Currie
|
88543d6e86
|
add Qfopen: basicly wrap a QFile around an existing FILE. gzip is NOT supported
|
2006-05-24 11:17:18 +00:00 |
|
Bill Currie
|
215951bc79
|
yay for testers :)
|
2006-05-24 09:24:00 +00:00 |
|
Bill Currie
|
6b03d8413e
|
don't compile GetGamme (Set/Restor)ScreenSaver at all when vidmode isn't available
|
2006-05-24 09:20:53 +00:00 |
|
Bill Currie
|
bb852eba75
|
fix a braino that causes args to /not/ get saved
|
2005-10-23 22:00:45 +00:00 |
|
Bill Currie
|
87cc09233c
|
"long" audit. can't use long when we want 32 bits. May be a few more cases.
|
2005-10-23 13:19:21 +00:00 |
|
Bill Currie
|
66e203b16b
|
multi-dir patch for fs_sharepath from "Alexey I.Froloff" <raorn@altlinux.ru>
|
2005-09-06 11:39:32 +00:00 |
|
Brian Koropoff
|
82b389a720
|
Fixes -x11 target on x86-64. Shouldn't break anything on other supported architectures.
|
2005-09-03 03:31:02 +00:00 |
|