Commit graph

1528 commits

Author SHA1 Message Date
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
9b0cea79ed Remove unused #define. 2001-01-27 02:59:33 +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
97ff9b38da add .vimrc 2001-01-24 20:17:12 +00:00
Bill Currie
6e1fdf78b0 forgot about this 2001-01-24 19:42:09 +00:00
Dabb
8fd94ff199 Add HAVE_WINSOCK_H 2001-01-24 19:25:39 +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
Ragnvald Maartmann-Moe IV
f1a5a25b69 Make blood and slight blood different, like original quakeworld, again. 2001-01-24 09:53:35 +00:00
Ragnvald Maartmann-Moe IV
ee8cd32c0c Dynamically generate particle texture. Even better looking, too! 2001-01-24 07:36:36 +00:00
Ragnvald Maartmann-Moe IV
37ba8cabb3 Upped particle texture from 4*4 mono blotch to 16*16 grayscale circle. Looks dramatically better, and actually seems a hair faster here. 2001-01-24 06:22:18 +00:00
Bill Currie
733d55603c partial fixes for cross-compiling using mingw32. MIGHT break normal builds 2001-01-24 00:06:58 +00:00
Bill Currie
8d3c85349a add a FIXME comment 2001-01-24 00:02:43 +00:00
Bill Currie
49ed4186f8 remove an unused variable 2001-01-23 23:59:32 +00:00