Commit graph

1000 commits

Author SHA1 Message Date
Joseph Carter
8b18f9d56b A little cleanup...
S_Init() is now where it belongs--outside of VID_Init().  I think I did
manage to update every target.  If I missed one, kill the sound.h include
and remove S_Init() from VID_Init().

New Cvar: r_sky, defaults to 0, turn it on if you want to use skyboxes.
Cvar r_skyname can actually be used now I _think_, need another skybox
to test it.  Quake2000's instructions were used in the skybox stuff but,
as all know by now, our tree is so different from anyone else's that I had
to redo a number of things.  But thanks all the same--cut the time spent
debugging it in half.  I also want to thank whoever did the night skybox
on the MegaTF page I used to test.  Looks great on start map!

New GL-specific Cvar: r_conspin, defaults to 0.  Turn it on.  You can turn
it off too.  Shamelessly ripped from QER.
2000-03-02 19:57:24 +00:00
Joseph Carter
54501eaed7 SKYBOXES!
Relevant cvar to change the name of the skybox is r_skyname which defaults
to "sky".  If you don't have the files you'll get an ugly red background
in place of the sky.  I'll fix that shortly.

Sorry software people, this is just the Q2 code I'm turning on which doesn
not work for software.  The code is pretty simple though and most of it's
written already in gl_warp.c---just move that to r_sky and use the pcx's
instead of the tga's..
2000-03-02 13:56:01 +00:00
Bill Currie
6483ab1ad5 damn, forgot to save this line 2000-03-02 11:41:03 +00:00
Bill Currie
36adeb3bf9 add \ handling withing "" strings with necessary fix to the keybinding menu.
NOTE: this will break ALL current config scripts that have \ in strings.
2000-03-02 11:38:43 +00:00
Joseph Carter
1393594ee6 Merc's method of doing \ escapes was psychotic and didn't work anyway, so
I'm removing it.
2000-03-02 10:50:29 +00:00
Zephaniah E. Hull
cf0201eeea cvar system fixes..
Knghtbrd owes me for this one..
2000-03-01 11:29:21 +00:00
Dan Olson
fd349f60f1 Fixes segfault in uquake-x11 2000-03-01 02:30:02 +00:00
Bill Currie
29f088f349 make gl compile/link with the new cvar system 2000-02-29 06:45:26 +00:00
Eric Windisch
b53e2c9edd Restructured the fog code and took volfog out of experimental; r_volfog 1 may or may not work, without GL accel I cannot test it. Apparently, It may at very least have problems with voodoo1. 2000-02-29 05:51:29 +00:00
Dan Olson
5d66aa274c A couple small fixes thanks to Dan Nelson 2000-02-29 00:00:51 +00:00
Dan Olson
029aa2e26a Fixed a nasty typo. 2000-02-28 23:45:45 +00:00
Dan Olson
54409e23fa This should fix up the last of the show stoppers from the cvar merge.
Fixes -glx and -3dfx.
2000-02-28 19:13:16 +00:00
Loring Holden
9a954ee7c9 Now compiles:
* Removed cvs merge remnants
* Removed redundant IN_*() functions
2000-02-28 07:52:02 +00:00
Dan Olson
6305810ddb Some fixes for Cvars. Windows, GGI, and Sun should now all compile. 2000-02-28 01:52:08 +00:00
Bill Currie
c687c6917a propogate configure command line options into quakeforge.spec 2000-02-27 23:38:15 +00:00
Dan Olson
8dbf889466 Fixes the cvar problems in qw-server. 2000-02-27 22:25:20 +00:00
Marcus Sundberg
b1f6346814 Removed bogus -lefence.
Removed duplicate "-Wall -Werror" flags.
2000-02-27 22:19:12 +00:00
Marcus Sundberg
0a1e72eb5e Fix warnings. 2000-02-27 22:18:44 +00:00
Marcus Sundberg
23a99ab5d3 Make it compile again. 2000-02-27 22:18:23 +00:00
Marcus Sundberg
a27aca541b Fix warnings. 2000-02-27 22:10:13 +00:00
Zephaniah E. Hull
754ab06b44 Fixing the new cvar mess... 2000-02-27 18:51:50 +00:00
Dan Olson
106dada0b2 Non functional cvar code. Compiles, but won't run. 2000-02-27 07:13:32 +00:00
Joseph Carter
83a09156f1 r_clearcolor currently doesn't work for GL. Broke it while fixing it. It
doesn't matter if you don't use noclip in uquake for map debugging.  On
the upside, I fly should work in qw-server now.  MegaTF fans rejoice!
2000-02-27 03:34:54 +00:00
Zephaniah E. Hull
7a66abafb0 Err, never mind on buttons 4 and 5.. 2000-02-27 03:32:19 +00:00
Zephaniah E. Hull
20077b7b4f Added support for escaping things with \, may require some config
changes..

