do as much autodetection as possible, giveing the nicest sound possible
May need special handing for old cards that can only do mono at 44100,
but can do stereo at 22050 (eg sbpro). Depends on how alsa handles
these. It is prefereable to have 22050 stereo over 44100 mono.
common/snd_dma.c:
fixed passing structure instead of address of structure to Q_memset.
vid_sunx.c - If can't get big enough shared memory image, try to get a
non-shared image (this is more of a problem with 24-bit than 8-bit - should
add a -bpp command for the SW targets)
glquake.h - combined version of {uquake,qw_client}/glquake.h
i *hope* this works....
Here's the patch for fixing the _windowed_mouse cvar
on SDL binaries. Its now set by default to "0" to
match the default value in vid_x.c and
gl_vidlinuxglx.c.
#undef HAS_DGA until DGA extension is being properly used.
Added dgamouse variable.
Changed options_items into VID_options_items.
Made it start at 0 instead of 13.
Removed DGA code in VID_ExtraOptionCmd(). It doesn't do what it's supposed
to do, and DGA is not the right way to do it.
now requires XMESA and DGA to do fullscreen switching,
although it shouldn't need XMESA in the future if you have DGA.
(XMESA needs DGA as a fallback, or that would be a bug in itself)
--
Eric Windisch
target's video file. These functions are VID_ExtraOptionDraw() and
VID_ExtraOptionCmd(int options_cursor).
These are to help modulize the option menu a bit, now all you have to do is
define #OPTIONS_ITEMS to one more then the number of items there are (this
is done in your target's vid*.c/gl_vid*.c file)
I also removed a bunch of #ifdefs, although a few #ifdef _WIN32's remain.
--
Eric Windisch
added extern for soundtime. Don't really know wy it wasn't there in the
first place.
qw_client/Makefile.in uquake/Makefile.in:
make the alsa objects say the right thing: snd_dma.c and snd_alsa.c
common/snd_alsa.c:
New file. makes things go.
added "Portions" statement to the copyright statement
Please note, if you want to put a copyright notice on a source file stating that a portion of it is copyright yourself or another author please put "Portions Copyright...", if adding a seperate .c file that contains otherwise author(s) this doesn't apply.