Commit graph

319 commits

Author SHA1 Message Date
Bill Currie
6eadd402ab when I say I want packet loggin, I want packet logging, not undefined symbols 2001-05-28 21:34:27 +00:00
Zephaniah E. Hull
2ab7077e0e Minor clipping. 2001-05-27 18:35:08 +00:00
Chris Ison
9b4f09ff0f fix for qw skin upload every frame bug, thank deek for the fix and help 2001-05-27 09:19:24 +00:00
Bill Currie
4c5b977902 move cl_math.S into renderer/sw/transform.S (never before realised it was
part of the renderer)
2001-05-26 03:33:09 +00:00
Chris Ison
3035224bec disable cl_math.S asm 2001-05-25 22:57:25 +00:00
Bill Currie
1038f88a64 disable asm in the software renderer for now. This will allow me to fix the
files one at a time and allow others to use software independent of asm usage
(even if a little slowly (~14% slower on my dual c450)).
2001-05-25 14:57:31 +00:00
Bill Currie
a87c4bbd93 vid.c:
Don't bother checking vid_gamma for CVAR_ROM becuase it is impossible to
	get to VID_UpdateGamma when it is set except for when the cvar is
	initially created, and we /want/ the code to execute in that case.
vid.h:
	add initialized to viddef_t
vid_common_gl.c:
	actually /use/ gammatable (it tends to help)
vid_*.c:
	clean up rendundant decls of gammatable, vid_initialized (now
	vid.initialized) and make sure vid.initialized gets set.
gl_view.c:
	remove gammatable decls
