Commit graph

80 commits

Author SHA1 Message Date
Bill Currie
17b6e171fd make sure gcc likes the optimisation options. Unfortunatly, if even one causes
a problem, all will be lost, but at least qf will compile.
2001-07-09 16:56:01 +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
b4ac2446a1 Put knghtbrd's sys cleanup changes back in, but with Sys_MakeCodeWriteable
in sys/util.c rather than limbo (the crux of the problem that caused the
previous reversal). I'll look into his Sys_Printf changes next.
2001-07-05 03:28:40 +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
Adam Olsen
72d16d7713 remove extra space from "CD Audio system: " line. 2001-06-26 11:37:57 +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
Jeff Teunissen
2eefacd6f9 Rev for 0.5.1, disable -fbdev by default (use --with-fbdev to enable) 2001-06-20 19:52:13 +00:00
Joseph Carter
344162547f Okay, it helps if you don't anything out when you commit a fix. 2001-06-18 01:06:50 +00:00
Joseph Carter
366f3db496 kgcc should not be used if gcc is 2.96 anymore except on some systems that
are still broken.  Using kgcc on systems not broken actually breaks them!
Thank you Red Hat Software, another breakage for some people without a
portable and reliable fix.  We really appreciate it.  Are you guys trying
to compete with Mandrake for most broken and inconsistant build system?  A
piece of advice, let them have that feature all to themselves.
2001-06-18 00:14:26 +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
Jeff Teunissen
3960e1e460 Oops, missed one. 2001-06-10 23:56:24 +00:00
Jeff Teunissen
37ad61be4d Change the $(command) stuff back to command. Bashism. 2001-06-10 23:50:46 +00:00
Bill Currie
05cf89dd5d make progs type checking optional at configure time. still defaults to on. 2001-06-08 00:11:54 +00:00
Bill Currie
8cbf3b2b62 --disable-sdl 2001-06-07 06:55:03 +00:00
Bill Currie
ab9e025078 don't build cd or sound libs/plugins when not building clients 2001-06-07 03:37:05 +00:00
Bill Currie
6abc7e77ad don't build cd and sound libs when not building clients 2001-06-07 01:28:27 +00:00
Bill Currie
735a35b2f9 compile fixes from Artur Frysiak <wiget@pld.org.pl> 2001-06-05 17:23:03 +00:00
Ragnvald Maartmann-Moe IV
85333a9f96 Convert cd audio libs to plugins. Windows untested, dos and sgi not converted yet. 2001-06-01 22:55:33 +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
4babd979d6 nuke --enable-packetlog in favor of a net_packetlog cvar so packetlogging is
always available. also change the packet log open mode from truncate to append.
2001-05-31 02:43:48 +00:00
Bill Currie
d523cb92c7 clean up --with-plugin-path a little and make it depend on libdir instead
of exec_prefix (removes the hard-coding of lib)
2001-05-28 21:22:15 +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
792aac270c autoconf 2.50 doesn't seem to like nested AC_CHECK_FUNC calls 2001-05-27 01:56: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
fa6dd2a9f3 now works with autoconf 2.50 2001-05-23 03:01:03 +00:00
Bill Currie
c500fd7479 make dist fixups 2001-05-22 17:09:03 +00:00
Ragnvald Maartmann-Moe IV
0b587c3e6f Attempt to fix -3dfx configure.in issues. 2001-05-21 07:02:30 +00:00
Ragnvald Maartmann-Moe IV
13279da4f1 At Mercury's request, undo his last configure.in change. 2001-05-21 06:42:06 +00:00
Zephaniah E. Hull
e9a2509837 Deal with the case of no -lX11 but with a valid libGL, for -3dfx. 2001-05-21 06:27:01 +00:00
Ragnvald Maartmann-Moe IV
bfbcf8fac2 attempt to get the sdl audio lib to compile automatically if SDL is present. Works For Me, Your Mileage May Vary (incredibly). 2001-05-19 07:28:04 +00:00
Zephaniah E. Hull
e2600e4719 Fixed the with-plugin-path option. 2001-05-19 03:41:22 +00:00
Adam Olsen
9cc30959e4 Sound now uses runtime plugins. Much thanks to Deek for doing all the
thinking :)
set fs_pluginpath to point to the right dir, and set snd_plugin to pick a sound
plugin.

Current issues:
- alsa 0.5 won't build properly, dunno why
- segfault on exit.  I think I know the cause of this, and how to fix it
- alsa 0.9, gus, sgi, sun, and win32 havn't been tested
2001-05-19 00:05:35 +00:00
Bill Currie
eb95bcae84 move the gib language out of nq and into its own dir (hehe, libQFgib:) 2001-05-17 21:45:56 +00:00
Bill Currie
011b16144e check for the availability of usleep 2001-05-17 18:29:22 +00:00
Bill Currie
4606c6c63a new automake conditionals: BUILD_GL and BUILD_SW for use in places where it
matters (eg, selecting whether to build the gl and or sw specific model code)
2001-05-17 03:48:31 +00:00
Bill Currie
78440a5fc2 add the beginnings of quakeforge-config ala gtk-config 2001-05-16 20:38:38 +00:00
Bill Currie
2c07108c65 model loading code merge. dragged in smoe merges and cleanups of d_iface.h,
r_local.h, r_shared.h, client.h and render.h at the same time (couldn't get
away from that:/) verly likely to be lots of breakage (eg, player and eye
models are NOT checksummed atm), but everything builds
2001-05-10 06:01:11 +00:00
Bill Currie
b5df1c816a move fnmatch.c and dirent.c to libQFutil 2001-05-08 20:53:25 +00:00
Joseph Carter
380a40073e A couple configure fixes - 3dfx should actually function properly now. I
also fixed a typo which may or may not have caused some breakage for -lGL
under certain circumstances.
2001-05-07 03:23:28 +00:00
Jeff Teunissen
1a067ecaac Fix a bug in configure that's been nagging me. 2001-05-07 02:43:10 +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
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
06acd3db1c massivly speed up qw/source/Makefile creation, and Makefile.in, too. ASM_ARCH
and PACKETLOG are gone from Makefile.am as the first was really redundant
and the latter now is.
2001-04-18 21:02:02 +00:00
Bill Currie
00e510b96e --without-clients no longer builds client only libs 2001-04-18 18:04:22 +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
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
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
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