Commit graph

147 commits

Author SHA1 Message Date
Joseph Carter
c6d9fea93c Skyboxes fixed, blending fixed, cleaned out some of the old sky cruft.. 2000-06-12 01:00:29 +00:00
Joseph Carter
1a72e3ad83 LordHavoc's skydome/skybox ...
Much better for clearing the screen and stuff, will get used more later
on.  For now it just makes the sky's edge off in the distance and makes
the non-skybox sky more of a dome than a box with rounded off edges.

Visual bug: drawing everything this way leaves blending off, particles end
up being solid tris.  All I gotta do is turn blend back on, no biggie.

Visual bug: skydome being in the distance creates the same see through
walls effect that skyboxes have.  Not a problem since I know where to fix
that.

There's tons of dead code in here still, I'm probably going to move the
sky stuff into gl_sky.c and clean up LordHavoc's code a bit, I can do
the skybox at least cheaper than he does.  We'll see about the dome.
2000-06-11 11:12:27 +00:00
Joseph Carter
e140ca0b83 GL_Bind () wanted to be tied up and spanked. Since QuakeForge is a nice,
wholesome, family project (yeah right), it will not be seen anymore.

But fret not.  If you need a replacement, just use glBindTexture the way
SGI intended.  In fact, every single GL_Bind (target) call was simply
replaced with glBindTexture (GL_TEXTURE_2D, target)..  Since that's more
or less all GL_Bind () did anyway, save a function call!
2000-06-11 07:00:01 +00:00
Joseph Carter
c7499f8a68 removing the bindtexture extension 2000-06-10 21:48:15 +00:00
Zephaniah E. Hull
d3dbe394ce Woops, frogot to cvs add this one on the HL fix.. 2000-06-10 21:48:01 +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
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
Joseph Carter
3287c0e38b ARB multitexture for glx, wgl, and 3dfx targets 2000-06-09 21:34:21 +00:00
Anton E. Gavrilov
3644a3056e host_frametime --> sv_frametime for server;
CVAR_FIXME cleanup.
2000-06-09 19:22:30 +00:00
Anton E. Gavrilov
39b83b626b Rename client_state_t to sv_client_state_t;
client_state_t cls ---> client_static_t cls;
2000-06-09 18:47:12 +00:00
Joseph Carter
a3e32e213e Draw_Character -> Draw_Character8
Draw_String -> Draw_String8
Draw_Alt_String -> Draw_AltString8

