Commit graph

420 commits

Author SHA1 Message Date
Ragnvald Maartmann-Moe IV
e78bdb3ea6 Fix failure to free cache for non-shadowed stuff (lightning, grenades, etc).
Also a minor speedup (only mess with glHints once per frame, instead of dozens of times).
2001-12-19 18:32:26 +00:00
Ragnvald Maartmann-Moe IV
c764ddc64a Just a massive speedup to gl particles. Enjoy.
(Thanks to LordHavoc for prodding me to use glDrawElements, and munge all the particle textures into 1. Code mine, suggestions his)
2001-12-19 04:03:57 +00:00
Bill Currie
5d643c2483 tiny optimisation to GL_GetAliasFrameVerts 2001-12-18 05:50:57 +00:00
Chris Ison
73f9c3aaa5 some minor tidy/speed up 2001-12-18 03:59:37 +00:00
Chris Ison
1c26723864 changed int to an unsigned int 2001-12-17 23:41:58 +00:00
Chris Ison
db71398238 removed row and col usage from Draw_Character 2001-12-17 23:10:00 +00:00
Bill Currie
9b4e21a914 minor prototype cleanups 2001-12-14 00:06:58 +00:00
Bill Currie
b3843f7f5b draw.h:
remove dead Draw_TransPic prototype
draw.c:
	really don't draw spaces in Draw_AltString
2001-12-13 19:13:22 +00:00
Ragnvald Maartmann-Moe IV
f66b7a93e5 Major particle interface cleanup, several bugfixes, and minor performance improvements. Oh, check out "/help easter_eggs" (gl-only, at the moment). 2001-12-11 22:37:30 +00:00
Ragnvald Maartmann-Moe IV
e9690c8ee9 Whitespace. 2001-12-11 20:36:23 +00:00
Ragnvald Maartmann-Moe IV
d4a8224d9b Change hudswap to use a callback, and instead of passing a swap variable to 10 functions, where only 2 use it, use a global variable. Make a few scr functions static inline, too. Got a totally unexpected ~0.45fps speedup. 2001-12-09 14:05:30 +00:00
Ragnvald Maartmann-Moe IV
f9d3f9f017 Remove dead cvar. 2001-12-09 07:43:58 +00:00
Bill Currie
b52606aed2 *sigh* Turns out id didn't feel like fixing the bugs in progs so don't blat
out frame errors under normal circumstances.
2001-12-08 20:58:09 +00:00
Bill Currie
52b0c8f3fc how me a repeatable bug and I'll show you a dead bug }:>
(this fixes the "Cache_Free: not allocated" crash)
2001-12-04 17:46:42 +00:00
Ragnvald Maartmann-Moe IV
20690b71e0 Argh! Try #2. 2001-12-03 11:46:30 +00:00
Ragnvald Maartmann-Moe IV
43b31965a2 Back out local changes that shouldn't have been committed along with the rename to r_particles_max. 2001-12-03 11:08:10 +00:00
Ragnvald Maartmann-Moe IV
29a8d84806 cl_maxparticles to r_particles_max. annoying, but makes cl_ tab-completion less so. 2001-12-03 08:55:46 +00:00
Bill Currie
9bf575d081 several little tweaks that more than make up for the reversion of low-copy 2001-12-03 08:46:56 +00:00
Bill Currie
4f2f686834 r_netgraph_alpha works again 2001-11-30 03:51:43 +00:00
Ragnvald Maartmann-Moe IV
dea0a2c08d Whitespace. 2001-11-25 08:00:16 +00:00
Bill Currie
1cdf7fa55f clean up the math for id skys a little. doesn't fix the sillyness, but that's
caused by the deliberate texuture wrapping and I think gl isn't coping well
with that when the texture coords wind up getting swapped due to the wrap.
2001-11-25 07:41:17 +00:00
Bill Currie
e99b422628 extinguish gl_fires. it's semi-broken, generally nasty (code wise) and
kinda tacky. also results in a slight speed boost:)
2001-11-25 06:24:26 +00:00
Ragnvald Maartmann-Moe IV
4d406337b6 Move gl_fires into gl, where it belongs.
Also some small cleanups in particles.
Brighten grenade smoke a tiny bit, so it's not so invisible in the typically dark quake areas.
And some minor cleanups to water rendering.
2001-11-24 08:21:07 +00:00
Ragnvald Maartmann-Moe IV
405e8fffc9 Whitespace. 2001-11-24 08:16:43 +00:00
Ragnvald Maartmann-Moe IV
2c8d802935 Whitespace. 2001-11-24 08:08:44 +00:00
Bill Currie
8826bdd9dc nuke the d_subdiv16 cvar as its sole user got nuked in the previous commit 2001-11-21 19:24:57 +00:00
Bill Currie
0be2a31f2e lots of code cleanup. Merge Mod_LoadAllSkins, merge the sw32 model loading
code into the sw model loading code, remove all refs to r_pixbytes from the
sw renderer (it was never anything but 1), kill libQFmodels_sw32, remove
all the 16 bit code from the 8 bit sw renderer.
2001-11-21 19:13:53 +00:00
Bill Currie
61382f4967 make absolutely certain skin->fb_texture is 0 if there are no fb pixels in
the skin texture.
2001-11-21 08:26:21 +00:00
Bill Currie
7d14013041 fix many, many bugs in the alias skin loading, transforming and rendering
code. This fixes blather's `melted models' (sw), the nq alt player model
skins (gl), the arbitrary limits on skins and skin groups in gl, and the
incorrect timing of group skins (animated) in gl.
2001-11-21 08:14:05 +00:00
Chris Ison
3e34fc83e4 -3dfx re-enabled 2001-11-21 02:36:48 +00:00
Bill Currie
bc95116825 fix a defined but not used warning 2001-11-20 23:22:19 +00:00
Ragnvald Maartmann-Moe IV
3f79367865 Minor rendering cleanup, also may help rendering speed when r_wateralpha = 1, by playing with draw order. 2001-11-20 09:41:15 +00:00
Ragnvald Maartmann-Moe IV
b836566a3d Fix particle physics bug with blob2 particles.
(thanks to taniwha for pointing out half of the fix I was missing)
2001-11-20 08:31:27 +00:00
Bill Currie
5dab7ccaf7 precalculate smoe model specific info (wether the whole model is fullbright,
if it should have shadows, whether it should be scaled/translated (gl eyes),
and the minimum lighting (player)). give a 1.9% speedup in null renderer.
2001-11-20 08:02:35 +00:00
Ragnvald Maartmann-Moe IV
b69e372589 Whitespace. 2001-11-20 06:57:31 +00:00
Bill Currie
025d520522 remove some dead code 2001-11-20 04:48:04 +00:00
Bill Currie
4c628d0c04 fbdev stuff is now warnings clean, so all -Werror for it 2001-11-20 03:40:57 +00:00
Bill Currie
46835e79fe more quakeforge compiling on alpha patches 2001-11-17 05:26:30 +00:00
Chris Ison
5c26b54697 remove smoke I added thismorning 2001-11-15 23:36:14 +00:00
Chris Ison
0e5262c2ea colored explosion smoke 2001-11-15 20:53:23 +00:00
Bill Currie
267e51eaaf while cute, cl_surprise is just way too expensive when gains are measured in
fractions of a percent, and a loss is 3%.

