Commit graph

1523 commits

Author SHA1 Message Date
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
c59951b046 fix sw nq 2001-04-16 20:38:51 +00:00
Bill Currie
3e484da3b8 -x11 now works (qw, anyway) 2001-04-16 19:25:55 +00:00
Adam Olsen
311cbdbe59 Fix so building statically (--disable-shared) works. 2001-04-16 17:45:35 +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
Zephaniah E. Hull
61f369be94 Minor compile fixes. 2001-04-16 07:04:54 +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
a0ab26ff6b merge screen.h 2001-04-15 07:47:49 +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
20e0961ed2 *whack* Die Mole Die!!! 2001-04-15 06:18:06 +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
Ragnvald Maartmann-Moe IV
dbf0e3130e Quash more cvs add/remove oddities. 2001-04-15 05:18:23 +00:00
Ragnvald Maartmann-Moe IV
554308e51d Makefile updates. 2001-04-15 05:17:09 +00:00
Ragnvald Maartmann-Moe IV
2c282b17c4 Die, dammit! 2001-04-15 05:04:16 +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
Ragnvald Maartmann-Moe IV
38a114fdb3 More merge madness. 2001-04-15 04:54:44 +00:00
Ragnvald Maartmann-Moe IV
84461e1f1f More merging. 2001-04-15 04:45:07 +00:00
Bill Currie
6a696881b3 these are now in libs/video/targets 2001-04-15 04:40:09 +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
bd0fab4ce1 vid_wgl in qw now uses vid_common_gl. probably doesn't work
compile fix for merged glquake.h in vid_wg.c in nq
2001-04-15 03:17:03 +00:00
Timothy C. McGrath
9f583076f8 Made necessary changes to includes to get files to compile, got
directions from despair :)

Misty-chan
2001-04-15 00:39:29 +00:00
Bill Currie
5859b3dd1f merge glquake.h. Rather messily done, but it works and all clashes were
sorted out on the nq side assuming that qw did it right (which it does:)
2001-04-14 21:22:08 +00:00
Bill Currie
c0507f5610 update for the lastest alsa pcm mmap api. not as bad as at first appearance 2001-04-14 02:30:30 +00:00
Bill Currie
8fef64c064 V_CheckGamma WILL get called before vid_gamma gets set in gl, so protect
against that circumstance.
2001-04-14 02:27:19 +00:00
Bill Currie
fa99cb304b forgot to add it to GLX_LIBS 2001-04-14 02:06:02 +00:00
Bill Currie
c46f1046f0 add -lXext to the glx test link lines 2001-04-14 01:52:10 +00:00
Bill Currie
475a0b0d4a must not call snd_pcm_mmap_forward with a count of 0
this fixes the alsa assert at slower rates
2001-04-13 08:08:41 +00:00
Jeff Teunissen
bffe67977c Gamma cleanups. Brightness and contrast are gone from software, since they
won't work with proper gamma control anyway.
2001-04-13 08:02:11 +00:00
Bill Currie
9a2df9a2d5 use hash tables in Skin_Find 2001-04-13 06:56:45 +00:00
Ragnvald Maartmann-Moe IV
9ff89960f2 Fix hw gamma in -sgl. 2001-04-13 06:53:35 +00:00
Chris Ison
1b40eb715a fixed m_filter CVAR type, started on gamma for 3dfx 2001-04-13 04:25:06 +00:00
Bill Currie
deac792513 damn, not only did that not fix the problem, I broke stuff 2001-04-13 03:33:56 +00:00
Bill Currie
ee7d43f6ae fix the "Couldn't load skin skins/dvc-c.pcx" skins problem 2001-04-13 01:45:37 +00:00
Bill Currie
5278f9fd73 put the gamma code into vid.c where (IMO) it should have been.
give vid_fbdev VID_SetGamma
mame vid_common_gl and vid_common_sw of their gamma code (vid_common_sw is
now empty:/)
rewrite VID_InitGamma to do the right thing with cvars with callbacks
gl clients have [temporarily?] lost the CVAR_ROM on vid_gamma
2001-04-12 23:44:56 +00:00
Bill Currie
f37b007da2 nuke the memset in Hunk_HighAllocName 2001-04-12 23:39:23 +00:00
Bill Currie
6b3b94bafc sound crashing bug fixes
snd_dma.c, {nq,qw}/source/cl_parse.c:
	change the type of snd_worldmodel from * to ** and init snd_worldmodel
	with the ADDRESS of cl.worldmodel so its changes get seen by snd_dma
snd_mixa.S:
	picize
2001-04-12 06:53:07 +00:00
Ragnvald Maartmann-Moe IV
3a395dd87f Fix black screens in -sdl, and lack of gamma correction in -sgl. 2001-04-12 06:26:14 +00:00
Timothy C. McGrath
f35a629c61 Since the lights are usable now, I'm changing my config :)
Misty-chan
2001-04-12 04:08:49 +00:00
Ragnvald Maartmann-Moe IV
f2435b8a64 Round, rather than truncate. 2001-04-12 03:48:26 +00:00
Bill Currie
a3215e4dd0 at long last, nq-wgl builds. probably as broken as hell, though 2001-04-11 21:55:27 +00:00