Commit graph

43 commits

Author SHA1 Message Date
Zephaniah E. Hull
e4c9ccff8f Cvar audit 1, all unused cvars are gone, with the exception of software
rendering, and the server.
2000-09-30 04:08:40 +00:00
Zephaniah E. Hull
d02d9e140b Oops, frogot the header.
Minor whitespace cleanup in gl_rmain.c
2000-09-28 08:05:09 +00:00
Zephaniah E. Hull
f6bfcfc82d State change cleanup, but saner code! 2000-09-28 00:22:24 +00:00
Zephaniah E. Hull
68a4e60eaf Behold, the great state audit, and a few other things.
First off, a cleanup in alias model rendering.
Then we have R_CullBox, which is now a inline function.
Then the big one, the state change cleanup, right now GL_BLEND.
2000-09-26 09:03:21 +00:00
Jeff Teunissen
bf2ec8da6d glquake.h: Comment out <GL/glu.h> -- may be used in the future, but we
don't use libGLU right now.

gl_draw.c: brightness/contrast are created in r_view.c, I'm a little
surprised this didn't cause a crash.

menu.c: Use bound() for sliders.
2000-09-25 04:12:58 +00:00
Zephaniah E. Hull
210ba16069 First off in gl_draw.c we have some nice cleanup code for the upload
code.

Then we have the completely purge of treating 'unsigned' as a type, it
is NOT a type, it is a TYPE MODIFIER!

Under gcc for x86 it happens to try and do something sane, just treat it
as a unsigned int, but that is EVIL, it is a MODIFIER and if ANYONE adds
code which uses unsigned as a type in itself I /WILL/ harm them!!!
2000-09-22 09:08:08 +00:00
Bill Currie
ddef594b2e gl bmodel fullbrights implemented. I hope. I'll find out for sure when I get
home.
2000-09-20 23:06:26 +00:00
Zephaniah E. Hull
b5e459d224 FULLBRIGHT SUPPORT FOR MODELS!
Yes, this means that your standard grenades, the pipebombs, proxys,
sents, etc will all have fullbright pixels!

As a added bonus they are toggable with the gl_fb_models cvar! But
there is more! This comes at a almost unnoticeable cost! Thats right!
For you get this all for only 2 FPS!

Repeat, thats 2 FPS! PRACTICALLY NOTHING!

So order now! Available from the quakeforge newtree CVS.
2000-08-16 09:26:22 +00:00
Zephaniah E. Hull
23d81824dc Old draw cleanups, frogot I had them around..
Clean up of Dabb's mess, he dies.
2000-08-14 04:53:45 +00:00
Bill Currie
92baf1a751 add gl_skymultipass to conroll whether the skydome is single or double pass.
Currently defaults to 1 (multipass, ie old behaviour).
2000-07-30 02:54:17 +00:00
Dabb
f934609bf2 Define GL_BGR, GL_BGRA if missing from gl.h. (win32 builds have v1.1 gl.h) 2000-07-06 09:36:31 +00:00
Forest Hale
674e537a72 Includes for recent fixes. (forgot to upload them) 2000-06-30 23:10:23 +00:00
Bill Currie
b25d03c602 source/vid_glx.c:
#if 0 the signal code. wouldn't compile otherwise, but not game to
	nuke it just yet
include/win32/version.h:
	buggered if I know. fscking configure/cvs :)
include/glquake.h:
	remove size declarations from bubble_sintable and bubble_costable
source/gl_part.c source/gl_rlight.c:
	32 segments in a circle now instead of 16 and change the pointer
	math to cope
source/gl_warp.c:
	nothing much. just almost double my fps. (hint: the above tables)
2000-06-29 09:21:23 +00:00
Joseph Carter
957068392d It is now possible to use 32bpp textures. It's not currently possible to
load them.  That comes later.
2000-06-23 08:43:32 +00:00
Bill Currie
5c0eb38c1b alpha doesn't do anything useful for flames, so remove it. 2000-06-22 08:02:36 +00:00
Joseph Carter
2693901bd1 gl_particles added - disable it to make particles not happen 2000-06-20 15:31:29 +00:00
Bill Currie
70b3327d77 gl client now builds again (thanks knghtbrd;) 2000-06-19 22:56:28 +00:00
Bill Currie
1246b26046 gl_fires/r_firecolor patch. Software client still builds and runs correctly,
but as I don't have GL at work, I have no idea if gl client still works, or if
rocket trails work (default to off). This is mostly a blind patch taking the
code from oldtree to newtree.
2000-06-19 22:15:18 +00:00
Joseph Carter
32b13fb303 gl_finish - it's done
gl_ztrick - here's the hat, but no rabbit

