Commit graph

1284 commits

Author SHA1 Message Date
Bill Currie
4d08e219d9 make edict_t.v a union of entvars_t and pr_type_t[] 2001-02-02 21:22:35 +00:00
Ragnvald Maartmann-Moe IV
175f24020d Comment typo fix. 2001-02-02 20:47:31 +00:00
Bill Currie
d6c8b85103 autoconfiscate FB_AUX_VGA_PLANES_VGA4, FB_AUX_VGA_PLANES_CFB4 and
FB_AUX_VGA_PLANES_CFB8
2001-02-02 16:31:20 +00:00
Bill Currie
ff12a738b5 Linux frame buffer support from Ryan Nielsen <ran@gondolin.fortyoz.org> (thank
you). While not yet fully functional, it compiles and runs to the point of
failing to find a mode (probably my fault, that:), but there's no mouse
support yet and the keyboard input isn't playable.
2001-02-02 05:56:53 +00:00
Bill Currie
17e9aa044b fix the shifting window problem in fullscreen (thanks, zinx) 2001-02-02 05:42:35 +00:00
Ragnvald Maartmann-Moe IV
e5b8b14303 Fix default for dynamic lightmap updates. 2001-02-01 21:06:41 +00:00
Ragnvald Maartmann-Moe IV
161973d75a Cvar cleanup.
gl_smooth is now gl_dlight_smooth
gl_smoothdlights was redundant, is now gone
gl_flashblend is now gl_dlight_polyblend
gl_lightmap added to enable/disable lightmap updates independently of use of gl_dlight_polyblend
2001-02-01 19:53:15 +00:00
Bill Currie
20a885c174 clean up the #define mess in progs.h. While I doubt this will fix the null
function crashes, at least the code is easier to read.
2001-02-01 08:38:25 +00:00
Bill Currie
77555241bd remove the commented out versions of the modellist etc code 2001-02-01 07:07:17 +00:00
Ragnvald Maartmann-Moe IV
3affa48786 Whitespace, and a very minor tweak to dynamic texture generation. 2001-01-31 07:52:28 +00:00
Bill Currie
9bb8dc358f apply an axe to the gl scraps code 2001-01-30 21:40:39 +00:00
Bill Currie
f0fc1368cf remove the non-hashtable lookup code from _COM_FOpenFile. While it seemed the
linear search was just slightly faster even for mega2k (~0.3s / 22.5) this is
probably partly due to the cost of initializing the hash tables in the first
place and thus gains might be noticed on subsequent map changes. Also, the
new hash code is much simpler and easier to read/maintain. Enough of a boon
right there :)
2001-01-30 06:54:02 +00:00
Bill Currie
f0c0dd28bc pak files now use hash tables for searching. Doesn't seem to be much of a gain
for bare qw, but might help with tf (my tf setup is borked @work, so I can't
check for certain until later). However, if nothing else, it tidies up the code
a bit.
2001-01-29 19:41:54 +00:00
Bill Currie
9606b889cb white space 2001-01-29 16:10:23 +00:00
Bill Currie
3eb47e6d3e cleanup dlight creation for entity effects. the color, radius etc are now all
set in the one place, rather than two. Should also be more easily extended.
2001-01-29 07:39:37 +00:00
Bill Currie
6025486e15 remove the no-longer needed test to determine whether dlights should be added
to a player
2001-01-29 06:23:35 +00:00
Bill Currie
b2c282de93 extend a comment 2001-01-29 05:58:37 +00:00
Bill Currie
645ba3fe40 function header comment cleanup 2001-01-29 04:03:00 +00:00
Ragnvald Maartmann-Moe IV
e930c800f0 Rename gl_particles to r_particles, and allow software to disable particles as well. Thanks sergio! 2001-01-29 00:13:01 +00:00
Bill Currie
2b165575dd fix a nasty buffer overflow 2001-01-29 00:01:13 +00:00
Bill Currie
a24894dc70 progs modularity improvements. what WAS sv_progs is now sv_pr_state, qwprog is
now sv_progs and the progs loading code no longer falls back to qwprogs.dat or
progs.dat. Also, call SV_Progs_Init_Cvars (forgot to do this earlier)
2001-01-28 23:27:48 +00:00
Bill Currie
3c18a79299 call SV_Progs_Init_Cvars to get r_skyname back 2001-01-28 22:06:40 +00:00
Zephaniah E. Hull
23b015af3f Slight tweak to the particle code. 2001-01-28 22:03:42 +00:00
Zephaniah E. Hull
2a723b5766 Better fix for the rocket trail problem, was my mistake.
(^ is xor, not power of.)
2001-01-28 10:15:52 +00:00
Ragnvald Maartmann-Moe IV
030f721d89 Dim crosshair fix, maybe. 2001-01-28 03:20:36 +00:00
Ragnvald Maartmann-Moe IV
c81a8b79db Crosshair 2 fix. 2001-01-28 02:23:54 +00:00
Ragnvald Maartmann-Moe IV
0ce365a5ae Hack to fix particles. 2001-01-27 23:34:37 +00:00
Ragnvald Maartmann-Moe IV
96d1b3239c Whitespace. 2001-01-27 23:14:09 +00:00
Bill Currie
9754c56836 remove the seams from the skybox 2001-01-27 21:50:51 +00:00
Ragnvald Maartmann-Moe IV
684eeee134 Fix mipmapping default. Oops. :P 2001-01-27 12:18:53 +00:00
Ragnvald Maartmann-Moe IV
0e88a1f18b Fix crosshair blurring, while maintaining gl_texturemode handling. 2001-01-27 11:01:51 +00:00
Ragnvald Maartmann-Moe IV
16c66488e9 Fix blurred cursor when picmip, and a minor include cleanup. 2001-01-27 07:23:39 +00:00
Bill Currie
3b6f18d1af oh, just a 4 x speedup for q1dm17 wih gl_sky_clip 1 and gl_sky_divide 1 :) 2001-01-27 06:16:40 +00:00
Jeff Teunissen
3a2389c3dc Performance tweaks to Alias model rendering in GL. I get 0.5fps out of it
in overkill, but every little bit counts. :)
2001-01-27 06:01:07 +00:00
Zephaniah E. Hull
c316ae0069 Cleaned up a lot of fixmes. 2001-01-27 04:58:07 +00:00
Bill Currie
e73ff67bf3 fix for bsd 2001-01-27 04:37:37 +00:00
Ragnvald Maartmann-Moe IV
4717448bd6 Minor lighting cleanup, plus fix minor bug (loss of color on nearby dlights). 2001-01-27 03:01:09 +00:00
Ragnvald Maartmann-Moe IV
57f32284dd Mostly whitespace, typo fixes. Tweak mouse scaling in sdl more inline with other clients. 2001-01-27 02:56:30 +00:00
Ragnvald Maartmann-Moe IV
4c4e7e9530 Whitespace. 2001-01-27 02:11:58 +00:00
Ragnvald Maartmann-Moe IV
2d9f722218 Whitespace. 2001-01-26 06:10:50 +00:00
Ragnvald Maartmann-Moe IV
e1f4bc624a Optimize skydome rendering. Moves 4 multiplies from inner loop to outer loop. Saves 448 multiplies per pass. 2001-01-26 05:50:13 +00:00
Thad Ward
c8ab801128 qw_client.dsp and makefile.mgw:
remove vid_win.c from the projects. no longer needed after taniwha's
    cl_main changes.