I hate doing this sort of thing :(
2001-11-15 01:37:57 +00:00
Chris Ison
8d50c8ea47 added cl_surprise cvar for easter eggs 2001-11-14 21:46:50 +00:00
Chris Ison
c72e2ef324 re-enable 8bit textures 2001-11-14 21:01:10 +00:00
Bill Currie
e91180cccf this should take care of wildcode's 8 bit issues 2001-11-14 16:36:42 +00:00
Bill Currie
50f2d46398 various cleanups 2001-11-12 20:58:06 +00:00
Bill Currie
d168a3daee this should remove the requirement for gmake on bsd systems 2001-11-12 16:23:41 +00:00
Ragnvald Maartmann-Moe IV
1dfd2d4eaf More use of mathlib, and some small optimizations. 2001-11-09 18:51:33 +00:00
Ragnvald Maartmann-Moe IV
3d572df460 Bug fix (we weren't removing particles from the list until the frame after they died, which caused particle slots to be wasted).
Fix for a bug in particle trail pre-aging (sometimes created some 0 age particles).
And a couple small optimizations.
2001-11-09 12:09:46 +00:00
Ragnvald Maartmann-Moe IV
f60c39e0bc Whitespace. 2001-11-07 06:59:10 +00:00
Ragnvald Maartmann-Moe IV
14aa428871 Switch to dot texture for sparks, and drop particle size. A little less cartoony effect. 2001-11-07 06:57:34 +00:00