considering that a buggy driver can make gl_ztrick into a sort of cheat if
you can stand the flicker, it's gone.  gl_finish was already a zombie Cvar
so I just removed its definition.
2000-06-17 13:30:39 +00:00
Bill Currie
18a9900b21 merge in knghtbrd's work, minus his over-bright stuff (it causes textures to
not be drawn when multitexture is not available (or at least I think that's
the condition)). More specificly, his altered blend states.
2000-06-17 10:39:28 +00:00
Bill Currie
acb5f4b21a revert Endy's HL changes. Sorry endy but what would you rather have: HL
support in quakeforge, or knghtbrd using your guts for violin strings? :)
2000-06-16 09:41:42 +00:00
Zephaniah E. Hull
b8a92f28dc Newtree compiles again, no promices that it will work though..
I'm tempted to pull Endy's CVS write abilitys until he promices
to make sure major changes at least COMPILE before he commits them.
(=:]
2000-06-10 21:40:31 +00:00
Joseph Carter
3287c0e38b ARB multitexture for glx, wgl, and 3dfx targets 2000-06-09 21:34:21 +00:00
Joseph Carter
9a348350df Multitexture for GLX, sortof. It's useless to you unless you've got
SGIS_multitexture (I assure you, unless you're on IRIX, you don't have
it!)  Added a Sbar_Changed () to fix the sbar overbright for a few people
and the very beginnings of ARB_multitexture are now in glquake.h
2000-06-04 13:53:29 +00:00
Joseph Carter
19afb34084 This adds multitexture for win32 back into the game. 2000-06-03 22:32:53 +00:00
Marcus Sundberg
1af69a110f Replaced 40 lines of silly shellscript code in configure with a pair of
nice and clean #ifdefs in glquake.h
2000-05-31 22:53:07 +00:00
Joseph Carter
0f9bcaf22f -gamma for Linux! No you can't control it from the menu, it has to be
done on the cmdline at the moment.  Menu support later if possible.
2000-05-31 17:46:59 +00:00
Jeff Teunissen
02eaf75b18 cvar cleanups. 2000-05-23 21:46:17 +00:00
Jeff Teunissen
c1fde8e2ca Fix comments 2000-05-22 08:40:21 +00:00
Bill Currie
af032b8d55 port in some improvements from OT (namely fs_basepath, etc, though commandline parsing isn't finished yet)
split up the headerfiles and such. common.[ch] and qwsvdef.h no longer exist. More work still needs to be done (esp for windows) but this should be a major improvement.
2000-05-21 08:24:45 +00:00
Yan Sweitzer
440b2aec18 added uniform #ifdef _xxx_H encapsulation and appropriate includes to avoid header dependencies and circular conflicts
(work in progress, need to clean .c files as well)
2000-05-19 06:44:56 +00:00
Joseph Carter
466344b359 Not as clean as it could be, but for now it will work. 2000-05-19 03:06:05 +00:00
Joseph Carter
0c93f0d1f2 Skybox support - just add env/*.tga!
Bring your own Cmd_LoadSky_f (), I haven't done that or the server code
yet.
2000-05-18 04:34:26 +00:00
Dan Olson
1d26c02826 Cvar merge... segfault problems... also unknown problems in vid_svga.c 2000-05-16 04:47:41 +00:00
Marcus Sundberg
d4845db15c Define GLAPIENTRY even if APIENTRY is not defined. 2000-05-14 18:09:31 +00:00
Marcus Sundberg
f7569b8d0d Whitespace is not allowed before the '#' of pre-processor directives. 2000-05-14 17:04:13 +00:00
Yan Sweitzer
1277d085f0 added a pragma disable warning (win32) 2000-05-14 01:41:22 +00:00
James Brown
0ef098f6f7 api patch 2000-05-14 00:53:11 +00:00
Bill Currie
5928058c00 hehe, qw-client-glx compiles (probably with lots of stuff missing) but doesn't link 2000-05-13 02:52:36 +00:00
Joseph Carter
64c8e8000d bleh! 2000-05-13 02:42:42 +00:00
Joseph Carter
9adb98d87e A little more progress 2000-05-12 23:19:23 +00:00
Dan Olson
74c19068e5 gl_* now compiles... need to change around the Makefile before it will link 2000-05-12 19:17:02 +00:00
Joseph Carter
d859383680 Initial revision 2000-05-10 11:29:38 +00:00