Commit graph

154 commits

Author SHA1 Message Date
Zephaniah E. Hull
5245f56012 Validate userinfo strings on connect. (Part of a nasty DOS fix.) 2001-05-22 12:00:45 +00:00
Jeff Teunissen
62f57f5f2a Require vid_gamma_avail for gamma switching, not vidmode_avail 2001-05-22 06:14:57 +00:00
Jeff Teunissen
79bee4f773 GL_CheckBrightness() is redundant, don't call it 2001-05-22 06:13:44 +00:00
Adam Olsen
f732cd7932 move x_gamma and vidmode_avail definitions into #ifdef HAVE_VIDMODE.
patch from that kimpornqueen person :)
2001-05-22 05:24:05 +00:00
Bill Currie
a79ab3faf8 abandon the oss write only attempts. 2001-05-21 17:40:12 +00:00
Bill Currie
f38a233786 make snd_oss_rw affect the rest of the places it needs to 2001-05-21 01:12:07 +00:00
Ragnvald Maartmann-Moe IV
a140bd1d13 Whitespace. *grmbl* 2001-05-20 20:52:27 +00:00
Jeff Teunissen
2fa09aa68a Restore hardware gamma on exit. 2001-05-20 00:56:09 +00:00
Jeff Teunissen
5569f04a88 whitespace 2001-05-19 23:24:57 +00:00
Bill Currie
5432983038 ignore generated files 2001-05-19 21:46:02 +00:00
Adam Olsen
aef4cd6da7 do shm = 0 after SNDDMA_Shutdown is called 2001-05-19 08:53:08 +00:00
Bill Currie
5fb17e384b fix the installation location of the plugins 2001-05-19 04:38:03 +00:00
Bill Currie
1e84684f27 fix the alsa plugin building 2001-05-19 02:09:59 +00:00
Adam Olsen
9cc30959e4 Sound now uses runtime plugins. Much thanks to Deek for doing all the
thinking :)
set fs_pluginpath to point to the right dir, and set snd_plugin to pick a sound
plugin.