You know what this means right?  Draw_*16 is coming soon.  Very soon.
2000-06-05 01:05:25 +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
Marcus Sundberg
a087ac10b3 If we have stdarg.h and sys/types.h we include them here. 2000-05-31 22:51:53 +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
Joseph Carter
38daae8b5a Seems to fix the DGA issue. Mouse cursor doesn't get hidden if we're in
DGA because the way we hide it doesn't mesh with Mesa+Glide.  There's a
way to do it properly, but it's more trouble than it's worth for now.
2000-05-29 13:42:33 +00:00
Joseph Carter
efb2d99e22 some oldtree cruft for rogue/hipnotic removed (we'll support them in a
very different way than did Id Software did later on, it'll be a major
improvement, that's for sure..)

fs_basegame Cvar created, defaults to whatever you selected in config.h,
most likely id1.
2000-05-29 12:45:05 +00:00
Dabb
b3a9432b70 Minor change for some borland defs. 2000-05-28 13:29:55 +00:00
Joseph Carter
ef1c6be3df New Cvar function: Cvar_SetFlags. Yes, it's there for completeness.
Some minor changes to DGA code I couldn't be bothered to back out before
I committed.  They don't hurt anything, but they don't really improve
matters much either.  The mouse cursor still doesn't get warped off the
screen, but it's no longer bright blue - now it's black and white like
normal.  I'm rewriting the damned DGA code from scratch to Get It Right
this time.
2000-05-27 16:40:36 +00:00
Jeff Teunissen
30d1dc1c87 Minor fixes. 2000-05-27 04:33:09 +00:00
Jeff Teunissen
2d0932e00e Configuration stuff. include/win32/version.h is now Autoconfiscated (but
still has to be in CVS, because Win32 people generally won't be able to
rebuild it).

configure.in: Cleanups to the DGA, VidMode, and sound detection code.
Makefile.am: Cleanups to sound code, to allow 'make dist' to work.
2000-05-27 04:19:24 +00:00
Joseph Carter
bf576c54d0 HAS_DGA -> HAVE_DGA (undefined in both cases) for win32
win32 global config is now .\global.cfg
Changed "        #define" to "#^idefine" for the 3dnow stuff..
2000-05-27 02:31:47 +00:00
Thad Ward
9761dc6732 added FS_SHAREPATH and FS_USERPATH 2000-05-26 03:40:13 +00:00
Dabb
16c06526c9 Borland fixes, to get it compile 2000-05-25 14:04:47 +00:00
Loring Holden
9e65b2c06d Make sure math.h is included before M_PI is tested 2000-05-25 06:08:12 +00:00
Bill Currie
43b5a87fbd some fixes to make quakeforge build on solaris. not quite done yet as the
server doesn't get linked with the network libs yet.

.gitignore: add quakeforge-*.tar.gz (I'm tired of seeing that with ? :)
include/Makefile.am: forgot to add the new x11 related headers
source/makefile.am: move snd_dma.c from cient sources to snd lib and add
	snd_null.c
source/cl_sys_unix.c: replace FNDELAY with O_NONBLOCK
2000-05-25 05:01:20 +00:00
Dan Olson
af98ae5fa5 Rename all Server_List_* to SL_* as well as some code cleanup. Does not fix
segfault
2000-05-25 01:38:52 +00:00
Joseph Carter
82c68a482b Explosions are temporarily PURPLE, deal with it.
Made dlight colors RGB as opposed to RGBA, the alpha doesn't make a whole
lot of sense.
2000-05-24 23:55:43 +00:00
Anton E. Gavrilov
4acb725dec Remove all remaining references to cachedir. 2000-05-24 10:44:29 +00:00
Bill Currie
b1da890046 alsa sound support is alive and kicking 2000-05-24 06:52:19 +00:00
Bill Currie
72ff6cb80b FS_.*PATH have been eliminated as fs_userpath and fs_sharepath default to . and
can be configured by ${sysconfdir}/quakeforge.conf
2000-05-24 05:57:56 +00:00
Bill Currie
7f193522f3 fix make dist 2000-05-24 02:32:47 +00:00
Jeff Teunissen
a45cefb3e0 Cvar fixups... 2000-05-24 02:07:53 +00:00
Jeff Teunissen
02eaf75b18 cvar cleanups. 2000-05-23 21:46:17 +00:00
Jeff Teunissen
5c27b5fa9d Remove obsolete glquake2.h 2000-05-23 18:05:49 +00:00
Bill Currie
3951d1fe4c bring across the VID and IN modules for svga, x11 and glx from OT. 2000-05-23 06:36:33 +00:00
Thad Ward
55d2328c77 added include/win32/version.h for the non-automake win32 builds will have a common place to get the version number.
also commented out the section of include/win32/?c/config.h that defined the versions and replaced with an include statement
2000-05-23 06:10:22 +00:00
Joseph Carter
3d59dfed98 Before I can fix the (MANY!) problems with newtree, I have to fix the
little problem of mixed QFile and FILE.  Since we're not using ZLib in
this tree, QFile makes no real sense.  That didn't fix the real problem
I am having though.
2000-05-22 21:16:22 +00:00
Anton E. Gavrilov
a73a779486 Console editing stuff 2000-05-22 09:24:07 +00:00
Jeff Teunissen
476b299074 Fix conflict 2000-05-22 08:49:01 +00:00
Bill Currie
e68701838a white space cleanup for last checkin 2000-05-22 08:44:34 +00:00
Jeff Teunissen
c4a0462f93 missed an extra comment 2000-05-22 08:41:20 +00:00
Jeff Teunissen
c1fde8e2ca Fix comments 2000-05-22 08:40:21 +00:00
Bill Currie
2fd97f5eab header (C) block touch ups 2000-05-22 08:26:01 +00:00
Anton E. Gavrilov
d272b79bfa Add #define HAVE_FNMATCH_H 2000-05-22 08:15:36 +00:00
Jeff Teunissen
adcb479d77 Makefile updates for win32 targets 2000-05-22 07:32:00 +00:00
Anton E. Gavrilov
778b77c394 CL_ClearStates now generates key up event for each key that is down.
CVAR_FIXME cleanup.
2000-05-22 07:20:00 +00:00
Thad Ward
1cb980a02e removed a silly #else case on an ifdef 2000-05-22 07:07:01 +00:00
Thad Ward
6175d2e7bf updated VERSION to 0.2.0 for the release 2000-05-22 04:47:50 +00:00