Bill Currie
e699f6e888
if progsname is null, assume the progs are already loaded and just process
...
the data.
2001-06-01 21:14:50 +00:00
Bill Currie
7ad0f7ed2b
various compile fixes for mingw.
2001-06-01 00:39:31 +00:00
Adam Olsen
a187032ebf
add #include "QF/cvar.h" for snd_alsa_0_5.c
2001-06-01 00:12:25 +00:00
Bill Currie
06064ec390
compat.h:
...
create a field_offset macro that takes a structure type and a field and
returns the offset of the field within the structure
everything else:
use field_offset to calculate the size of variable sized structs
2001-05-31 18:11:05 +00:00
Chris Ison
ced128e572
fixed #includes in vid_3dfxsvga.c
2001-05-31 11:41:22 +00:00
Bill Currie
828019505e
/me mutters something about old installed headers and search paths
2001-05-31 05:40:25 +00:00
Bill Currie
323015b11a
include/QF header cleanup. including config.h (or any file from include) is
...
a nono because headers in include/QF get installed, but include don't and thus
would break quakeforge-dev.
2001-05-31 05:33:13 +00:00
Bill Currie
6bf58ab1af
no header includes cvar.h now
2001-05-31 03:41:35 +00:00
Bill Currie
940598f240
merge pcx.c, tga.c and wad.c. util seemed the most logical place, but LoadPCX
...
had to be modified to get away from vid.h (better designe now IMO anyway)
2001-05-30 20:56:53 +00:00
Joseph Carter
05adfd0e53
quakefs.h -> vfs.h
...
quakeio.h -> vfile.h
More diff reduction between trunk and my VFS code. Also took the time to
put some headers in order and fix a few #include's pointed out by moving
things around a bit.
2001-05-30 04:34:06 +00:00
Joseph Carter
186d577818
s/QFile/VFile/g - makes my diffs much smaller and more manageable for the
...
VFS work.
2001-05-30 03:21:19 +00:00
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