Commit graph

185 commits

Author SHA1 Message Date
Bill Currie
47d95d245a protect the cvar callback and description fields from being modified once
they have been set to non-defaults.
2001-05-30 02:41:30 +00:00
Bill Currie
f988572c4d lighthalf and gl_lightmode, meet Mr. Chainsaw, he will be your playmate today. 2001-05-29 21:59:02 +00:00
Bill Currie
18fd21da77 merge the particle system 2001-05-29 19:58:35 +00:00
Bill Currie
f0cfc46cb7 model.h:
add a crc field to aliashdr_t
model_alias.c:
	set it for all models
cl_parse.c:
	set the pmodel and emodel info keys to the crcs of the player and eye
	models
2001-05-29 17:37:48 +00:00
Bill Currie
5514f4870e --with-plugin-path now controls where plugins are installed, not just where
to look for them.
2001-05-28 19:30:32 +00:00
Bill Currie
4c5b977902 move cl_math.S into renderer/sw/transform.S (never before realised it was
part of the renderer)
2001-05-26 03:33:09 +00:00
Bill Currie
48278f3a46 fix the spaces in the header 2001-05-25 20:48:51 +00:00
Chris Ison
14fc2d0b6c added GPL comments and fixed missing include in gib_modules.c 2001-05-25 20:31:47 +00:00
Bill Currie
271b400318 finally got pic working. getting the address of a variable using pic seems
to be not so straight forward :/ Anyway, one down, 11 to go.
2001-05-25 20:17:22 +00:00
Bill Currie
f1730d7870 Move VID_ShiftPalette from all the driver files to vid_common_sw.c
Do the palette gamma correction inside VID_UpdateGamma (fixes sw palette gamma)
2001-05-25 16:42:49 +00:00
Joseph Carter
c5735d2f19 A little sanity in gib's header deps. Not much granted, but it's there. 2001-05-25 16:09:14 +00:00
Bill Currie
1038f88a64 disable asm in the software renderer for now. This will allow me to fix the
files one at a time and allow others to use software independent of asm usage
(even if a little slowly (~14% slower on my dual c450)).
2001-05-25 14:57:31 +00:00
Bill Currie
4b3e056429 fix silly typo 2001-05-25 04:06:51 +00:00
Bill Currie
a87c4bbd93 vid.c:
Don't bother checking vid_gamma for CVAR_ROM becuase it is impossible to
	get to VID_UpdateGamma when it is set except for when the cvar is
	initially created, and we /want/ the code to execute in that case.
vid.h:
	add initialized to viddef_t
vid_common_gl.c:
	actually /use/ gammatable (it tends to help)
vid_*.c:
	clean up rendundant decls of gammatable, vid_initialized (now
	vid.initialized) and make sure vid.initialized gets set.
gl_view.c:
	remove gammatable decls
2001-05-25 04:03:47 +00:00
Bill Currie
991ee5090d remove the last vestiges of VID_Gamma_f 2001-05-25 02:44:05 +00:00
Chris Ison
48ae5d5a44 fixed vid_gamma not working in 3dfx 2001-05-25 02:26:30 +00:00
Bill Currie
f83b9be0ba remove redundant vid_gamma_avail decls 2001-05-24 23:49:28 +00:00
Bill Currie
bc8ae8fd37 whitespace 2001-05-24 20:11:34 +00:00
Bill Currie
3c18b50d9c fixes for compiling without assembler 2001-05-24 20:04:39 +00:00
Bill Currie
73e6e1684f FINALLY, the nq and qw renderers are merged. the view and particle subsystems
are not yet merged due to their dependence on the client, but that will come
soon.
2001-05-24 19:22:35 +00:00
Ragnvald Maartmann-Moe IV
964ec6425d whitespace and comment cleanup. 2001-05-24 17:00:08 +00:00
Bill Currie
f21ad90ba4 total nukage of brighten, brightness and contrast. 2001-05-24 16:30:25 +00:00
Bill Currie
a3518d44ed Nuke V_CheckGamma, moving its sole contribution to VID_UpdateGamma in vid.c 2001-05-24 15:48:39 +00:00
Bill Currie
fa6dd2a9f3 now works with autoconf 2.50 2001-05-23 03:01:03 +00:00
Ragnvald Maartmann-Moe IV
a83c3d3af5 Cleanups. 2001-05-22 20:34:03 +00:00
Bill Currie
e48307656a fix for when building server only 2001-05-22 20:17:20 +00:00
Bill Currie
a8e1da5d99 make dist and compile fixes for mingw cross building 2001-05-22 19:13:23 +00:00
Bill Currie
c500fd7479 make dist fixups 2001-05-22 17:09:03 +00:00
Adam Olsen
abd7d79d6b two little bugfixes :) 2001-05-22 15:11:54 +00:00
Zephaniah E. Hull
b264cdd28b Make it actually work? 2001-05-22 12:44:53 +00:00
Ragnvald Maartmann-Moe IV
e7f25dc731 whitespace 2001-05-22 12:31:43 +00:00
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