Commit graph

540 commits

Author SHA1 Message Date
Forest Hale
1dd7a8be0d Fix for the fullbright models. 2000-07-04 06:59:34 +00:00
Forest Hale
225cbaff0d Minor world rendering fixes. 2000-07-04 04:19:06 +00:00
Forest Hale
f6006e7cef Fix for dark models bug. 2000-07-04 03:10:31 +00:00
Forest Hale
9f5df4afa6 Possible world rendering speedup. 2000-07-04 02:23:50 +00:00
Forest Hale
51c1db9220 Very minor world rendering optimization. 2000-07-04 00:52:00 +00:00
Forest Hale
b6484d3f66 Fix for long standing baseline bug (OUCH!), should fix invis problems... 2000-07-04 00:49:01 +00:00
Forest Hale
b0f65051b1 Minor cleanup. (purely cosmetic) 2000-07-04 00:44:10 +00:00
Zephaniah E. Hull
7077ac4582 FINALLY the end to the invis objects!! 2000-07-03 21:56:51 +00:00
Forest Hale
fff8ccb2c3 This should stomp the last of the invisible entity bugs. 2000-07-03 00:34:20 +00:00
Forest Hale
50fec20142 Fix for invisible players, etc etc. (QW protocol is nasty) 2000-07-02 14:14:56 +00:00
Forest Hale
5644666f0c Massive dynamic light rendering speedup. 2000-07-02 13:47:00 +00:00
Forest Hale
fdcf20b4a3 Fix for black static lightmaps. (oops, forgot that one too) 2000-07-02 06:40:46 +00:00
Forest Hale
cd0fbe1b52 Fix for black walls. (oops) 2000-07-02 06:13:46 +00:00
Bill Currie
0af7b854e8 fix a warning that msvc doesn't pick up but gcc does. 2000-07-02 06:00:15 +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
Bill Currie
6f93f36cc2 oh, nothing much, just 1/4 R_DrawSkyLayer's us/call :) (I halved the number
of steps around the glob in each direction). it's now taking 3% of the time
on my machine.
2000-07-01 09:40:14 +00:00
Forest Hale
f98331c3a8 Black lightning fix. 2000-07-01 07:52:38 +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
968efda8ed Fixed up Endy's EXTEND support - everything should work now. 2000-07-01 04:56:13 +00:00
Forest Hale
0793a90813 Dynamic lighting fixes. (relative bmodel lighting, mainly) 2000-06-30 22:26:11 +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
1364c8b47f Forgot to commit lightning fix. (oops) 2000-06-30 10:03:29 +00:00
Bill Currie
9efdc7e8b6 fix jumping' sky. I forgot to add s' to the pole tex coords 2000-06-30 10:00:32 +00:00
Forest Hale
e3d8266db8 Fix for invisible gun and lightning. (cleanup after Endy) 2000-06-30 09:59:02 +00:00
Forest Hale
a02481c08c Fix for .lit support. (fixes black wall bug, oops) 2000-06-30 09:33:43 +00:00
Forest Hale
27e89eb634 Fixed Mod_ExtraData crash. (oops) 2000-06-30 06:26:17 +00:00
Forest Hale
2028766d1f Removed Endy's broken protocol enhancements. 2000-06-30 05:54:28 +00:00
Forest Hale
7ee4edd961 Another fix for R_MarkLights crash. (oops again) 2000-06-30 05:52:06 +00:00
Forest Hale
6f8c87fa02 Fix for immediate R_MarkLights crash. (oops) 2000-06-30 04:35:05 +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
Joseph Carter
fa7a67e9fb And I missed the other one ... 2000-06-30 00:03:10 +00:00
Joseph Carter
5de94bd9ad taniwha forgot a ; ... 2000-06-30 00:01:42 +00:00
Bill Currie
fb9e8d05b4 took me a while to realise the skydome starts at the equator, not a pole.
I hope I got this right
2000-06-29 23:51:02 +00:00
Zephaniah E. Hull
750457b368 Clean up after myself in the Z_* purge.. 2000-06-29 23:30:21 +00:00
Forest Hale
def35745d7 Massive dynamic light speedup. 2000-06-29 23:27:03 +00:00
Forest Hale
177652d724 Fix for white particles bug. (cleanup after Endy) 2000-06-29 23:06:08 +00:00
Forest Hale
244ea57e1a Fixed .lit file (colored lighting) support. 2000-06-29 22:18:13 +00:00
Bill Currie
98c7aeb439 we were drawing the sky layer twice (0-360 horiz, 0-360 vert). Change the vert
to 0-180.
2000-06-29 22:07:40 +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
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
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
Bill Currie
d5ea4bc9bf Revamp the software particle rendering loop. Seems to work well. 2000-06-28 23:20:57 +00:00
Zephaniah E. Hull
66e9bfd98c Fixed the GL water texture problem.. 2000-06-28 23:11:52 +00:00
Jeff Teunissen
b41f21f7eb Argh...looks like I fucked it up. All fixed. 2000-06-28 15:37:16 +00:00
Zephaniah E. Hull
016f682389 R_RecursiveWorldNode from DP, speed improvement.. 2000-06-26 19:56:09 +00:00
Zephaniah E. Hull
8e64d0d3cc Fixed the signal handling for x11 targets, specificly -x11..
(Yes, this required a change in the glx target, don't ask)
2000-06-26 17:20:38 +00:00
Forest Hale
cbd8135196 Minor win32 cleanup, now compiles in MSVC 4. 2000-06-26 12:27:03 +00:00
Bill Currie
d75f6944c1 make XRaiseWindow happen unconditionally. Should help with qf not always
getting focus on v3.
2000-06-26 10:38:41 +00:00
Bill Currie
09af993795 source/gl_rsurf.c:
removed commented out line
source/in_x11.c:
	re-enable the mouse warpage.
2000-06-26 10:09:13 +00:00
Forest Hale
7e4def70af Fix for bmodel relative lighting in R_AddDynamicLights. 2000-06-26 07:47:43 +00:00
Forest Hale
4698dc0d7d Readability improvements and minor speedup in R_AddDynamicLights. 2000-06-26 07:42:29 +00:00
Joseph Carter
39dcc9fdf3 The "Save Endy's Life" commit
Um, %d is not for floats, use %f
2000-06-26 02:35:40 +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
Jeff Teunissen
f6ec000127 configure.in: Fix typo preventing detection of vga.h.
source/r_part.c: Clarity fix.
2000-06-24 22:28:06 +00:00
Bill Currie
f67e48fb95 put MAX_LIGHTMAPS back to 64 as I found the bug that was causing them to be exhausted 2000-06-24 08:31:38 +00:00
James Brown
244b7d0859 Byebye, evil makefiles. 2000-06-24 08:20:59 +00:00
Bill Currie
ee44cd05e6 source/gl_rsurf.c:
put lightmaps back to 256
configure.in:
	give us a --enable-profile
2000-06-24 06:19:24 +00:00
James Brown
3a77f62a33 Fixing the console build enviroment. 2000-06-24 05:57:11 +00:00
Joseph Carter
d182c83842 When you change gamedirs, cachepics (such as your conback) will be reloaded
in GL..  Please test this extensively, I _think_ the tempfile loader is
smart enough to handle what I'm doing properly.  If it's not, we'll have
to fix a slight memory leak.
2000-06-23 18:36:59 +00:00
Dabb
13ce6fc2b8 Removed gl_test.c. 2000-06-23 09:56:38 +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
Joseph Carter
8a40786b66 Removed gl_test.c 2000-06-22 13:02:23 +00:00
Bill Currie
381891e7e4 bring knghtbrd's 1000 screenshot patch over from oldtree. 2000-06-22 11:56:08 +00:00
Bill Currie
abbe2c19f3 seems I keep forgetting to update this :( 2000-06-22 11:15:50 +00:00
Bill Currie
5c0eb38c1b alpha doesn't do anything useful for flames, so remove it. 2000-06-22 08:02:36 +00:00
Zephaniah E. Hull
4f8cabf049 Small syntax cleanup in cmd.h.
Reworking of extension handling in -3dfx..
Support for changing the 3dfx dithering mode, if the extension is supported.
(Extension is /not/ in upstream mesa yet.)
2000-06-21 16:24:17 +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
f703748ee7 fix GL_BLEND issues. servers me right for blind code copying :/ 2000-06-20 11:04:54 +00:00
Bill Currie
2530186c5e make r_firecolor more forgiving for old config files. prints a warning if the
old second alpha parameter is given, but accepts the other args.
2000-06-19 23:12:55 +00:00
Bill Currie
8d67ac3784 oops :/ 2000-06-19 23:02:33 +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
Anton E. Gavrilov
6024c0ce7f Solution for stufftext problem 2000-06-18 14:24:19 +00:00
Anton E. Gavrilov
02e48af08f Nothing really important 2000-06-18 12:38:37 +00:00
Anton E. Gavrilov
a006a341cb Swapped the meaning of cl_chatmode 1 and cl_chatmode 2 for consistency reasons 2000-06-17 23:24:53 +00:00
Dabb
88389e4076 Borland C++ makefile for win32 server. 2000-06-17 13:53:19 +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
Bill Currie
ee3f88d57d add format checking to our printf style functions and correct the consequences
of this.
2000-06-17 12:27:59 +00:00
Dabb
811744c473 Makefiles for Borland C++. 2000-06-17 11:58:11 +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
Loring Holden
d2a2fbf6cb cmd.c - use (var = Cvar_FindVar(buf)) != 0 instead of (var = Cvar_FindVar(buf))
cvar.c - include strings.h for AIX
gl_warp.c - remove unneeded skytexturenum variable
2000-06-12 06:14:00 +00:00
Bill Currie
0ebebb9bdb fix a gcc warning. I hope this is what the original coder intended (looks like
it).
2000-06-12 02:50:59 +00:00
Dabb
c5c51a2839 fullsbar defaults true now, so changing command line option (win32) -fullsbar -> -nofullsbar 2000-06-11 08:55:40 +00:00
Dabb
3cc97ab304 Added extern. 2000-06-11 08:10:46 +00:00
James Brown
1d1529cb4b Sky & warning fixes. 2000-06-11 04:44:19 +00:00
Thad Ward
dd81394eb0 turned on -Werror for VC++ 2000-06-11 04:19:50 +00:00
Anton E. Gavrilov
b9acf19025 stricmp, strnicmp ---> strcasecmp, strncasecmp 2000-06-11 03:47:11 +00:00
Anton E. Gavrilov
092e377dc1 Add $-expansion code. 2000-06-11 02:57:08 +00:00
Anton E. Gavrilov
b5a2d30444 CVAR_FIXME cleanup 2000-06-11 00:23:13 +00:00
Anton E. Gavrilov
7f5c4e4148 Make command and cvar completion case-insensitive. 2000-06-11 00:05:45 +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
Thad Ward
ac8d74e741 added hl_wad.c and hl_bsp.c to the gl project 2000-06-10 16:40:04 +00:00
James Brown
3b337ab41d Fixed 'skybug' 2000-06-10 09:40:12 +00:00