Bill Currie
71196fedf6
make gcc more anal about prototypes, string constants and function
...
visibility (ie, global functions must have a prototype)
2003-01-06 18:28:13 +00:00
Bill Currie
8a2fbf43a7
alphageek's crosshair patch modified so it's crosshair 3 (need to port this
...
to the sw renderer's:/)
2003-01-03 03:36:45 +00:00
Bill Currie
37c5bb6ec6
merge the bulk of the three screen files into r_screen.c so all common code
...
is shared.
2002-12-11 17:34:48 +00:00
Bill Currie
bf3fa3dc76
remove some dead code and a lot of unnecessary diffs
2002-12-11 16:45:40 +00:00
Bill Currie
ca55210c6e
remove some redundant steps
2002-12-11 05:46:42 +00:00
Bill Currie
88f7b9ae84
it's rgb, not rbg
2002-12-11 05:33:54 +00:00
Bill Currie
15655c23cd
get snaps working properly
2002-12-10 18:24:38 +00:00
Bill Currie
7da551d044
the output is rather mangled but the client no longer crashes
2002-12-10 05:04:30 +00:00
Bill Currie
de7299a64f
don't crash when doing a remote screenshot
2002-12-09 17:47:12 +00:00
Bill Currie
ca4b3acd6c
big protototype cleanup. Now, except for a few cases, all non-static
...
prototypes are in headers files.
2002-11-05 19:12:51 +00:00
Ragnvald Maartmann-Moe IV
00b798c5b6
MORE whitespace. Will it never end?
2002-10-10 20:12:32 +00:00
Ragnvald Maartmann-Moe IV
0b0f9ee371
More whitespace.
2002-10-10 20:03:23 +00:00
Ragnvald Maartmann-Moe IV
ef47bf6e12
gl_skymultipass -> gl_sky_multipass. Much nicer tab completion.
2002-10-10 19:49:36 +00:00
Ragnvald Maartmann-Moe IV
998d68a833
In GL, have r_speeds 1
display particle count.
2002-10-02 04:15:23 +00:00
Bill Currie
9aa84f4ead
case i has 7 visits, not 6 :P
2002-10-02 01:58:29 +00:00
Bill Currie
3d668334e6
copy that fix for the other renderers
2002-09-30 21:35:13 +00:00
Bill Currie
b0629d24fa
handle the new case Despair discovered.
2002-09-23 06:18:48 +00:00
Ragnvald Maartmann-Moe IV
a9b16f5de5
Tweak ramp decay on new spark shower.
2002-09-17 05:13:13 +00:00
Ragnvald Maartmann-Moe IV
d6a2b54252
Use ramps for spark showers, so they fade in color as well as alpha.
...
Lightning doesn't have a ramp, so it doesn't use this feature yet.
2002-09-17 02:14:58 +00:00
Bill Currie
f7b4dffcc0
get larger player skins working in gl
2002-09-13 05:32:28 +00:00
Ragnvald Maartmann-Moe IV
2a8896d4a1
Grr, what's with cvs today?
2002-09-13 01:08:21 +00:00
Bill Currie
9f6f50699d
remove vid_basepal, creating vid.palette (current palette) and host_basepal
2002-09-10 03:51:10 +00:00
Bill Currie
f6ab24e6bc
min-clamp ambientcolor instead of shadecolor. should make for more visible
...
players
2002-09-09 23:06:08 +00:00
Ragnvald Maartmann-Moe IV
c4609f5195
Experimentally allow external texture loading. Also prevent loading RGB textures as RGBA, which wastes a lot of texture memory, and looks ugly on 16bpp boards.
2002-09-06 21:37:22 +00:00
Ragnvald Maartmann-Moe IV
92db391e7c
Optimize model rendering a hair. WildCode spotted that minimum shade was only being applied to the view model (why do we set it up for other stuff if it's not going to be used?). While looking at that, I noticed we could do the divide by 200 in model setup.
2002-09-01 23:45:22 +00:00
Bill Currie
ec47e08e1c
go back to using QFile, quakeio.h and quakefs.h
2002-08-27 07:16:28 +00:00
Ragnvald Maartmann-Moe IV
d11fbc0b5c
Change from if/else if/else function for setting scale in a number of particle effects, to scale = pow (count, 0.23). Smooth particle size changes with varying count, and doesn't seem any slower in my benchmarks.
2002-08-26 00:11:16 +00:00
Ragnvald Maartmann-Moe IV
ff03367bc2
Whitespace and comment cleanups.
2002-08-25 05:55:28 +00:00
Ragnvald Maartmann-Moe IV
7bf21e20ed
Use R_CullSphere for rotated bsp models.
2002-08-23 21:14:43 +00:00
Ragnvald Maartmann-Moe IV
aa85219dc4
Commit R_CullSphere use for alias models. Only a 3.3% speed hit for me, and should quiet "foo is disappearing" whinging.
2002-08-23 04:09:00 +00:00
Bill Currie
c44ec1993d
handle up to 512x512 map textures /properly/. would be nicer if the max
...
could be dynamic
2002-08-22 19:00:55 +00:00
Ragnvald Maartmann-Moe IV
c91f1a2aea
Rename Length to VectorLength.
2002-08-20 02:22:40 +00:00
Ragnvald Maartmann-Moe IV
32a85e7130
Clipping cleanups.
...
Calculate radius for alias models as well as brush.
Culling is no longer optional on alias models (was only ever disabled for viewmodel, which is a lot of extra effort to avoid clip testing 1 thing out of hundreds).
Clip QSG2 scaled alias models with a scaled bbox.
2002-08-20 00:48:59 +00:00
Bill Currie
55cdde81da
rename clmodel to model
2002-08-19 04:15:46 +00:00
Bill Currie
b1a180b25e
move the view model check for min_light into the model loader (checks for
...
progs/v_*)
2002-08-19 04:05:02 +00:00
Bill Currie
1a0cf8d1f4
remove some redundant/incorrect code
2002-08-14 06:28:38 +00:00
Bill Currie
7ed7938b1c
get colored lighting working reasonably well
2002-08-14 05:45:50 +00:00
Bill Currie
2abaf27cdc
attempt to fix the dark models at centers of dlights
2002-08-12 15:36:52 +00:00
Bill Currie
8e97d6279a
first stab at colored alias model lighting
2002-08-12 06:14:55 +00:00
Bill Currie
4123d74e5e
don't segfault when a surface uses the `null' texture (r_notexture_mip)
2002-08-09 06:07:25 +00:00
Bill Currie
cbde41c669
damnit!
2002-08-08 04:41:41 +00:00
Bill Currie
3baec9e856
clean out the dead mtex code
2002-08-08 04:27:49 +00:00
Ragnvald Maartmann-Moe IV
f773e1fa36
Minor alias model rendering speedup.
2002-08-03 07:07:23 +00:00
Ragnvald Maartmann-Moe IV
10c3f91a24
Revert taniwha's broken-radeon workaround.
2002-08-03 07:07:00 +00:00
Bill Currie
9c08f5b169
fix a typo that caused weirdness with the lerping
2002-08-03 06:13:35 +00:00
Ragnvald Maartmann-Moe IV
97d6f46f75
Speed up 16bit coord alias models a bit. (only one VectorScale per vertex now)
2002-08-02 18:07:53 +00:00
Bill Currie
2ce0f2ded2
we now require modern autoconf (2.52+), automake (1.6+) and libtool (1.4+).
...
This gives us a bunch more flexibility. plugins no longer have the "lib"
prefix or the version suffix, they're now installed in
$fs_sharepath/QFplugins,, builds should take much less time (in general,
only one of pic or non-pic versions are build), bins and libs can have
individual CFLAGS
2002-08-01 19:49:10 +00:00
Ragnvald Maartmann-Moe IV
587de27849
Another step towards QSG2 compliance.
2002-07-25 14:43:36 +00:00
Ragnvald Maartmann-Moe IV
4ed68266ea
Speedup when r_waterripple = 0, and small speedup to texture coordinate calculation.
2002-07-25 14:01:36 +00:00
Ragnvald Maartmann-Moe IV
d3fc8c5fb6
No need for function pointers on R_AddDynamicLights_*, they are never called from outside the R_BuildLightMaps_* function that matches them.
...
Nice spotting, taniwha!
2002-07-24 15:30:28 +00:00