Ragnvald Maartmann-Moe IV
dbb6e37bb7
Remove some unneeded variables.
...
Speed lightmap calculations up for r_lightmap_components 1.
Enough to give a 4.4% speedup to timedemo overkill.
Hint: int/float/int conversions are expensive.
2001-11-04 11:20:35 +00:00
Ragnvald Maartmann-Moe IV
fd19f9332d
Tiny comment cleanup
2001-11-04 08:50:16 +00:00
Ragnvald Maartmann-Moe IV
de0b4f65fa
modelalpha and currenentity cleanups.
2001-11-04 07:40:35 +00:00
Ragnvald Maartmann-Moe IV
961ea0b693
Move cshift render to before hud/text render, so that you can still read it while heavy cshift action is happening.
2001-11-03 07:50:57 +00:00
Ragnvald Maartmann-Moe IV
e8b36b1a71
Remove unused R_CullBlocked.
2001-11-03 07:30:15 +00:00
Ragnvald Maartmann-Moe IV
08a211385f
Optimize some redundant math out of the particle aging loop.
2001-11-02 21:12:09 +00:00
Ragnvald Maartmann-Moe IV
3958b4a4b3
Age particle trails based on position in trail, during creation.
2001-11-02 20:47:47 +00:00
Ragnvald Maartmann-Moe IV
d1c115da05
Whitespace.
2001-10-30 19:58:01 +00:00
Bill Currie
00514d744e
this should fix the skating statues
2001-10-29 19:38:20 +00:00
Bill Currie
85c9e0ab1e
more externs cleaned up
2001-10-29 17:46:03 +00:00
Bill Currie
78a3e398d5
* taniwha gets medieval on extern
2001-10-28 04:23:37 +00:00
Ragnvald Maartmann-Moe IV
5afce455df
Undo taniwha's debugging insanity.
...
If you want to test for injecting more particles than can fit in the list, particle_new is the right place for the test. It's even there already, just commented out.
2001-10-28 00:47:21 +00:00
Bill Currie
10d83e090a
externs in .c files are evil, evil evil (ok, so I haven't cleaned these ones
...
out yet:P). This fixes the recent GL crash.
2001-10-27 22:27:32 +00:00
Bill Currie
014785a9f2
lots of error checking for our phantom particle bug, but I was unable to
...
trigger it after 2h of play using the previous changes
2001-10-27 08:32:52 +00:00
Adam Olsen
3bba5398ba
- audit malloc usage. now everything checks the return value :)
2001-10-24 22:50:06 +00:00
Bill Currie
bf309fb554
split the sprite and alias model rendering code out from gl_rmain.c into
...
their own files.
2001-10-23 17:20:56 +00:00
Bill Currie
b5341f0d13
we now compile and link with -fno-common. this cleans up the multiple,
...
uninitialized declarations of variables.
2001-10-23 16:55:23 +00:00
Bill Currie
b3914eeaaa
elimination of bare printf (with some exceptions) from libs: Sys_Printf is
...
used instead
2001-10-18 16:42:14 +00:00
Bill Currie
460a270a54
fix some init order issues brought up by the new gl_funcs.c code.
2001-10-15 19:06:22 +00:00
Bill Currie
fd25261ab3
hopefully better win32 dynamicly loaded gl support. if nothing else,
...
gl_funcs.c is easier to read :)
2001-10-15 18:24:30 +00:00
Bill Currie
49fe4e9f05
fix a misplaced s&r
2001-10-11 06:54:29 +00:00
Ragnvald Maartmann-Moe IV
1674e6a763
Clean up of models that are always fullbright.
2001-10-10 05:00:30 +00:00
Ragnvald Maartmann-Moe IV
db87121c2b
Whitespace.
2001-10-10 04:59:43 +00:00
Ragnvald Maartmann-Moe IV
9cc671e6d2
Try #2 .
...
Change r_maxparticles from short to unsigned int.
Make MAX_DLIGHTS into a cvar, r_dlight_max that sets the unsigned int r_maxdlights.
2001-10-09 20:35:17 +00:00
Ragnvald Maartmann-Moe IV
24e80b21d4
Whitespace. Hiding commented out code is bad.
2001-10-06 01:14:23 +00:00
Ragnvald Maartmann-Moe IV
d657a590b5
Clean up extern functions, update noise_diamondsquare to match LordHavoc's fractalnoise.
2001-10-06 00:39:22 +00:00
Ragnvald Maartmann-Moe IV
8afd4a870e
Revert an optimization that impacts legibility more than performance.
2001-10-06 00:31:57 +00:00
Ragnvald Maartmann-Moe IV
9daba0eef7
GL string and character rendering speed up and clean up.
2001-10-05 19:01:57 +00:00
Ragnvald Maartmann-Moe IV
72b198d650
Minor cleanup.
2001-10-05 18:55:40 +00:00
Bill Currie
a1d2cf3532
duplicate file name cleanup and make dist works
2001-10-03 17:50:36 +00:00
Bill Currie
95d3600452
fix skybox/skydom map vis issues. I hope this works on all drivers.
2001-10-03 02:51:30 +00:00
Bill Currie
c3735506c7
hey, I think this one is going to work!!!
2001-10-03 00:07:01 +00:00
Bill Currie
081a44e5bc
this works a smidge better
2001-10-02 23:13:54 +00:00
Ragnvald Maartmann-Moe IV
256f6e94c1
Broken attempt at cleaning up Makefile.am's, for taniwha's perusal.
2001-10-02 22:02:10 +00:00
Bill Currie
4699bf6d5b
files under inclue/QF are not allowed to include files from include (eg,
...
including config.h is a nono).
2001-10-02 21:14:11 +00:00
Ragnvald Maartmann-Moe IV
9c778bb539
Minor tweak of lightning sparks and teleport appearances, fix brief breakage of gl_sky_clip 1 & 2 with skyboxes.
2001-10-02 09:11:20 +00:00
Ragnvald Maartmann-Moe IV
9c21edc6d0
Whitespace.
2001-10-02 06:58:44 +00:00
Ragnvald Maartmann-Moe IV
820fcbb8d2
R_Mirror-related cleanups, and some whitespace.
2001-10-02 06:13:22 +00:00
Ragnvald Maartmann-Moe IV
5e6f77cddb
Instead of glEnable/glDisable (GL_ALPHA_TEST) pairs for every sprite rendered, let's do it once for the entire sprite loop. Minor hit when there are no sprites, but 2+ it's a gain. Better worst case, rather than better peak performance.
2001-10-02 01:48:51 +00:00
Ragnvald Maartmann-Moe IV
63ac10dfde
Clean up glDepthFunc and glDepthRange so it's properly initted, and not set needlessly every frame.
2001-10-02 00:01:05 +00:00
Ragnvald Maartmann-Moe IV
4b3c4e1eaf
Whitespace.
2001-10-01 21:52:05 +00:00
Jeff Teunissen
e892131af5
Rename gl_libgl to gl_driver, nuke the last of the HAVE_GLX references,
...
and default gl_driver to OPENGL32.DLL on Win32.
2001-09-28 07:41:38 +00:00
Bill Currie
b1f4a778f9
the rcsid commit from hell }:>
2001-09-28 06:26:31 +00:00
Jeff Teunissen
31b6da027c
The video version. This WILL break QW and NQ until my next commit.
2001-09-28 05:33:58 +00:00
Jeff Teunissen
be9ee170d6
Okay, the GL renderer lib is fixed up.
2001-09-27 21:47:47 +00:00
Ragnvald Maartmann-Moe IV
bd1465ef3e
Make blood puffs a little less ridiculously large and not overly dense.
2001-09-27 06:52:38 +00:00
Ragnvald Maartmann-Moe IV
35b767cd21
Remove scaling from R_RunParticleEffect, and make blood puff size variable in qw.
2001-09-27 03:09:24 +00:00
Ragnvald Maartmann-Moe IV
2941c07b0a
Add small cyan light to lightning impacts. And restore particle direction use in nq. Greatly improves blood effects.
2001-09-27 00:43:46 +00:00
Ragnvald Maartmann-Moe IV
5330fd5651
Whoops.
2001-09-24 18:03:36 +00:00
Ragnvald Maartmann-Moe IV
e2f14519fb
Merge world.h. Also reduced smoke particle textures from 8 to 1, a considerable speedup through reduced texture thrash...
2001-09-24 17:52:13 +00:00