Commit Graph

128 Commits

Author SHA1 Message Date
Bill Currie 06946d6ab4 memset doesn't use bits 8+ 2001-08-08 23:32:09 +00:00
Bill Currie 3047a6a4ba this seems to fix the flickering dlights problem. surface visibility was
calculated too late for light marking.
2001-08-08 22:20:57 +00:00
Ragnvald Maartmann-Moe IV a4ea8d088a Header sort. 2001-08-07 21:35:54 +00:00
Bill Currie 0cba1b0f62 pre-calculate blended alias frame verteces and don't bother doing any
blended calculations for single pose frames/models
2001-08-07 21:18:49 +00:00
Bill Currie a81828fe38 port over gl's lighting improvements. only gives ~4.6% improvement on my c600
but that's better than nothing. (34.41 to 36.00)
2001-08-07 17:29:21 +00:00
Bill Currie c64c31b2e9 white space 2001-08-07 17:27:28 +00:00
Zephaniah E. Hull 6a59ac6c51 The end of in_dga_mouseaccel, the birth of in_pre_sensitivity.
As the ONLY ways that in_dga_mouseaccel differed from sensitivity was
that it worked before m_filter, and that it was DGA only, it had to go.

Now in_pre_sensitivity works with all targets and is applied just before
m_filter.
2001-08-06 05:01:31 +00:00
Bill Currie 9ac148dd69 freaking out by one error :/ I'm suprised previous runs worked at all, but
with this correction I am finally seeing the expected speed boost (12% on my
c450 using my null GL lib).
2001-08-06 04:13:41 +00:00
Zephaniah E. Hull ebb03c1c65 Fixed the sdl and sgl targets to work a bit better. 2001-08-06 00:16:48 +00:00
Bill Currie ece21540f7 almost working. just need to figure out why vis info isn't doing the right
thing (I suspect a bug in my deconpression)
2001-08-05 23:17:55 +00:00
Bill Currie 899d8385a9 fix a subtle bug with the lava hall to e3 in start 2001-08-05 06:10:27 +00:00
Bill Currie dcc6a76313 make SURF_LIGHTBOTHSIDES work and fix a bug in Mod_PointInLeaf that was
preventing grenades from lighting up surfaces when using the vis lighting
2001-08-05 05:59:15 +00:00
Bill Currie 8883bbb369 some lighting fixes. not quite there yet 2001-08-05 05:07:49 +00:00
Bill Currie 647d38fa40 Make R_MarkLights use the vis info to speed things up. Oddly, even though
R_MarkLights is now about 3% instead of about 15%, I've lost 8 fps on my
null GL speed test. However, R_AddDynamicLights has jumped up a bit, so I'm
wording if maybe more surfaces are being lit.
2001-08-05 04:01:45 +00:00
Bill Currie b455458629 exit cleanup. Sys_Error and Sys_Quit should be used whenever possible. 2001-08-02 17:16:12 +00:00
Ragnvald Maartmann-Moe IV 2887dd3950 Fix issue with gl_lightmap_components 4 and lightmap updates. 2001-08-02 04:12:26 +00:00
Ragnvald Maartmann-Moe IV fd0c5aab36 Garbage comment removal. 2001-08-02 02:28:17 +00:00
Ragnvald Maartmann-Moe IV 6e9b51edfc (Optionally) Use glTexSubImage2D for lightmap updates. Doesn't give as large a boost as I'd hoped, but will matter far more as other optimizations happen. New cvars gl_lightmap_align does nothing yet, and gl_lightmap_subimage only works in mode 0 and 1. Mode 2 (should be fastest mode on most cards) will eventully get implemented... 2001-08-02 02:18:04 +00:00
Bill Currie 56bb92a7f9 make gl_sky_clip 3 do as originally promises 2001-07-22 02:06:02 +00:00
Ragnvald Maartmann-Moe IV 54cda68878 Just a bit of whitespace and comment cleanup. 2001-07-21 23:18:59 +00:00
Ragnvald Maartmann-Moe IV 1461143371 Spiffed up scrag and hellknight missile particle trails. (Partly inspired by darkplaces, though not identical to LordHavoc's) 2001-07-21 20:32:45 +00:00
Bill Currie 22dbc62c71 damn magic numbers. sdl didn't like the key num shift either 2001-07-20 05:18:46 +00:00
Bill Currie 9f09a6aa32 assigning > 255 into an unsigned char isn't too good 2001-07-20 01:45:19 +00:00
Bill Currie bcbd1b953a heh. close, so close. one mised const 2001-07-19 21:51:18 +00:00
Bill Currie 46176e1094 azerty kb patch from Filip Van Raemdonck <mechanix@digibel.org>. includes some
misc fixes, too
2001-07-19 21:46:34 +00:00
Bill Currie 1c9e1b176f fear the mighty const correct patch 2001-07-15 07:04:17 +00:00
Adam Olsen ac46e5b49d oops, sys_dump_core instead of sys_dumpcore 2001-07-15 01:45:03 +00:00
Adam Olsen cb133ddf93 Add support for core dumping to X11 targets. set sys_dump_core to 1, and
ulimit -c to a sufficiently high value.  (I get ~20 meg cores)
2001-07-14 03:15:14 +00:00
Bill Currie 62a4b86001 d'oh 2001-07-06 00:17:09 +00:00
Bill Currie 245d81420d make sound blocking cvar controlled (in_snd_block, default off, archived) and
pause the cd as well.
2001-07-05 20:35:42 +00:00
Bill Currie fc09d2b00f port Bruce Momjian's patches from newtree with a less incestuous
implementation of his sound/focus patch. NOTE: only alsa 0.9 is tested
(Rhamph, can you test 0.5, please?) and only the alsa drivers stop the
hardware right ow.

WARNING!!! you /will/ have to re-install your plugins, or you will get
segfaults when the window gains/loses focus.

How do you tell if a window has focus on first mapping in X11?
2001-07-05 20:18:23 +00:00
Bill Currie c38ca8e2f1 qfplist.h:
remove include of glob.h. not needed and causes win32 build to fail
plugin.c:
	include compat.h and cast the return of GetProcAddress
gl_funcs.c:
	fix parse error and type mismatch
qfgl_ext.c:
	half re-write QFGL_ExtensionAddress to use QFGL_ProcAddress
vid_wgl.c:
	fix for the new gl linking
2001-07-05 17:28:19 +00:00
Joseph Carter fb8d04eca2 Fix -sgl's glFlush 2001-07-01 00:11:24 +00:00
Joseph Carter 515f449a39 Sun-specific code is dead. Sun boxes should work fine with -x11 and -glx
as it is.  Left snd_sun, which looks useful for something.
2001-06-29 08:01:12 +00:00
Joseph Carter 11257134c0 dos is dead, really. This has never worked, and would need a full rewrite
from scratch before it would anyway.  That's not likely, so say goodbye!
2001-06-29 07:56:36 +00:00
Chris Ison 9bb956b29c libGL (mesa) now dynamic for -3dfx 2001-06-29 03:27:18 +00:00
Bill Currie f61ca0e321 fix the persistent fires. For sanity's sake, the non-renderer specific parts
of gl_dyn_fires.c have been moved to r_main.c (for now).
2001-06-29 02:43:04 +00:00
Chris Ison 85d2176bb6 make -3dfx compile again, may need fixing for mesa specific functions listed in vid_3dfxsvga.c 2001-06-29 02:10:52 +00:00
Jeff Teunissen 06227cf37d Portability fixes, also use the new ProcAddress setup. 2001-06-27 07:52:00 +00:00
Jeff Teunissen aa7389e8b1 *** empty log message *** 2001-06-27 07:40:10 +00:00
Bill Currie 18ba72b544 shh!! :) 2001-06-27 04:18:39 +00:00
Jeff Teunissen d485ca1fb1 Still broken, but apparently it works for Mercury. 2001-06-26 02:59:37 +00:00
Zephaniah E. Hull 908d265212 Clean up and repair of the run time linking, does NOT work until deek
commits his gl_funcs.c.
2001-06-26 02:26:46 +00:00
Bill Currie 3dbc913903 this is C, not C++ ;) 2001-06-25 15:42:05 +00:00
Jeff Teunissen 5e1de4c8a7 Clean up gl_funcs.c, it's actually readable now. Unfortunately, it sig11s
for me. This may be due to the NVIDIA libGL problem (which they claim is a
bug in libc), but it could very well be that Mercury was right and we
can't have the same names internally as the libGL names. Even so, this
code will probably work on Windows.
2001-06-25 09:32:08 +00:00
Jeff Teunissen 3fbfa27fcd Woohoo. The QFGL_* function prefixes are gone again from the tree. It
might even work under Windows now, but don't get your hopes too high. :)
2001-06-25 06:17:07 +00:00
Joseph Carter 5184d64134 Fixed for very late OpenGL binding 2001-06-24 12:47:05 +00:00
Zephaniah E. Hull 3715430479 This is changing more then I wanted to at once, however.
The major change is that we no longer require libGL to even exist on the
system at compile time for the GL targets, we dynamicly link to the
libGL of choice at run time. (This probably breaks most non-linux
systems, and all GL targets except -glx, some fixup will be needed.)
(This also kills glquake, dead dead DEAD! GONE FOREVER! WHEE!)

Some gl_draw cleanup.

Commented out equake alias model occlusion test stuff, very experimental.

Added the .lo and .la patterns to the .gitignore files.

Some minor sbar cleanup. (We don't use the disc in use symbol for
anything.)
2001-06-24 09:25:55 +00:00
Bill Currie 560b475880 gcc 3.0 compile fixes 2001-06-19 22:05:13 +00:00
Bill Currie dda09dabd9 now compiles under mingw 2001-06-15 16:05:33 +00:00