2001-05-25 04:03:47 +00:00
Bill Currie
5ed553f876 more files missed in the move 2001-05-25 02:45:57 +00:00
Bill Currie
600bcfb108 forgot to remove these 2001-05-24 19:28:07 +00:00
Bill Currie
73e6e1684f FINALLY, the nq and qw renderers are merged. the view and particle subsystems
are not yet merged due to their dependence on the client, but that will come
soon.
2001-05-24 19:22:35 +00:00
Bill Currie
05f9470b7c oops, got a little too agressive with the V_CheckGamma cleanup 2001-05-24 18:50:02 +00:00
Bill Currie
f21ad90ba4 total nukage of brighten, brightness and contrast. 2001-05-24 16:30:25 +00:00
Bill Currie
a3518d44ed Nuke V_CheckGamma, moving its sole contribution to VID_UpdateGamma in vid.c 2001-05-24 15:48:39 +00:00
Bill Currie
d87d374fcf white space 2001-05-24 04:50:12 +00:00
Chris Ison
3cc3392a8a fixed paused being displayed by default in gl 2001-05-23 10:20:27 +00:00
Bill Currie
1a25bc9349 gl_screen.c and screen.c are now client clean (and merged :) 2001-05-23 06:33:23 +00:00
Bill Currie
ec7335029d gl_draw.c is now client clean. 2001-05-23 04:05:10 +00:00
Bill Currie
f49608b881 copy it to nq and clean out the commented out code 2001-05-23 03:33:39 +00:00
Bill Currie
3b7d356416 helps if I upload the texture in the correct format :) 2001-05-23 03:31:54 +00:00
Bill Currie
a8e1da5d99 make dist and compile fixes for mingw cross building 2001-05-22 19:13:23 +00:00
Zephaniah E. Hull
e65c1bd7e1 Make sure the message gets to the client. 2001-05-22 13:40:21 +00:00
Zephaniah E. Hull
98a8db2f0e Coderjoe's fix from newtree. (The other part of the DOS fix.)
Prevent an infinite loop in a fairly rare case, where the infostring is
too full to accept a new name when there is a duplicate name.
2001-05-22 13:30:35 +00:00
Zephaniah E. Hull
5245f56012 Validate userinfo strings on connect. (Part of a nasty DOS fix.) 2001-05-22 12:00:45 +00:00
Joseph Carter
2b4c31b7ae Noise reduction in draw vs gl_draw 2001-05-22 09:24:56 +00:00
Joseph Carter
954b2148f7 Fix a gcc warning in cl_ngraph.c 2001-05-22 09:19:53 +00:00
Bill Currie
4a80639556 sw and gl rmisc are now client clean. the graphing functions ahve been pulled
out into r_graph.c (Time and Z graph), cl_ngraph.c (Net graph), and
{gl,sw}_graph.c (R_LineGraph). gl_ngraph.c is gone. Unfortunatly, something
is rather wrong with NetGraph in gl (probably R_LineGraph).
2001-05-22 06:00:38 +00:00
Bill Currie
0a4b53c817 gl_rsurf is now client clean 2001-05-21 23:09:46 +00:00
Bill Currie
da8715f27d sw_ralias.c and gl_rmain.c are now client clean. this involved a bit of a
revamp of skins. keep an eye out for broken skins (especially in nq)
2001-05-21 22:25:35 +00:00
Ragnvald Maartmann-Moe IV
ddceaf78b3 Merge most of cshift calcs from sw and gl to r_view.c 2001-05-21 19:53:57 +00:00
Ragnvald Maartmann-Moe IV
46b5ce2d09 Remove client.h from gl_sky_clip. Changed an error message to not use cl_name. 2001-05-21 15:59:02 +00:00
Ragnvald Maartmann-Moe IV
853dfceac6 Minor cleanups, not client.h or host.h clean yet, though. 2001-05-21 04:41:57 +00:00
Ragnvald Maartmann-Moe IV
4d09685df7 Remove client.h from sw_rsurf.c. Prepare gl_rsurf.c for same. 2001-05-21 03:39:41 +00:00
Ragnvald Maartmann-Moe IV
a9c9a46c37 client.h gone from gl_rlight.c and sw_rlight.c.
cl_lightstyle -> r_lightstyle
2001-05-21 03:08:07 +00:00
Bill Currie
ece576ed4b reduce gl_rmain's dependency on cl*.h 2001-05-21 00:22:35 +00:00
Ragnvald Maartmann-Moe IV
1aef81e9ef Minor makefile cleanups. 2001-05-20 23:30:16 +00:00
Ragnvald Maartmann-Moe IV
62eefb49af Remove gl_cull cvar. Was enabled regardless of the setting of the cvar, in any case. 2001-05-20 22:02:44 +00:00
Ragnvald Maartmann-Moe IV
d9b509b885 nonintel stuff makes more sense in nonintel.c 2001-05-20 21:47:18 +00:00
Ragnvald Maartmann-Moe IV
ee8bdb0742 sw_rvars.c was just a little bit silly for a simple variable declaration. 2001-05-20 21:44:05 +00:00
Bill Currie
337430a113 sw_rmain.c is now client and chase clean. 2001-05-20 20:38:51 +00:00
Ragnvald Maartmann-Moe IV
7d008a5949 whitespace 2001-05-20 20:35:39 +00:00
Ragnvald Maartmann-Moe IV
3f816c0aa3 whitespace. 2001-05-20 18:07:39 +00:00
Ragnvald Maartmann-Moe IV
a07d05e054 whitenoise-- 2001-05-20 16:29:41 +00:00
Bill Currie
44943e78de better fix for the dlights problem (will prevent similar problems in the
future)
2001-05-20 06:23:46 +00:00
Bill Currie
d360b01827 move dlight stuff out of cl_* into r_main.c. nq dlights seem to be broken,
but that seems to have been from before this work
2001-05-20 05:42:52 +00:00
Ragnvald Maartmann-Moe IV
f7330f078e Change meaning of gl_lightmap_components a bit. Setting 4 changed to reduce texture memory waste by a bit. Really only an optimization for nvidia drivers anyways. This also should fix a quality issue in 16bpp with it set to 4. 2001-05-20 04:36:20 +00:00
Bill Currie
cf2e098434 header order 2001-05-20 04:26:22 +00:00
Bill Currie
a41af75e56 cl.worldmodel is only remfereced once in the renderer (and that will be
going away shortly)
2001-05-20 04:25:36 +00:00
Bill Currie
daca64ed04 more cl*.h dependency cleanups realtime and cl.time are no longer reffed 2001-05-20 03:54:55 +00:00
Bill Currie
d1c2b0ec52 r_efrag.c no longer relies on cl*.h 2001-05-20 02:39:56 +00:00
Bill Currie
e0512e4af3 r_efrag.c is almost client.h free 2001-05-20 01:58:59 +00:00