Commit graph

159 commits

Author SHA1 Message Date
Bill Currie
ff972ff50e add snd_volumesep. similar purpose to snd_phasesep. Defaults to 1 (as that's
what effectively was before it existed anyway).
2000-10-11 03:09:30 +00:00
Bill Currie
8009b37451 port over the relevant changes from newtree and eliminate the gamedir command.
It's use turns out to be a Bad Idea (TM)
2000-10-11 02:58:52 +00:00
Bill Currie
f5ce271acf change snd_stereo_phase_separation (sp?:) to snd_phasesep (gee, I wonder why?:) 2000-10-10 23:39:37 +00:00
Bill Currie
fa33f48d35 add some ws 2000-10-10 20:08:02 +00:00
Bill Currie
4323b3039e Stereo using phase separation now works without static. It is turned off by
default, but can be turned on simply by setting snd_stereo_phase_separation to
something resonable (eg 0.6). snd_stereo_phase_separation is measured in
milliseconds and the 0.6 is based on assuming a 20cm diameter head with speed
of sound being 331m/s (0.000604229607 is more accurate for that, but I didn't
want to type it in the console:) at the moment, phase and volume separation
happen together. I'm not sure if it's worth disabling volume separation when
phase separation is used, it sounds good to me :).
2000-10-10 17:39:24 +00:00
Bill Currie
b08583c57e add .vimrc 2000-10-06 23:48:43 +00:00
Bill Currie
8bb5d9decb first attempt at stereo phase separation. sortof works but is staticy due to
lost samples. currently disabled so nobody complains
2000-10-06 23:48:09 +00:00
Bill Currie
b17b8afa3c turns out some like interpolated, others don't. snd_interp conrols this.
Defaults to on so those used to 11k sampling won't be too suprised.
2000-10-06 18:42:03 +00:00
Bill Currie
73d0b16350 Oh, so 44k1 DID sound like crap after all. However, I think that even the
tinny 44k1 sounded better than bassy 11025, but bassy 44k1 is even better :).
It's amazing what a difference interpolation schemes can make. Going from
uninterpolated (stretched samples) to linear interpolation improved things
dramaticly. I would still like to use cubic splines, but unless I'm mistaken,
that's O(N**2), not good for semi realtime (it sometimes takes long enough to
load a sample as it is).

