Commit graph

200 commits

Author SHA1 Message Date
Ragnvald Maartmann-Moe IV
c44715fe21 Fix use of read/write to write-only for sound, and whitespace cleanup. 2000-12-08 00:04:44 +00:00
Bill Currie
75971a4fed cvar doc patches from Misty 2000-12-07 03:02:13 +00:00
Bill Currie
81b848977a showtime patches from Misty 2000-12-07 00:06:45 +00:00
Ragnvald Maartmann-Moe IV
bc6f3bbb14 Added frikac's chasecam improvements from quakesrc.org. 2000-12-05 05:59:20 +00:00
Bill Currie
ba6d26302a no more IDGODS or idgods 2000-12-03 04:57:23 +00:00
Bill Currie
c8483de74f fix the 0 byte udp packet DoS bug (for linux, anyway: mods from ProQuake
applied for windows, but I can't test).

In, linux, the problem was caused by nuq checking to see if there were any
bytes to be read and if there were 0 bytes, just carying on without reading
anything. It seems that the 0 byte packet was blocking the queue and so a 0
byte recvfrom is needed to make sure it gets removed.
2000-11-24 20:36:37 +00:00
Ragnvald Maartmann-Moe IV
9a53a2d328 Removed unnececessary glu.h includes, GLU isn't used in quakeforge. 2000-11-09 16:58:36 +00:00
Bill Currie
df9e956e69 add needed client.h as found by Dietrich_Joerg@t-online.de 2000-11-08 19:21:03 +00:00
Bill Currie
760d286508 part 4 2000-11-04 03:24:37 +00:00
Bill Currie
99e07ff31d oops :( 2000-11-04 03:21:05 +00:00
Bill Currie
f1b4a4646e part 3 2000-11-04 03:19:54 +00:00
Bill Currie
4011c49f27 part 2 :/ 2000-11-04 03:18:35 +00:00
Bill Currie
0db5742eaa getting it to compile part 1 of N 2000-11-04 03:18:03 +00:00
Bill Currie
1174f164fa should have done the `port' after fixing this in newtree, not after :/ 2000-11-03 16:50:23 +00:00
Ragnvald Maartmann-Moe IV
0625a77dab Make ggi renderer compile again.
Mostly missing headers, plus important line commented out in configure.in.
2000-11-02 17:15:21 +00:00
Bill Currie
d428926cca port over newtree's vid system. works, but doesn't seem fully functional yet 2000-10-31 00:11:59 +00:00
Dan Olson
b8e5b2807b Change window caption from 'sdlquakeworld' to 'SDLQuake' 2000-10-29 20:52:55 +00:00
Dan Olson
7409dd7658 Make SDL jive with X11's default window size 2000-10-29 20:51:21 +00:00
Bill Currie
8d1b5efd1d bring over from newtree 2000-10-27 19:06:15 +00:00
Jeff Teunissen
5553c1ab5a Finally get rid of bogus outb def 2000-10-27 10:56:32 +00:00
Jeff Teunissen
336d0fbee0 lcd_x 2000-10-27 10:55:04 +00:00
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