Commit graph

73 commits

Author SHA1 Message Date
Jeff Teunissen
fea862d434 Fix the problem with water and sprites acting funny with lerping
on...stupid, stupid bug.
2000-12-18 10:53:38 +00:00
Bill Currie
8c90357234 subdivided skys are back. it seems some cards don't like big polys.
gl_sky_divide (default 1) controls this.
2000-12-17 22:07:06 +00:00
Bill Currie
c765120903 holy water has been sprinkled on the dancing corpses. they dance no more
also a little whitespace
2000-12-12 06:17:02 +00:00
Jeff Teunissen
3b6b929841 Okay, that's it. Model animation interpolation is as done as it's going to
get with the QW protocol.
2000-12-11 18:59:55 +00:00
Jeff Teunissen
d8e1f27d4b pr_edict.c: whitespace
rest: Implement model animation interpolation for alias models. Trying to
implement this has been an annoyance for some time, but IT WORKS NOW. set
gl_lerp_anims to zero to disable.
2000-12-11 09:59:27 +00:00
Jeff Teunissen
54e2a4d9d3 Okay, the big whitespace reformat. There is some silliness (case
statements, variable declarations), but all in all it's not bad.
2000-12-08 06:51:37 +00:00
Bill Currie
eae11661e4 strncat parameter audit. Unfortunatly, strncat is counter-intutite: the n in
strncat is not the maximum length of the destination string, but of the SOURCE
string, thus strncat (dest, src, sizeof (dest)) is incorrect. It should be
strncat (dest, src, sizeof (text) - strlen (dest)). Even then, no terminating
nul will be written if src is too long, but at least it won't crash the stack:)
2000-12-05 16:04:12 +00:00
Jeff Teunissen
59b79d250a gl_rmain.c: Fix up brighten cvar/arg properly so it can be setrom'ed
vid.c: Get rid of the redundancy, much nicer.
quakeforge.lsm.in: Update Linux Software Map data file.
2000-11-04 08:20:20 +00:00
Bill Currie
ce700bb36c forgot the changes to glquake.h
also, my brighten cvar changes somehow got lost
2000-10-29 22:21:53 +00:00
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
Bill Currie
9b458ba730 make the new -brighten a cvar (ROM) as well so it can be set in the config
file. Also includes a cvar from my sky hacking, but it's harmless :)
2000-10-29 04:42:14 +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
Jeff Teunissen
5bb2a9002c Change fires to a more visually-appealing red-orange color. Looks *killer*
Add -brighten arg to GL targets, to replace -gamma but still look nice.
"-brighten 2.5" brightens the palette by 2.5 times, to give a similar
effect to the brightness cvar, but without the dithering brightness
gives. This is a palette hack, which means it _can't_ be a cvar.
2000-10-28 07:11:37 +00:00
Jeff Teunissen
17f9704978 -gamma parameter is _gone_. Colors are now almost exactly what they are in
software. If you want to hack the colors, use the cvars.
2000-10-23 09:35:54 +00:00
Bill Currie
2682888425 the big cvar value -> int_val audit. seems to work ok 2000-10-17 03:17:42 +00:00
Zephaniah E. Hull
dbda53e93b More tweaking of stuff, fixed a minor bug in the loc stuff, may still
have the crash causer though.
2000-10-07 04:06:08 +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
cb0d141132 GL rendering path audit. 2000-09-30 02:46:48 +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
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
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
71b841adeb Cvar audit; These files set cvars improperly, by changing their values
without using Cvar_SetValue ().
2000-09-25 06:36:50 +00:00
Bill Currie
b55b0264b5 model loading reorg ala nuq. once again, gl hasn't been tested (will test when
I get home tonight). This is in preparation for bmodel fulbrights.
2000-09-20 22:11:17 +00:00
Bill Currie
7e6d2f95c5 gl_model.c:
sprintf -> snprintf
gl_rmain.c:
	slight optimisation (thanks, LordHavoc)
2000-08-27 11:05:11 +00:00
Zephaniah E. Hull
e5581c8373 Fix of a bug with fullbright models.. 2000-08-16 12:29:13 +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
f6006e7cef Fix for dark models bug. 2000-07-04 03:10:31 +00:00
Forest Hale
906ab864c2 Brightness controls (brightness, contrast) and gl_lightmode cvar. 2000-07-02 05:16:10 +00:00
Zephaniah E. Hull
d9557428f2 Fixed the black/invisible model problems..
This is a bit of a kludge, but it works..
2000-07-01 21:54:29 +00:00
Joseph Carter
ce94a82b9d Fixed view entity - its alpha was never getting set so a stray dlight or
something could (and did in all my tests) make viewmodel go away..  That
sucked, but it's fixed now.
2000-07-01 05:54:12 +00:00
Forest Hale
e73700f4e8 Fix for minor bug in (unused) transparent model rendering. 2000-06-30 10:29:57 +00:00
Bill Currie
a16a0674a7 fix a parse error LordHavoc missed 2000-06-30 10:07:04 +00:00
Forest Hale
e3d8266db8 Fix for invisible gun and lightning. (cleanup after Endy) 2000-06-30 09:59:02 +00:00
Forest Hale
27e89eb634 Fixed Mod_ExtraData crash. (oops) 2000-06-30 06:26:17 +00:00
Forest Hale
0b826825ec GL cleanup. (cleanup after Endy mainly) 2000-06-30 00:47:26 +00:00
Joseph Carter
a9f17c7b6c Fix polyblend - This is the (SINGLE) thing Endy did that is easy to fix,
and the only thing he realized he broke.
2000-06-29 19:25:00 +00:00
James Brown
68ae22b1ac More changes, rendering effects like alpha and colormod SHOULD work :) 2000-06-29 14:32:27 +00:00
James Brown
3a43cea3b7 Again, patched for colormod and other extend bits. 2000-06-25 20:53:26 +00:00
James Brown
089a0a35d0 Patched for QSG Standard 2 (Extend Protocol).
Unfinished, renderer effects are only half implimented at this point.
2000-06-25 13:00:19 +00:00
Joseph Carter
8a40786b66 Removed gl_test.c 2000-06-22 13:02:23 +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
Joseph Carter
6d62a506b2 Dabb, try this... 2000-06-17 12:37:28 +00:00