Commit graph

640 commits

Author SHA1 Message Date
Bill Currie
5189ffeae9 fix software model lighting 2002-09-18 14:38:41 +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
Ragnvald Maartmann-Moe IV
ca50e1945b Oops. 2002-09-13 00:23:58 +00:00
Bill Currie
899ad6bebe use the correct palette when writing out screen shots 2002-09-10 15:13:12 +00:00
Bill Currie
ecdd537183 beat sw gamma handling till GL works. after a fasion. it /looks/ like it was
beaten on.
2002-09-10 06:35:32 +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
9a577c2233 make the old keyname message a little clearer 2002-08-29 18:56:55 +00:00
Ragnvald Maartmann-Moe IV
e7f6930efa Hacky key repeat handling, just like in_x11.c! 2002-08-29 04:00:30 +00:00
Bill Currie
e1a9cfb6f0 rename gl_max_vaelements to gl_vaelements_max 2002-08-28 07:44:58 +00:00
Bill Currie
a99329eff9 add a cvar to control the maximum vertex array size for buggy drivers.
defaults to 0 (no limit).
2002-08-28 01:35:50 +00:00
Ragnvald Maartmann-Moe IV
c1a8a02762 Whitespace. 2002-08-27 19:38:04 +00:00
Bill Currie
a7380fef66 nuke msg_suppress_1 in favor of Sys_DPrintf 2002-08-27 18:05:59 +00:00
Bill Currie
ec47e08e1c go back to using QFile, quakeio.h and quakefs.h 2002-08-27 07:16:28 +00:00
Bill Currie
7f5c99efdc fix -sdl32 crashing on startup (vid_bitdepth init got lost) 2002-08-26 22:43:34 +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
147f940510 Kill dead gl_occlusion cvar. 2002-08-23 21:55:59 +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
9bf3ccd813 SDL-using targets are now aware if the cursor is in the window or not. in_snd_block now works for them.
(Also cursor hiding when in window was fixed for -sgl, already committed)
2002-08-21 06:06:05 +00:00
Ragnvald Maartmann-Moe IV
f92c2d8525 Whitespace cleanups and some cruft removal. 2002-08-21 06:00:08 +00:00
Ragnvald Maartmann-Moe IV
9d2e09feee Whitespace. 2002-08-21 05:59:00 +00:00
Bill Currie
84afd9e299 d'oh, dunno why I did 8 bit that way, put /it/ back to the old shared buffer
way because it always worked and it really doesn't need the slowdown.
2002-08-21 05:15:08 +00:00
Bill Currie
be75ff490f fix -x11 screenshots and remove some dead code 2002-08-21 04:58:47 +00:00
Bill Currie
09d89a3214 move bi_keys from csqc to pr_keys in targets allowing the server to link
with libQFcsqc (need a new name:P)
2002-08-21 02:25:51 +00:00
Bill Currie
6b559077dc Nuke the screen saver code as it hasn't been needed since we stopped using
dga keyboard input
2002-08-21 02:10:47 +00:00
Ragnvald Maartmann-Moe IV
1489ee8648 Remove old keyboard/mouse grabber cruft. 2002-08-21 01:55:31 +00:00
Ragnvald Maartmann-Moe IV
b96617e935 Some more whitespace, plus stop unconditionally resuming cd audio and sound when focus restored. 2002-08-21 01:40:21 +00:00
Ragnvald Maartmann-Moe IV
ee7e3326e0 Merging common SDL video code into context_sdl.c, to make adding SDL features easier. 2002-08-21 00:05:27 +00:00
Ragnvald Maartmann-Moe IV
168915faed Some header cleanup, some whitespace. 2002-08-21 00:04:35 +00:00
Bill Currie
5009213564 Move the signal handling code from video/targets/* to sys.c (I'm leaving
the SDL target files for Despair since he's working on the currently). Also
make progs segfault handling much more robust (and general: sigill etc too:)
2002-08-20 23:04:57 +00:00
Bill Currie
099e2739b5 various msvc fixes thanks to muzzy (hope he doesn't give up:) 2002-08-20 19:16:11 +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
2b1fd8e8c0 fix the menu keybinding not working bug 2002-08-19 02:48:38 +00:00
Bill Currie
4b1ceb9795 hopefully take care of glGetProcAddress type once and for all :) 2002-08-16 18:29:21 +00:00
Ragnvald Maartmann-Moe IV
3b65cbc35d Raorn's SDL_GL_GetProc support. Makes -sgl targets work again, hopefully on windows as well as linux.
Now just need to get key repeat, focus handling and sound blocking on focus loss working like x11 input system does, and sdl support will be in pretty good shape. And clean out all the stupid #ifdefs...
2002-08-16 07:53:11 +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