Commit graph

120 commits

Author SHA1 Message Date
Bill Currie
330ff44eef fix for older systems again :) (atleast means >= rather than > ) 2001-05-07 16:31:19 +00:00
Bill Currie
cc68e1a12e qf now links with NO optimisation (not even -O). R_CullBox has been moved from
glquake.h to mathlib.h (along with the declaration for frustum) and the
extern inline keyworws protected by an ifndef so that mathlib.c can cause
R_CullBox to be compiled publicly. The definition of frustrum has been moved
from its verious locations into mathlib.c.
2001-05-07 04:08:34 +00:00
Zephaniah E. Hull
8e40444434 Compile fix for the Debian sid SDL version compile. 2001-05-02 08:52:20 +00:00
Adam Olsen
0dee26397c Make sdl audio work. And despite claims, it's not actually bad
(except for esd, but that's not sdl's fault).
I havn't tested it with other hardware or different config variables,
and I've experienced the occasional hang or segfault on exit, so
feedback is very welcome. :)
2001-04-27 07:41:47 +00:00
Bill Currie
58afc88122 link libQFutil.so against libdl 2001-04-25 20:53:09 +00:00
Jeff Teunissen
c364e1c3cf The first version of the QF Plugin API. Version 1.0 supports input and
sound (digital audio, that is, not CD) plugins right now, more to come
later.
2001-04-24 22:19:42 +00:00
Bill Currie
0b117b7133 *sigh*, well, it turns out that even id's qc is borked when it comes to
unallocated entities, so make 0xdeadbeef optional (pr_deadbeef 1 to turn it
on).
2001-04-22 04:58:33 +00:00
Bill Currie
4be4e5ccf6 clear not-yet allocated entities to 0xdeadbeef 2001-04-20 17:51:57 +00:00
Bill Currie
1b972cb132 clear freed entities to 0xdeadbeaf instead of 0 2001-04-19 22:42:01 +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
Adam Olsen
853fbb4242 Change commented out Con_Printf statements in Cache_Move into
Con_DPrintf statements, so they can be used in debugging without
recompiling.  And no, there's no performance issue.
2001-04-17 08:39:44 +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
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
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
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
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
Bill Currie
4ae2ad2949 qw-client-wgl now builds (nq-wgl next) 2001-04-11 05:10:42 +00:00
Bill Currie
12c14bd71f split up console like sys was 2001-04-11 05:10:04 +00:00
Bill Currie
fa936b1713 back out rhamph's premature commit 2001-04-11 04:17:55 +00:00
Bill Currie
09271f061a somehow missed this earlier 2001-04-11 03:55:48 +00:00
Adam Olsen
c45a4d2550 fix harmless cut&paste error 2001-04-11 03:22:52 +00:00
Bill Currie
f36fa31ba2 build snd_mixa.S at all times. it does the right thing when no intel asm is
wanted.
2001-04-11 03:16:01 +00:00
Bill Currie
9cd83e178f various fixes for out-of-srcdir building
configure.in:
	foo/Makefile MUST come before foo/bar/Makefile or foo/bar will NOT be
	created.
libs/*...*/Mkaefile.am: add INCLUDES so $(top_scrdir)/include gets searched
{qw,nq}/source/Makefile.am: fix fbset compiling (and cleaning for nq)
2001-04-11 03:09:24 +00:00