Bill Currie
1c9e1b176f
fear the mighty const correct patch
2001-07-15 07:04:17 +00:00
Adam Olsen
ac46e5b49d
oops, sys_dump_core instead of sys_dumpcore
2001-07-15 01:45:03 +00:00
Adam Olsen
cb133ddf93
Add support for core dumping to X11 targets. set sys_dump_core to 1, and
...
ulimit -c to a sufficiently high value. (I get ~20 meg cores)
2001-07-14 03:15:14 +00:00
Bill Currie
62a4b86001
d'oh
2001-07-06 00:17:09 +00:00
Bill Currie
245d81420d
make sound blocking cvar controlled (in_snd_block, default off, archived) and
...
pause the cd as well.
2001-07-05 20:35:42 +00:00
Bill Currie
fc09d2b00f
port Bruce Momjian's patches from newtree with a less incestuous
...
implementation of his sound/focus patch. NOTE: only alsa 0.9 is tested
(Rhamph, can you test 0.5, please?) and only the alsa drivers stop the
hardware right ow.
WARNING!!! you /will/ have to re-install your plugins, or you will get
segfaults when the window gains/loses focus.
How do you tell if a window has focus on first mapping in X11?
2001-07-05 20:18:23 +00:00
Bill Currie
c38ca8e2f1
qfplist.h:
...
remove include of glob.h. not needed and causes win32 build to fail
plugin.c:
include compat.h and cast the return of GetProcAddress
gl_funcs.c:
fix parse error and type mismatch
qfgl_ext.c:
half re-write QFGL_ExtensionAddress to use QFGL_ProcAddress
vid_wgl.c:
fix for the new gl linking
2001-07-05 17:28:19 +00:00
Joseph Carter
fb8d04eca2
Fix -sgl's glFlush
2001-07-01 00:11:24 +00:00
Joseph Carter
515f449a39
Sun-specific code is dead. Sun boxes should work fine with -x11 and -glx
...
as it is. Left snd_sun, which looks useful for something.
2001-06-29 08:01:12 +00:00
Joseph Carter
11257134c0
dos is dead, really. This has never worked, and would need a full rewrite
...
from scratch before it would anyway. That's not likely, so say goodbye!
2001-06-29 07:56:36 +00:00
Chris Ison
9bb956b29c
libGL (mesa) now dynamic for -3dfx
2001-06-29 03:27:18 +00:00
Chris Ison
85d2176bb6
make -3dfx compile again, may need fixing for mesa specific functions listed in vid_3dfxsvga.c
2001-06-29 02:10:52 +00:00
Jeff Teunissen
06227cf37d
Portability fixes, also use the new ProcAddress setup.
2001-06-27 07:52:00 +00:00
Zephaniah E. Hull
908d265212
Clean up and repair of the run time linking, does NOT work until deek
...
commits his gl_funcs.c.
2001-06-26 02:26:46 +00:00
Jeff Teunissen
5e1de4c8a7
Clean up gl_funcs.c, it's actually readable now. Unfortunately, it sig11s
...
for me. This may be due to the NVIDIA libGL problem (which they claim is a
bug in libc), but it could very well be that Mercury was right and we
can't have the same names internally as the libGL names. Even so, this
code will probably work on Windows.
2001-06-25 09:32:08 +00:00
Jeff Teunissen
3fbfa27fcd
Woohoo. The QFGL_* function prefixes are gone again from the tree. It
...
might even work under Windows now, but don't get your hopes too high. :)
2001-06-25 06:17:07 +00:00
Joseph Carter
5184d64134
Fixed for very late OpenGL binding
2001-06-24 12:47:05 +00:00
Zephaniah E. Hull
3715430479
This is changing more then I wanted to at once, however.
...
The major change is that we no longer require libGL to even exist on the
system at compile time for the GL targets, we dynamicly link to the
libGL of choice at run time. (This probably breaks most non-linux
systems, and all GL targets except -glx, some fixup will be needed.)
(This also kills glquake, dead dead DEAD! GONE FOREVER! WHEE!)
Some gl_draw cleanup.
Commented out equake alias model occlusion test stuff, very experimental.
Added the .lo and .la patterns to the .gitignore files.
Some minor sbar cleanup. (We don't use the disc in use symbol for
anything.)
2001-06-24 09:25:55 +00:00
Bill Currie
560b475880
gcc 3.0 compile fixes
2001-06-19 22:05:13 +00:00
Bill Currie
8c13809e9c
don't process .S files when not using asm (either --disable-asmopt or non-x86
...
platforms). Done by moving the asm objects into libasm.la (yes, there's one in
each dir that needs it) so that the Makefiles don't explode.
2001-06-14 19:52:38 +00:00
Bill Currie
b9f35283f4
make dist fixes + a --disable-asmopt fix for mingw
2001-06-08 02:47:30 +00:00
Bill Currie
b2cd7c6c36
refine the test for compiling outb
2001-06-07 23:03:10 +00:00
Bill Currie
3b2cf03b99
mingw compile fixes (vid_wgl.c isn't the right thing)
2001-06-07 16:44:22 +00:00
Bill Currie
e9c01870b3
provide outb for when not optimising
2001-06-07 16:12:21 +00:00
Chris Ison
0ca5fc0c67
just some tidy up, thanx Deek
2001-06-03 12:15:06 +00:00
Chris Ison
3f47a8d0a7
-3dfx brightness changed int to float
2001-06-02 11:17:08 +00:00
Chris Ison
903482c923
-3dfx brightness +setrom tdfx_brighten #, 2 with gamma 2 is nice
2001-06-02 10:43:38 +00:00
Bill Currie
7ad0f7ed2b
various compile fixes for mingw.
2001-06-01 00:39:31 +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
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
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
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
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
Bill Currie
5a80ce90f5
fix the -Wno-error issue and vid_fbdev.c is a little closer to compiling
2001-04-15 05:04:03 +00:00
Bill Currie
9d8c1d33c0
these are generated, so aren't needed in cvs
2001-04-15 04:36:27 +00:00
Ragnvald Maartmann-Moe IV
66fafd3e0e
First stage of video and input system merge. The city has collapsed, wreckage sifting ensues...
2001-04-15 04:18:22 +00:00
Bill Currie
f7d9c1e8fc
joy_win.c now builds, but very likely does not work AT ALL. also fix qw's
...
in_win.c for the new input api
2001-04-11 21:06:37 +00:00
Bill Currie
b025bb32e1
first steps
2001-04-11 19:56:01 +00:00
Bill Currie
99fd4ab464
libs/video/targets/Makefile.am:
...
out-of-tree compile fixes
nq/source/Makefile.am:
missed the -lqfsys
2001-04-11 16:47:08 +00:00
Bill Currie
ebb7b6310a
view.h:
...
it seems somebody forgot to commit this. just compied direct from qw
libs/video/targets/.gitignore:
better ignore rules
nq/source/Makefile.am:
libqfsys.a is dead :)
the rest:
gamma compile fixes
2001-04-11 16:19:08 +00:00
Ragnvald Maartmann-Moe IV
f789b61c56
Merged joystick code. Great deal of cleanup in input, reduced bizarre overuse of protocol.h...
...
Maimed joy_win.c, very likely to get odd behavior there, even if it compiles.
2001-04-11 07:57:08 +00:00