Also, samples are now loaded as 16 bit unless loadas8bit is set.
2000-10-06 15:46:42 +00:00
Bill Currie
faa8926a70 add support for abyss. I had to guess at episode names and aopdm6 didn't have
a name specified in the map :(
2000-10-06 04:41:08 +00:00
Bill Currie
f588ab2151 gl context should be destoryed before X window 2000-10-06 02:48:25 +00:00
Bill Currie
6b48129fa4 double the maximum number of sound channels to 256. I hope this doesn't cause
too much of a speed hit or sample wrap.
2000-10-05 21:43:34 +00:00
Bill Currie
4c9542817c remove the version printout and some ws cleanup 2000-10-05 02:39:48 +00:00
Dan Olson
3a1fb980f2 sane sdl includes, same commit as in newtree 2000-10-04 23:53:41 +00:00
Bill Currie
20854c0f2f Apply fps patch from Timothy C. McGrath that brings sw show_fps from newtree to
nuq.
2000-10-02 18:24:39 +00:00
Bill Currie
0808c65d17 copy CalcBlend from newtree 2000-10-02 17:26:39 +00:00
Bill Currie
f386c3f79c bring over Deek's palette shift removal from newtree. I think I got everything. 2000-10-02 16:13:12 +00:00
Bill Currie
582d2a1cba crosshair 2 is back in software! 2000-09-30 04:13:34 +00:00
Bill Currie
abbb0851f5 more sw compile fixes 2000-09-30 02:26:46 +00:00
Bill Currie
4281bec8d5 more sw compile fixes 2000-09-30 02:26:46 +00:00
Bill Currie
4bc80fbe67 more bogus glquake.h refs 2000-09-30 00:01:59 +00:00
Bill Currie
92d10c2bac hehe, thou shalt not include glquake in non-gl code :) 2000-09-29 20:02:17 +00:00
Bill Currie
baa3489074 %s/HAS_ZLIB/HAVE_ZLIB/g 2000-09-28 19:05:42 +00:00
Jeff Teunissen
899598f79a Status bat works perfectly, no glitches in software or GL that I have
found. Bang on it!
2000-09-28 18:25:24 +00:00
Eric Windisch
e94cc3030a This allows compilation with configure --disable-vidmode, normally considered a good thing (especially for my laptop where the vidmode doesn't work). 2000-09-27 23:30:36 +00:00
Bill Currie
f846917a38 some minor cleanups and a probably fix for gl alias models with more than 4
skin groups (blah, arbitryary limits)
2000-09-27 16:54:38 +00:00
Bill Currie
d339f14e64 error message audit 2000-09-27 16:22:28 +00:00
Bill Currie
ad7756a531 hopefully fix alias models with mutliple skins and/or skin groups 2000-09-27 16:20:00 +00:00
Bill Currie
464215e882 fix loading alias models with multiple skins and/or skin groups in software
mode.
2000-09-27 16:03:12 +00:00
Bill Currie
111791e0f6 cvar usage audit. value -> int_val where appropriate. tested with x11 glx and
svga.
2000-09-27 06:07:10 +00:00
Jeff Teunissen
2c1968e79e QW-style HUD support for NUQ. It defaults to off. Set cl_sbar 0 to turn
it on, set cl_hudswap to move it to the left side. I'll make the options
menu options for them work tomorrow.
2000-09-27 01:17:48 +00:00
Jeff Teunissen
495cf79c09 Backport joystick support from newtree. 2000-09-26 19:58:40 +00:00
Bill Currie
ad7c97b4fc once again works with latest alsa cvs 2000-09-26 18:50:00 +00:00
Bill Currie
a65b0fef6d now you can build nuq-glx without having to build nuq-x11 2000-09-26 03:33:43 +00:00
Bill Currie
1d91e86b4b found I had missed a few places to set int_val during the port to newtree 2000-09-26 03:16:16 +00:00
Bill Currie
8ed4ef45cb port David Jeffery's linux joystick port patch. it fires up ok, but I can't tell
how well it works as I don't seem to have js support compiled into my kernel :/
2000-09-26 03:02:18 +00:00
Bill Currie
459f7f3087 apply WildCode's portability helping patch 2000-09-26 01:59:16 +00:00
Jeff Teunissen
ad9168db1d "gamma"/v_gamma cvar gone. It wasn't useful in GL, and the brightness and
contrast cvars more than make up for its loss. Both are available from the
options menu now, and what's more, the contrast cvar works properly in GL,
unlike newtree where it seems to have a weird cutoff problem.
2000-09-24 14:15:06 +00:00
Bill Currie
50b5c7776e use more than one scrap. haven't needed this yet, but it doesn't hurt 2000-09-24 04:05:09 +00:00
Bill Currie
20ff12319a in_x11.c:
turn off autorepeat on startup
vid_x11.c:
	remove autorepeat controll. wrong place for it.
2000-09-24 03:08:28 +00:00
Bill Currie
a18c68fdad port over the alias skin group fixes from newtree 2000-09-24 02:37:44 +00:00
Bill Currie
cc8d0329d6 try to fix gl_flashblend 1 2000-09-23 02:13:47 +00:00
Bill Currie
49255645c6 config.h.in is generated by bootstrap 2000-09-23 01:50:51 +00:00
Bill Currie
ebecdf9331 fix compile error 2000-09-23 01:39:00 +00:00
Bill Currie
10c6a3a42f quakeio.c now compiles with newer glibc versions (fpos_t changed)
vid_glx.c has some unsigned changes ported over from newtree
the rest have had fclose and fopen converted to Q*
2000-09-22 17:07:42 +00:00
Bill Currie
44e9299f29 missed this fopen->Qopen conversion 2000-09-22 15:32:58 +00:00
Forest Hale
fb028dcd6f optimized R_MarkLights (no longer checks sky/water, less recursion) 2000-09-22 04:58:49 +00:00
Bill Currie
7dc163eb61 sprintf -> snprintf 2000-09-21 16:23:51 +00:00
Bill Currie
ec896dce6f add desti's nodga patch with modifications to control the grabbing of kb and
mouse input
2000-09-21 16:23:27 +00:00
Jeff Teunissen
0e3df0b239 mmap should set PROT_READ|PROT_WRITE, not just PROT_WRITE. Takes care of a
problem with FreeBSD. Also, check for MAP_FAILED instead of
(unsigned char *)-1
2000-09-21 06:28:15 +00:00