Commit graph

42 commits

Author SHA1 Message Date
Bill Currie
4057988e1f tree now builds again. Note: this includes some of my sky work, but so long as
gl_sky_clip is not set, it's not working won't affect you :)
2000-10-29 22:02:29 +00:00
Zephaniah E. Hull
13bd5ce012 The init sequence cleanup!
Also broke up client.h into a lot of smaller headers.
Oh, software rendering works again.

And yes, this does hit a hell of a lot of files.
2000-10-29 15:35:24 +00:00
Zephaniah E. Hull
5d07b61d7a The big particle rework!
Lots of changes, more then I can cover quickly.
Things now look, different, and probally much better!

Note, SOFTWARE RENDERING IS BROKEN with this commit!
2000-10-28 08:02:08 +00:00
Bill Currie
66bc30c2a8 gl_polyblend: RIP 2000-10-23 14:58:15 +00:00
Bill Currie
2682888425 the big cvar value -> int_val audit. seems to work ok 2000-10-17 03:17:42 +00:00
Jeff Teunissen
2186a58fe5 Disable the code that forces gl_texsort off when multitexture is active 2000-09-30 08:01:27 +00:00
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
383075bb39 More audit cleanups, glShadeModel this time, and gl_affinemodels does
what it says now, instead of the reverse of what it says.
2000-09-28 07:56:00 +00:00
Zephaniah E. Hull
3935e40c3a Killed the mirror code completely. 2000-09-28 07:16:29 +00:00
Zephaniah E. Hull
0b8cf1e303 glTexEnvf audit. 2000-09-28 06:58:24 +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
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
Forest Hale
54648f9a93 Rewrote multitexture rendering. (faster, no fullbright bugs) 2000-07-04 09:29:56 +00:00
Forest Hale
789984f19b Fix for TimeRefresh. (oops) 2000-06-30 00:55:46 +00:00
Forest Hale
0b826825ec GL cleanup. (cleanup after Endy mainly) 2000-06-30 00:47:26 +00:00
Zephaniah E. Hull
29ef95a9b5 The end of Z_*!!
This after the Z_* stuff hit my profiling list as a top user..
2000-06-29 05:46:15 +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
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
James Brown
957873f3bb Half-Life BSP support, and fixed that idiotic WGL multitexture crash. I don't know and don't care if other targets are also screwed this way :) 2000-06-10 03:36:28 +00:00
Loring Holden
5b094c2aa1 Reapply changes - this time tested w/ svga under Linux 2000-05-26 03:55:27 +00:00
Bill Currie
0bd4043ca4 revert lsh's checkins. They broke newtree for everybody but him. 2000-05-25 09:48:21 +00:00
Loring Holden
8005c0d25e I got this tree to build under Solaris, AIX, IRIX, & Linux.
In order to do so I:
* included strings.h and string.h in many files so various functions would be
defined
* Fixed model_t collision problem in cl_main.c (Solaris)
* com.c - corrected WORDS_BIGENDIAN spelling
* gl_draw.c - Use HAVE_GL_COLOR_INDEX8_EXT to avoid referencing
GL_COLOR_INDEX8_EXT when it isn't available
* net_udp.c - use socklen_t to appease AIX
2000-05-25 06:14:56 +00:00
Jeff Teunissen
fd11d81788 GL fixes, partial Q{open,close,read,write,getc} -> f* 2000-05-23 17:05:34 +00:00
Joseph Carter
87f6b96eb6 GPL thingy 2000-05-22 06:58:14 +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
Joseph Carter
466344b359 Not as clean as it could be, but for now it will work. 2000-05-19 03:06:05 +00:00
Anton E. Gavrilov
1f8b0fd704 Changed R_LoadSky_f() to R_LoadSky_F(void) to avoid warnings on MSVC.
/me grumbles: why do i have to do that again?
2000-05-18 22:01:46 +00:00
Joseph Carter
0594dcfd33 loadsky command implemented:
loadsky skyname
		turns it on if env/skyname*.tga exists

	loadsky none
		turns it off, always.

Clientside support.  Serverside key needs to be added still
2000-05-18 20:32:11 +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
Bill Currie
832af13c12 all files now include config.h 2000-05-17 10:03:19 +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
f7569b8d0d Whitespace is not allowed before the '#' of pre-processor directives. 2000-05-14 17:04:13 +00:00
Dan Olson
497ba1a82f buh bye gl_model.h 2000-05-13 20:47:01 +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
38f9b705b9 Whee! Every source file just got edited. Added the QF-style GPL header
to the top.  What I didn't add was descriptions.  Someone else wanna take
those on?
2000-05-11 16:03:29 +00:00
Dan Olson
b139acafc2 ^M cleanup, and qw-server compiles with -Werror 2000-05-10 20:33:16 +00:00
Joseph Carter
d859383680 Initial revision 2000-05-10 11:29:38 +00:00