Current issues:
- alsa 0.5 won't build properly, dunno why
- segfault on exit.  I think I know the cause of this, and how to fix it
- alsa 0.9, gus, sgi, sun, and win32 havn't been tested
2001-05-19 00:05:35 +00:00
Bill Currie
3e2a92af1c allow the mouse to be freed when vid_fullscreen changes from 1 to 0 2001-05-18 17:11:30 +00:00
Adam Olsen
2e11cbb8a4 some sdl audio tweaks that made it work with artsc output
thought I commited these before.. (where have we heard that before?) ;)
2001-05-17 23:21:26 +00:00
Bill Currie
eb95bcae84 move the gib language out of nq and into its own dir (hehe, libQFgib:) 2001-05-17 21:45:56 +00:00
Bill Currie
4cd29c2ff8 don't go fullscreen when already fullcreen 2001-05-17 20:57:29 +00:00
Bill Currie
306d6db39b if ... if -> if ... else if 2001-05-17 20:05:36 +00:00
Adam Olsen
c21f9d614a removed "in thinger" :) 2001-05-17 10:08:00 +00:00
Bill Currie
749270a52a vid_fullscreen toggling thanks to james411 2001-05-17 09:56:43 +00:00
Bill Currie
9bea21a930 first stab at doing vid_mode the right way, thanks to james111
(James Andariese - james@ja.ath.cx) doesn't quite work properly for all
window managers, but NICE :)
2001-05-17 06:55:47 +00:00
Bill Currie
4606c6c63a new automake conditionals: BUILD_GL and BUILD_SW for use in places where it
matters (eg, selecting whether to build the gl and or sw specific model code)
2001-05-17 03:48:31 +00:00
Bill Currie
d16dc87dfa fix oss' device openning mode. defaults to write only, but read/write can be
selected by setting snd_oss_rw (need better name?) to non-zero
2001-05-16 18:59:31 +00:00
Bill Currie
8f4394de4f various merge cleanups including moving the contents of R_Textures_Init into
Mod_Init
2001-05-16 17:08:56 +00:00
Bill Currie
879a133c19 forward port the x11 repeat fix 2001-05-14 05:37:47 +00:00
Bill Currie
44317f299e merge gl_mesh.c into libQFmodels 2001-05-11 05:59:17 +00:00
Bill Currie
f5016790d4 forgot to compile test first :/ 2001-05-10 15:34:29 +00:00
Bill Currie
d3d3a1c451 finish the model merge 2001-05-10 15:29:29 +00:00
Bill Currie
e12879c55b fixup dependency checking 2001-05-10 06:05:54 +00:00
Bill Currie
2c07108c65 model loading code merge. dragged in smoe merges and cleanups of d_iface.h,
r_local.h, r_shared.h, client.h and render.h at the same time (couldn't get
away from that:/) verly likely to be lots of breakage (eg, player and eye
models are NOT checksummed atm), but everything builds
2001-05-10 06:01:11 +00:00
Bill Currie
e118a9136a forgot these :P 2001-05-08 20:57:07 +00:00
Bill Currie
b5df1c816a move fnmatch.c and dirent.c to libQFutil 2001-05-08 20:53:25 +00:00
Ragnvald Maartmann-Moe IV
b10ea42970 Update alsa support for most recent API changes. Old version temporarily left in as comments. 2001-05-08 17:16:49 +00:00
Bill Currie
330ff44eef fix for older systems again :) (atleast means >= rather than > ) 2001-05-07 16:31:19 +00:00
Bill Currie
cc68e1a12e qf now links with NO optimisation (not even -O). R_CullBox has been moved from
glquake.h to mathlib.h (along with the declaration for frustum) and the
extern inline keyworws protected by an ifndef so that mathlib.c can cause
R_CullBox to be compiled publicly. The definition of frustrum has been moved
from its verious locations into mathlib.c.
2001-05-07 04:08:34 +00:00
Zephaniah E. Hull
8e40444434 Compile fix for the Debian sid SDL version compile. 2001-05-02 08:52:20 +00:00
Adam Olsen
0dee26397c Make sdl audio work. And despite claims, it's not actually bad
(except for esd, but that's not sdl's fault).
I havn't tested it with other hardware or different config variables,
and I've experienced the occasional hang or segfault on exit, so
feedback is very welcome. :)
2001-04-27 07:41:47 +00:00
Bill Currie
58afc88122 link libQFutil.so against libdl 2001-04-25 20:53:09 +00:00
Jeff Teunissen
c364e1c3cf The first version of the QF Plugin API. Version 1.0 supports input and
sound (digital audio, that is, not CD) plugins right now, more to come
later.
2001-04-24 22:19:42 +00:00
Bill Currie
0b117b7133 *sigh*, well, it turns out that even id's qc is borked when it comes to
unallocated entities, so make 0xdeadbeef optional (pr_deadbeef 1 to turn it
on).
2001-04-22 04:58:33 +00:00
Bill Currie
4be4e5ccf6 clear not-yet allocated entities to 0xdeadbeef 2001-04-20 17:51:57 +00:00
Bill Currie
1b972cb132 clear freed entities to 0xdeadbeaf instead of 0 2001-04-19 22:42:01 +00:00
Bill Currie
00e510b96e --without-clients no longer builds client only libs 2001-04-18 18:04:22 +00:00
Bill Currie
527471a7de *-wgl finally links (who knows if it works?:) and some more conceptual
cleanup
2001-04-17 15:55:33 +00:00
Adam Olsen
853fbb4242 Change commented out Con_Printf statements in Cache_Move into
Con_DPrintf statements, so they can be used in debugging without
recompiling.  And no, there's no performance issue.
2001-04-17 08:39:44 +00:00
Bill Currie
dbca31519f qw-client-wgl and nq-wgl get to (but fail) the link stage 2001-04-17 06:55:50 +00:00
Bill Currie
1dcaf3bb3f fix the black pit of despair (sorry, Despair:) (same issue as vid_fbdev) 2001-04-17 06:21:40 +00:00
Bill Currie
0f98db9e5a missed this one 2001-04-17 06:14:08 +00:00
Bill Currie
f5c01925d4 d_8to16table moved to vid_common_sw.c and fix vid_fbdev blackness (must call
VID_InitGamma before VID_SetPalette)
2001-04-17 06:13:51 +00:00