Bill Currie
18fd21da77
merge the particle system
2001-05-29 19:58:35 +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
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
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
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
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
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
Jeff Teunissen
2fa09aa68a
Restore hardware gamma on exit.
2001-05-20 00:56:09 +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
Bill Currie
4cd29c2ff8
don't go fullscreen when already fullcreen
2001-05-17 20:57:29 +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
879a133c19
forward port the x11 repeat fix
2001-05-14 05:37:47 +00:00
Bill Currie
330ff44eef
fix for older systems again :) (atleast means >= rather than > )
2001-05-07 16:31:19 +00:00
Zephaniah E. Hull
8e40444434
Compile fix for the Debian sid SDL version compile.
2001-05-02 08:52:20 +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
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
Chris Ison
4b19a1967d
fixed no mouse movement in in_svgalib.c
2001-04-17 06:05:30 +00:00
Chris Ison
ba1408d56d
fixed seg cause of uninitialized cvar in_freelook. Also remove double initialization of sensitivity and lookstrafe
2001-04-17 03:08:52 +00:00
Bill Currie
3e484da3b8
-x11 now works (qw, anyway)
2001-04-16 19:25:55 +00:00
Bill Currie
b5344adab4
fix "make install". the problem was caused by automake getting confused and
...
thinking the video libs were convenience libs because they weren't mentioned
directly on the lib_LTLIBRARIES line. Until automake is made a little smarter,
force the libs to be built properly.
2001-04-16 16:11:45 +00:00
Bill Currie
df386f31f9
compile fixes for older systems
2001-04-16 15:57:43 +00:00
Bill Currie
065649e488
rework VID_InitBuffers to use callback to init the draw buffers.
...
Unfortunatly, this means that VID_InitBuffers needs to be called twice during
startup (once in VID_Init, and once in D_Init).
2001-04-16 09:12:21 +00:00
Bill Currie
f9c9e4fba7
everything except *-3dfx (unknown status) now builds
2001-04-16 03:55:44 +00:00
Bill Currie
0b5b3b03a4
move GL_CheckBrightness into vid_common_gl.c
2001-04-15 21:19:05 +00:00
Bill Currie
6fcf8395ca
FBDEV GLX SVGAlib X11 all build, but nq-glx doesn't link yet due to some
...
changes between nq and qw (gl_mtexable, texture_mode and GL_CheckBrightness)
2001-04-15 21:11:41 +00:00
Bill Currie
36cbe70826
vid libs build but probably don't work yet (I KNOW x11 doesn't) lots of
...
build failures in the main source still
2001-04-15 08:04:15 +00:00
Bill Currie
7e67fd56f3
getting closer to building the vid libs.
...
in_common.c is the main input interface. in_x11 has been modified suitably
2001-04-15 07:18:04 +00:00
Ragnvald Maartmann-Moe IV
a4db2f0e5b
Damn the moles.
2001-04-15 06:43:11 +00:00
Bill Currie
ad8831fdb0
correct the vid target selection logic
2001-04-15 06:29:57 +00:00
Ragnvald Maartmann-Moe IV
6c65be497e
Hopefully fix attempts to compile video libs that aren't possible.
2001-04-15 06:04:02 +00:00
Ragnvald Maartmann-Moe IV
778f0c129c
Finish move of vid.c to libs, kill a few stragglers.
2001-04-15 05:36:56 +00:00