Commit graph

248 commits

Author SHA1 Message Date
Bill Currie
d3018dd79b move qfprogs in with qfcc (it's going to need to share code) 2004-01-28 05:23:43 +00:00
Bill Currie
60cb2a7494 qnx doesn't need any pthread flags when linking 2004-01-22 06:36:59 +00:00
Chris Ison
160a2af756 cygwin changes to create dlls 2004-01-21 21:21:44 +00:00
Bill Currie
7446967f97 don't need qfdefs any more since the servers now do its job themselves 2004-01-21 20:55:03 +00:00
Bill Currie
ce3c58e238 need to /always/ set ALSA_PLUGIN 2004-01-20 08:26:16 +00:00
Bill Currie
52968be46d ashridah's file based cd plugin (ie, it will play any sound file QF can
load as background music).
2004-01-20 06:58:42 +00:00
Bill Currie
283d49bd8e first chunk of Mike Gorchak's <mike@malva.ua> QNX patches 2004-01-20 05:57:39 +00:00
Bill Currie
f097c2e206 autoconfiscate the alsa plugin name 2004-01-20 05:43:23 +00:00
Bill Currie
e154c9add5 be consistent with WIN32 and _WIN32 (now all _WIN32) 2004-01-20 03:47:27 +00:00
Daniel Anderson
c09420da6b refixed test for HAVE_ALSA 2004-01-19 21:41:52 +00:00
Ragnvald Maartmann-Moe IV
6b76dbfe17 Fix for poor syntax. Thanks mindhog. 2004-01-19 21:21:23 +00:00
Ragnvald Maartmann-Moe IV
a00e371ceb This should get ALSA 0.9 support working again. ALSA 0.9 users please test.
Report any compile or ./configure failures especially. If it reports you have
ALSA0_9, you should be using `set snd_plugin "alsa0_9"`.
2004-01-19 20:37:58 +00:00
Bill Currie
77b2942982 several libs can now get built as dlls in windows: console, gamecode,
gamecode_builtins, gib, image, modules, object, ruamoko and util.
2004-01-19 07:47:41 +00:00
Bill Currie
249aee2e9f move the OO runtime support code from libQFgamecode to libQFruamoko where
it really belongs :)
2004-01-16 08:02:31 +00:00
Bill Currie
01392c78bb move the bulk of what whas libQFcsqc to libQFruamoko. 2004-01-16 05:46:19 +00:00
Chris Ison
0d755a0dd6 dirent.c and dirent.h brought in from cygwin for win32 builds 2004-01-12 02:23:36 +00:00
Bill Currie
44b38c5cb7 add a wad tool along the lines of pak. can't yet be used for wad creation
(that's a little more complicated), but it can be used for listing and
extracting the contents of a wad file. watch out for *foo :)
2004-01-10 08:05:25 +00:00
Bill Currie
e53967b346 --disable-static now works (thanks for the heads-up, raorn) 2003-12-22 20:51:08 +00:00
Brian Koropoff
7598ab35fb Move the QF object system into it's own library, fix up the standard
classes.
2003-12-07 04:50:46 +00:00
Ragnvald Maartmann-Moe IV
894f3974f4 Typos and other legibility improvements. Enjoy the reconfigures & recompiles. Whee! 2003-10-23 03:52:52 +00:00
Ragnvald Maartmann-Moe IV
c4b43c9f74 QuakeForge doesn't need any ooptions. 2003-10-22 20:08:34 +00:00
Chris Ison
392902f5af added SND_NoResampleStereo so that streams that don't need resampling aren't forced to, also added midi support via libWildMidi, MIDI FILES RULE 2003-09-10 05:20:51 +00:00
Bill Currie
0e6c56aa92 drop alsa 0.5 support and rename snd_alsa_0_9.c to snd_alsa.c. also rename
the alsa0_9 plugin to alsa.
2003-09-09 18:43:38 +00:00
Bill Currie
61a2840870 autoconfiscate the png support 2003-09-08 14:32:54 +00:00
Bill Currie
323a6182fd move pcx.c and tga.c out of libQFutil and into libQFimage with the hopes
for more image formats :)
2003-08-15 16:19:10 +00:00
Bill Currie
ce3accd4f1 make gcc 2.95 friendly (OpenBSD seems to still use it) 2003-08-11 16:02:06 +00:00
Bill Currie
7ead5a91f8 don't let gcc automaticly inline functions but make gcc inline bigger
functions when told to. also make gcc warn if it can't inline a function.