Cleaned up the ifdefs in gl_rpart.c
Added support for mouse buttons 4 and 5 in in_x11..
2000-02-27 03:31:16 +00:00
Bill Currie
adcb14a22d merge qw_server/sys.h into common/sys.h 2000-02-26 09:04:09 +00:00
Daniel McGregor
2148a8d0ba more autoconf stuff... HAVE_MALLOC_H for OpenBSD and FreeBSD 2000-02-26 08:39:29 +00:00
Daniel McGregor
9e46831000 add the HAVE_MALLOC_H ifdef so OpenBSD compiles cleanly 2000-02-26 04:06:59 +00:00
Daniel McGregor
71e4a3f9bc changes to support openbsd, such as a better check to enable USE_BSD_CD
check for malloc.h, openbsd build with -Werror bombs when it's included
2000-02-26 03:42:27 +00:00
Bill Currie
b3ff01224c merge qw_server/model.c into common/model.c 2000-02-25 10:21:48 +00:00
Bill Currie
78cc81749d There was a discrepancy in the definitions of MAX_MOD_KNOWN.
gl_model.c had it as 512, but qw_server/model.c and common/model.c had it as
256. That wasn't the real problem, what it was was hipnotic (obviously) has
more than 256 models in "Research Facility", and so uquake-svga bobmed
2000-02-25 09:17:59 +00:00
Dan Olson
e1af4d0107 SDL Now compiles and runs 2000-02-25 00:35:41 +00:00
Dan Olson
d8c9b7eb58 Small change to keep an unused function from being compiled in.
Credit given in AUTHORS, but it didn't take
2000-02-24 14:46:21 +00:00
Jeff Teunissen
90fd98a3ad SV_RunCmd: missing "," in SV_BroadcastPrintf() call, fixed. 2000-02-24 06:36:22 +00:00
Joseph Carter
ef85d30bdf Fixed a typo 2000-02-23 23:12:15 +00:00
Zephaniah E. Hull
4cd3f4f23d The end of old_headers, changed the cheat protection code a little.. 2000-02-23 19:32:54 +00:00
Bill Currie
1b6df2ad29 eliminate a lot of debug output 2000-02-22 07:31:52 +00:00
Joseph Carter
d3ca33ade5 the missing uquake bubbles are back 2000-02-22 06:22:31 +00:00
Dan Olson
899180733a Moving some files around for Jason Nelson (Win32 target) 2000-02-22 04:59:08 +00:00
Joseph Carter
9e973574e4 bspfile.h is now really common 2000-02-21 22:16:39 +00:00
Bill Currie
19206928b4 merge qw_client/model.c and uquake/model.c into common/model.c
common/gl_model.c uquake/Makefile.in:
	allow checksums in uquake
2000-02-21 21:13:45 +00:00
Loring Holden
8668430a36 quakefs.c - added #include "config.h" so unistd.h would be included properly
vid_sunx.c - do not define x_disp and x_win as static, removed unneeded
variables, took on IN_* functions
2000-02-21 18:06:10 +00:00
Dan Olson
e0dc6fa673 Removal of duplicated files. 2000-02-21 14:29:25 +00:00
Bill Currie
15e4001bf2 merge qw_client/gl_cl_parse.c and uquake/gl_cl_parse.c into common/gl_cl_parse.c 2000-02-21 12:47:23 +00:00
Bill Currie
f56e2a12c2 more merges
qw_client/gl_model.c + uquake/gl_model.c = common/gl_model.c
qw_client/gl_rlight.c + uquake/gl_rlight.c = common/gl_rlight.c

common/gl_rmisc.c:
	call R_InitBubble for both uq and qw
2000-02-21 12:36:38 +00:00
Bill Currie
21f934a4a4 move gl_ngraph.c from qw_client to common in anticipation of it being
backported to uquake. Might as well pre-merge it :)
2000-02-21 11:22:10 +00:00
Bill Currie
61bce24653 more mergine
qw_client/gl_screen.c + uquake/gl_screen.c = common/gl_screen.c
2000-02-21 11:16:13 +00:00
Bill Currie
007b9a47ee merge qw_client/resource.h and uquake/resource.h into common/resource.h 2000-02-21 10:38:51 +00:00
Bill Currie
120597da8e Heh, netgraph is not yet ported to uquake :) 2000-02-21 10:34:16 +00:00
Bill Currie
0196064c51 merge qw_client/r_misc.c and uquake/r_misc.c int common/r_misc.c
merge qw_client/r_sprite.c and uquake/r_sprite.c int common/r_sprite.c
2000-02-21 10:28:22 +00:00