Commit graph

229 commits

Author SHA1 Message Date
Jeff Teunissen
80b88be543 lcd_x == buhbye 2000-10-27 10:54:24 +00:00
Jeff Teunissen
d60c3427c9 lose lcd_x 2000-10-27 10:52:47 +00:00
Jeff Teunissen
d2e216721b whitespace 2000-10-27 10:52:05 +00:00
Jeff Teunissen
9ae08707d6 Lose lcd_x 2000-10-27 10:51:15 +00:00
Jeff Teunissen
2c4544fff2 Lose lcd_x, some whitespace 2000-10-27 10:50:32 +00:00
Jeff Teunissen
847f7ccc66 Whoops! commit sbar rework 2000-10-27 10:47:53 +00:00
Jeff Teunissen
4808483e34 Stuff I forgot to commit a long time ago (first of a bunch) 2000-10-27 10:42:52 +00:00
Dan Olson
225c65a3a4 A small code change to VID_Update that I think is cleaner and *should*
run better, though tests show no improvement.
Also, major whitespace changes, the whole file should be uniform now.
2000-10-26 21:06:14 +00:00
Bill Currie
88234b13e8 the rest of scr_viewsize value -> int_val. didn't look closely enough at how
size is used. no longer segs
2000-10-21 00:12:09 +00:00
Bill Currie
e698713185 most of scr_viewsize value to int_val. r_main causes segs atm 2000-10-21 00:09:27 +00:00
Bill Currie
4c3d4b4dcb cvar set audit (I thought I got all of this when I did the value -> int_val
audit, oh well)
2000-10-17 22:43:48 +00:00
Bill Currie
ff1ffe2212 just some ws. still haven't figure out what's causing the static. 2000-10-14 00:03:05 +00:00
Bill Currie
59a001c550 name cleanup. still got static though :( 2000-10-13 18:25:52 +00:00
Bill Currie
f012888213 almost there, not sure where this last static is coming from though 2000-10-13 17:36:42 +00:00
Bill Currie
63895493c3 back out the last changes as they break compiling 2000-10-13 16:53:16 +00:00
Bill Currie
2a6086bc72 don't even THINK about setting snd_phasesep non-zero :) 2000-10-12 23:34:27 +00:00
Bill Currie
db24f87442 fix compile error 2000-10-12 22:05:37 +00:00
Bill Currie
d5ce749289 the case of a decreasing phase shift (ie left_phase or right_phase) has been
fixed. now just for increasing phase shift
2000-10-11 23:31:25 +00:00
Bill Currie
998b736326 almost there. phase lerping is a bit borked (somehow does it completely wrong),
but I'll get that sorted :) BTW, should be effectively disabled if
snd_phasesep is 0
2000-10-11 23:14:27 +00:00
Bill Currie
7f1c1bb241 add the beginings of phase interpolation (bloody hell, this is getting
complicated :/, I never guessied it would be this tricy to do phase separated
stereo, but I should have :). Without phase interpolation, you get static
whenever the phase separation changes due to gaps in the mixed samples.
2000-10-11 04:55:50 +00:00
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