Explicitly inline several functions (including moving VectorNormalize to
mathlib.h so it /can/ be) resulting in a 5.5% speedup for spam2 (88 to 92
fps)
2003-08-11 06:05:07 +00:00
Bill Currie
56e79e32b5 configure fixes from MrFixit (+ a buch of "x..." for test) and make
qwaq.dat depend on qfcc
2003-08-06 18:20:48 +00:00
Bill Currie
c1b9f1c814 freebsd is happy with "cpp %d %i %o" 2003-08-06 17:20:46 +00:00
Bill Currie
ff6e0ab1b3 not all systems have _SC_PAGESIZE 2003-07-21 20:51:03 +00:00
Bill Currie
075f270fcb back to -CVS 2003-07-17 22:53:10 +00:00
Bill Currie
78f8e4570b good grief, 0.5.3 not even announced and 0.5.4 getting released :P 2003-07-17 22:35:48 +00:00
Bill Currie
b36bd6a98c not all systems (eg, QNX) that have mprotect have getpagesize 2003-07-17 21:01:25 +00:00
Bill Currie
68357d7fb3 forgot rpm doesn't allow - in the version, so hack around it :) 2003-07-12 07:26:16 +00:00
Bill Currie
42aeb83c32 update version to 0.5.3-CVS 2003-07-10 22:02:06 +00:00
Bill Currie
3537d67eff target_cpu makes much more sense for -march 2003-07-10 05:10:34 +00:00
Bill Currie
855fc53709 handle alloca properly 2003-07-09 06:28:09 +00:00
Bill Currie
acb4e8dd87 try to handle pthread better 2003-06-25 22:41:58 +00:00
Bill Currie
2aee6a7734 preliminary doxygen support 2003-03-10 23:42:27 +00:00
Bill Currie
cbd2c42178 WildCode's win32 sound fixes 2003-03-10 21:21:22 +00:00
Bill Currie
55d61f4269 put the plugins back into ${libdir}/quakeforge ('twas a mis-understanding) 2003-02-12 22:51:14 +00:00
Bill Currie
aee559cd4c don't ask for the qw and nq net libs :P 2003-02-12 15:38:39 +00:00
Bill Currie
21d8b4f8dc link in hw, move the qw and nq networking code into libs/net and make
hw-master use libnetchan. there are evil include hacks that will need to be
taken care of in net*.[ch]
2003-02-11 22:48:57 +00:00
Bill Currie
b141f2b38e move $fs_sharepath/QFplugins to $fs_sharepath/QF/plugins 2003-02-07 22:52:17 +00:00
Bill Currie
3fcc6ae176 a bit more cleanup with more _null deaths 2003-01-31 23:16:28 +00:00
Bill Currie
205933bf7c it was the test that was wrong :P 2003-01-15 17:09:08 +00:00
Bill Currie
e8d8ac8f23 damn, had it right the first time 2003-01-15 17:01:24 +00:00
Bill Currie
5cc9bce4d8 fix a braino left over from a previous itteration 2003-01-15 17:00:14 +00:00
Bill Currie
761a7546dd re-arrange things so __attribute__ and __builtin_expect are properly
autoconfiscated so rcsid will continue to work with gcc 3.3
2003-01-15 15:31:36 +00:00
Bill Currie
71196fedf6 make gcc more anal about prototypes, string constants and function
visibility (ie, global functions must have a prototype)
2003-01-06 18:28:13 +00:00
Bill Currie
c0fbd45968 d'oh, I forgot pthread_attr_setstacksize took two arguments. hope this still
works
2002-11-20 02:15:32 +00:00
Timothy C. McGrath
630a762239 Taniwha fixed a problem for me - gcc on my ps2 at least when -pthread
isn't a valid option does not bomb out with a error status so this is
the workaround.

Tim McGrath (Hikaru/Misty/Misty-chan)
2002-11-20 01:27:03 +00:00
Bill Currie
2a1d8555d2 Import Matthew Wong's bsp2bmp utility using quakeio functions, creating an
image_t type for the line point drawing, ditching the raw and bmp formats
in favor of pcx (for now), and renaming to bsp2img. I plan on working on
getopt, bspfile and other image formats in the future as well as generally
cleaning up the code.
2002-11-18 20:48:29 +00:00
Brian Koropoff
7b0c24a386 Added carne, the stand-alone GIB interpreter. Made a few changes to GIB
to accommodate it.  Added the strict flag to cbufs, which causes an error
to be generated when a command is not found instead of just warning the
user.  GIB buffers have the strict flag set by default.
2002-11-14 02:10:55 +00:00
Brian Koropoff
b40400d59c Moved GIB into libs/gib and made util no longer depend on it. Cleaned up
some cruft from a previous incarnation of GIB.
2002-11-09 07:13:52 +00:00
Bill Currie
7f69f593d3 configure.ac:
define default include and lib paths for qfcc
ruamoko:
	{cl_menu,game}/Makefile.am:
		conform to the new qfcc library linking rules
	lib/Makefile.am:
		install the libs to ${prefix}/lib/ruamoko
qfcc:
	linker.[ch]:
		support path searching for -llib and make linker_add_lib search for
		libfoo.a for -lfoo in the paths, or just a single dir search for the
		libname otherwise.
	options.c:
		support -L libpath and setup the default include and lib paths
		also change most strdup calls to save_string
	qfcc.c:
		check for foo.a as well as -lfoo when deciding whether the file is
		an object file or lib file.
2002-11-01 18:05:12 +00:00
Bill Currie
667efab4e0 clean out the old win32 support. it's obsolete or dead or only semi-legal 2002-10-30 06:06:57 +00:00
Bill Currie
6554701dc9 nuke --with-amd in favor of --with-arch 2002-09-30 21:52:08 +00:00
Bill Currie
fd8f019d57 nuke quakeforge-config.in and quakeforge-config as it's broken and will be
replaced with a better setup (pkg-config)
2002-09-30 18:19:38 +00:00
Ragnvald Maartmann-Moe IV
d88f2a255b Bump version to 0.5.2. 2002-09-30 05:01:10 +00:00
Bill Currie
5904859cca split the base vis functions out of flow.c, add -D_REENTRANT to the compile
for qfvis and a bunch of whitespace
2002-09-24 02:46:03 +00:00
Bill Currie
afa0b21336 Whee, now we have qfbsp. It compiles, but won't work as it hasn't been
`ported' to the new bspfile stuff when it comes to creating/editing a bsp.
2002-09-19 16:58:48 +00:00
Bill Currie
317c02539b macro-ize --with-{clients,servers} and implement --with-tools using the new
macro
2002-09-17 22:19:14 +00:00
Bill Currie
013743931d forgot to remove my debug :P 2002-09-13 21:02:01 +00:00
Bill Currie
3ca9a8042a detect whether to use -pthread or -lpthread 2002-09-13 20:53:49 +00:00
Bill Currie
774b0adc2b get qfvis working, including pthreads 2002-09-12 06:48:05 +00:00
Bill Currie
c784b4375a bring in modelgel, quakeforgeized :) (more work needs to be done, though) 2002-09-11 20:22:17 +00:00
Ragnvald Maartmann-Moe IV
2e3d4a603f Add a --disable-vorbis hack, for people with broken ogg vorbis installs (bleh, just fix it you silly people *grmbl*) 2002-09-01 20:02:12 +00:00
Chris Ison
070aee9a0c added --with-efence 2002-08-27 00:27:33 +00:00
Ragnvald Maartmann-Moe IV
ed2ad9880a Remove some unneeded libraries from qflight/qfvis. 2002-08-26 23:08:34 +00:00
Ragnvald Maartmann-Moe IV
cfedb80d1d Rest of support for qflight/qfvis. bspfile.c and quakefs.c will need cleaning up, compare to previous cvs versions... 2002-08-25 23:10:57 +00:00
Ragnvald Maartmann-Moe IV
5567a694d3 Whitespace, plus hopefully make it more clear when Ogg Vorbis support isn't being compiled. 2002-08-25 20:47:13 +00:00
Bill Currie
099e2739b5 various msvc fixes thanks to muzzy (hope he doesn't give up:) 2002-08-20 19:16:11 +00:00
Bill Currie
d850f0a529 build qfdefs by default now. remember to bootstrap and configure 2002-08-18 04:35:31 +00:00
Bill Currie
300f638647 finalize the move of the menu code 2002-08-16 22:58:44 +00:00
Bill Currie
f8e365553f should have committed this with the previous commit 2002-08-16 21:58:48 +00:00
Bill Currie
75ec07705c bugger the dependencies, I want to be able to use this stuff for the menus! 2002-08-15 19:08:44 +00:00
Jeff Teunissen
87fd1adadb Enable compiling the null plugin by default. 2002-08-14 05:16:11 +00:00
Bill Currie
e16e087deb hopefully a more accurate check for bison and flex 2002-08-13 04:22:26 +00:00
Bill Currie
cde6b7e45d clean up some unneeded sets 2002-08-08 03:06:26 +00:00
Bill Currie
64b608b20d put *sys_sdl.c into a lib so it doesn't get compiled more than once and do
more macroizing
2002-08-07 18:20:23 +00:00
Bill Currie
96f81b69b8 start using macros the clean up the mess 2002-08-02 19:03:16 +00:00
Bill Currie
d6c05fd5ab update the autoconf requirement 2002-08-01 20:05:03 +00:00
Bill Currie
2ce0f2ded2 we now require modern autoconf (2.52+), automake (1.6+) and libtool (1.4+).
This gives us a bunch more flexibility. plugins no longer have the "lib"
prefix or the version suffix, they're now installed in
$fs_sharepath/QFplugins,, builds should take much less time (in general,
only one of pic or non-pic versions are build), bins and libs can have
individual CFLAGS
2002-08-01 19:49:10 +00:00
Bill Currie
25c869324d start working on a tool to sxtract the loop info from wav files 2002-07-22 16:17:58 +00:00
Bill Currie
21a4d6f547 update the menu code to be built using separate compilation 2002-07-17 19:00:56 +00:00
Bill Currie
e5d8781150 win32 compile fixes. still have problems with DDActive, but Despair's going
to look at that.
2002-07-02 18:45:50 +00:00
Chris Ison
70d8026067 Removing -3dfx's dependancy on clide 2002-06-24 15:56:01 +00:00
Bill Currie
ba4b11da24 fix CCVER gathering for cross-compiling (the i386-mingw32msvc-gcc was
throwing the regex off)
2002-06-16 01:27:56 +00:00
Bill Currie
f2f6041e05 at long last, vorbis support :) load time only, though, so not yet suitable
for huge samples.
Also, change the file search order so that .gz is checked before the
requested file.
2002-06-14 20:36:28 +00:00
Bill Currie
7985deefb8 and the other part of it 2002-06-11 14:55:13 +00:00
Bill Currie
c7e5375554 put in deek's gl_driver patch (he's got too many local changes) 2002-06-11 14:52:51 +00:00
Bill Currie
0f9adc182d win32 compile fixes 2002-06-04 16:17:10 +00:00
Bill Currie
be28957dff kill USE_CPP (and --enable-cpp) it's not needed any more 2002-06-04 04:48:21 +00:00
Bill Currie
d7c7ac7891 don't add -version-info for static plugins 2002-06-03 16:34:46 +00:00
Bill Currie
9e5f8c3bd9 win32 compile fixes 2002-05-31 19:24:56 +00:00
Bill Currie
3af96782da make qwaq build as part of the main tree (but /not/ install) 2002-05-31 06:55:35 +00:00
Bill Currie
35c2a4c4d7 fix the gcc version checking for gcc 3.1 2002-05-23 21:51:36 +00:00
Bill Currie
6240c62cec this should fix the problems with building the master server on bsd systems 2002-05-13 21:53:52 +00:00
Bill Currie
91779b04f7 new tool: qfprogs. currently only disassembles progs, but the idea is for it
to become a progs oriented nm, objdump etc
2002-05-13 19:37:36 +00:00