cl_main.c:
    remove #include "winquake.h", which is not needed

vc/config.h:
    add #define HAVE_WINSOCK_H
2001-01-25 21:16:43 +00:00
Bill Currie
5c1fa73e55 remove the win32 windows tomfoolery. if someone complains, we'll cross that
bridge when we get to it (unless we burn it first:)
2001-01-25 06:08:46 +00:00
Thad Ward
04d66b0952 get it building on windows again.
cl_main.c:
    added #include "winquake.h" back in, since ming and msvc
    wouldn't build without it

qw_client.dsp and makefile.mgw:
    added vid_win.c
    (need to rename qw_*.dsp to qf_*.dsp one of these days...)
2001-01-25 04:56:27 +00:00
Zephaniah E. Hull
0ec668bc4e Switch GL_RGBA to GL_LUMINANCE_ALPHA, possibily a slight speed gain.
More to the point, should cut texture memory usage for the textures in
question in HALF.
2001-01-25 04:13:04 +00:00
Ragnvald Maartmann-Moe IV
33bea927c9 Tune blood trail length for speed again. *sigh* 2001-01-25 01:33:29 +00:00
Bill Currie
6e1fdf78b0 forgot about this 2001-01-24 19:42:09 +00:00
Ragnvald Maartmann-Moe IV
ae0b9b7215 Brighten particles a touch. New blended particles are on average a little less bright anyways. 2001-01-24 18:27:35 +00:00
Ragnvald Maartmann-Moe IV
bcb8ec45da Whitespace. 2001-01-24 18:26:23 +00:00
Bill Currie
21654b12e5 server builds (and works, thanks for the test, Dabb) and an sdl client attempts
to link.
2001-01-24 17:41:34 +00:00