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.
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..
biosuits, pents, and quads wear off are now gone. Sort of. They are
caused by places where two texture edges meet and there are little gaps
at the seams where nothing gets drawn. This is also why noclip screws w/
the screen if you walk outside of the map in the GL targets. We now draw
a backdrop whose color is set by r_clearcolor, ala software renderer.
common_quakedef.h (and thus all files)
This solves a build break when the OpenGL includes are not in /usr/include,
since the OpenGL include path is only used when compiling files that use
OpenGL.
-- we still have to find the waterwarp bug, but this is a start.
Moved raptor's r_waterripple effect into #define _EXPERIMENTAL_ until
release. It doesn't break anything that we know of, but this is _still_ a
freeze we're in, and this is a new feature.
waterwarp bug. This creates r_waterripple that causes a wave effect when
set to 1. Perhaps I will change it after release to adjust the size of the
waves...
-- Eric Windisch
added "Portions" statement to the copyright statement
Please note, if you want to put a copyright notice on a source file stating that a portion of it is copyright yourself or another author please put "Portions Copyright...", if adding a seperate .c file that contains otherwise author(s) this doesn't apply.