Commit Graph

275 Commits

Author SHA1 Message Date
Bill Currie 0f2f58754b this is just causing confusion. if we ever need it, it's still in cvs 2001-12-21 22:39:14 +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 9b4e21a914 minor prototype cleanups 2001-12-14 00:06:58 +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
Bill Currie 4c628d0c04 fbdev stuff is now warnings clean, so all -Werror for it 2001-11-20 03:40:57 +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 f60c39e0bc Whitespace. 2001-11-07 06:59:10 +00:00
Bill Currie 9f4a565523 rename some get_key functions so they're all uniqely named (matters only for
profiling purposes thanks to static:)
2001-11-05 03:21:42 +00:00
Bill Currie 7b4e5e69af now actually works (especially for double scan modes and the like) 2001-11-02 06:43:41 +00:00
Ragnvald Maartmann-Moe IV c19c237e0e Whitespace. 2001-11-02 06:35:32 +00:00
Bill Currie a98c5bb4c1 fix vid_fullscreen toggling (sgl) and archiving (all) 2001-11-02 06:11:32 +00:00
Bill Currie a45b78b622 make all 8 X buffers available. no args uses the default buffer, giving 0-7
as an agument to in_paste_buffer specifies which buffer to use.
2001-11-01 22:52:22 +00:00
Bill Currie 9b8995b836 fix win32's missing clipboard support (bringing it back). some trickery will
be required to get ctrl-V working, but... *shrug*
2001-10-30 22:46:15 +00:00
Bill Currie 4685fccbac new command for -x11 and -glx: in_paste_buffer (eg in_bind imt_console
m_button3 in_paste_buffer). Makes X's clipboard available to quake (for
pasting:)
2001-10-30 18:20:56 +00:00
Bill Currie d835b79352 this might fix the black screen in 8 bit X 2001-10-29 22:29:42 +00:00
Bill Currie 85c9e0ab1e more externs cleaned up 2001-10-29 17:46:03 +00:00
Bill Currie 8071e8398a put a couple externs back for win32. they need a bit more thought on how to
arrange things.
2001-10-29 16:45:03 +00:00
Bill Currie 1d442c496f setup the colormap /before/ calling Vid_InitGamma so VID_SetPalette gets
called with a valid colormap to update.
2001-10-29 06:46:46 +00:00
Bill Currie 78a3e398d5 * taniwha gets medieval on extern 2001-10-28 04:23:37 +00:00
Bill Currie 1fab17ab33 d'oh. must read the clode closer :P 2001-10-26 05:31:39 +00:00
Adam Olsen 3bba5398ba - audit malloc usage. now everything checks the return value :) 2001-10-24 22:50:06 +00:00
Bill Currie 6a5e3edcf7 and extern fixes for the windows side 2001-10-23 17:11:48 +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 fa95bd35aa fix a really stupid brainfart that caused shift states to not work 2001-10-23 01:53:51 +00:00
Bill Currie b6ad2223d2 attempt to handle the byte swapping of screenshots seen on voodoo2s in
windows
2001-10-22 19:46:34 +00:00
Bill Currie 1d697dc90d give in_win keyboard shift states for ascii conversions 2001-10-22 16:07:26 +00:00
Bill Currie 3252ee3eb6 fix the mangled key codes 2001-10-22 05:07:15 +00:00
Bill Currie 52252616ff pull the input code out of vid_wgl into in_win 2001-10-22 04:13:56 +00:00
Bill Currie 82aa0fde58 fix -wgl's keyboard input 2001-10-22 02:33:19 +00:00
Bill Currie 9a5ec9c187 ok, qw-client-wgl.exe works now (helps if scr_width and scr_height are set) 2001-10-22 02:15:30 +00:00
Chris Ison 2467671c72 removal of tdfx_brighten in preparation for gl_brighten 2001-10-21 21:29:54 +00:00
Bill Currie e1fc77dd2b fix a crasher in win32. I don't know if linux crashed, but it should have. 2001-10-21 03:48:02 +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 e765321452 wgl funcs are likely GLAPIENTRY type too :) 2001-10-16 22:37:11 +00:00
Bill Currie 2d068c0745 massive windows.h and WIN32 cleanup. 2001-10-16 21:40:45 +00:00
Jeff Teunissen ce740fb4ec Joystick target fixed. 2001-10-16 05:06:31 +00:00
Bill Currie 8417d23a94 fix a nasty seg on gl startup causes by looped function pointers 2001-10-16 04:11:25 +00:00
Bill Currie 376a9105fa oops 2001-10-15 23:16:42 +00:00
Bill Currie 3402dfd51a libasm improvements 2001-10-15 23:09:03 +00:00
Jeff Teunissen 2e4d8d1473 Makefile fixes -- video driver libs are gone. 2001-10-15 22:32:28 +00:00
Jeff Teunissen 10424a5015 *** empty log message *** 2001-10-15 22:28:05 +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 41d01d54f9 put the INITGUID definition in the correct place 2001-10-15 17:32:43 +00:00
Bill Currie f7b82bcb69 comment out the definition of INITGUID for now as it's causing linking problems 2001-10-15 16:30:15 +00:00
Bill Currie 62873d6980 diff snr -- 2001-10-11 17:31:41 +00:00
Bill Currie 757a0f690c fix a missing #ifdef HAVE_VIDMODE 2001-10-06 22:57:54 +00:00
Bill Currie a1d2cf3532 duplicate file name cleanup and make dist works 2001-10-03 17:50:36 +00:00
Ragnvald Maartmann-Moe IV fce4b903eb Fix double joystick init in sdl targets. 2001-10-01 21:50:35 +00:00
Bill Currie c7031b20f3 move vid_fullcreen definition from *.c to vid.c and declaration from
context_x11.h to vid.h and remove all extern decls from *.c
2001-09-28 16:54:31 +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
Jeff Teunissen e9c9c8bab6 fix up installs for -svga. 2001-09-28 06:55:27 +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
Chris Ison 0efd28abcc trying to get bootstrap to work in cygwin 2001-09-25 23:04:13 +00:00
Bill Currie a439170dcf libasm cleanups 2001-09-25 22:12:55 +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
Bill Currie c8ab7d04ef fix two bugs with glx extension checking: HAVE_GLX wasn't getting into
config.h and GLX_ARB_get_proc_address is not (any longer?) defined by mesa.
2001-09-23 03:41:05 +00:00
Ragnvald Maartmann-Moe IV d247027954 Use a callback for gl_multitexture which sets gl_mtex_active (now a qboolean, rather than a macro). 0.6-1.0% speedup. 2001-09-23 03:24:23 +00:00
Bill Currie bf1920a851 don't enable mtex if the required functions cannot be found. This shouldn't
normally happen, but is due to a currently broken QFGL_ExtensionAddress and
causes qf to seg when mtex is requested.
2001-09-23 03:18:58 +00:00
Timothy C. McGrath 54e5a3e114 Fix for svgalib from joa, two liner. Very nice of him :)
Misty-chan
2001-09-18 22:38:08 +00:00
Adam Olsen 678068849e James' latest fullscreen patch, which works flawlessly for me :)
(and if anybody cares about the formatting they can change it AFTER
this is in)
2001-09-18 09:30:59 +00:00
Adam Olsen 7c75e264c9 - build fix for fbdev
- minor formatting tweak for in_common.c
2001-09-18 09:19:44 +00:00
Bill Currie b79ff6378d mouse warpage fixes from james 2001-09-18 05:18:49 +00:00
Bill Currie dd98622859 x11 vid_fullscreen improvements from james (thanks) 2001-09-18 04:53:01 +00:00
Bill Currie b559b3a796 fix a key mapping issue reported by MasterLich 2001-09-18 04:38:18 +00:00
Bill Currie 8c026417d8 Wait for X to complete the previous operation before proceding to the next.
This causes the mouse to warp properly, but doesn't fix my disappearing window :(
(possibly a wm bug)
2001-09-10 21:55:34 +00:00
Bill Currie 95515e28d7 use XMapRaised instead of XMapWindow + XRaiseWindow 2001-09-10 17:18:31 +00:00
Bill Currie 0f30506b79 d'oh, got the return values backwards 2001-09-10 17:02:35 +00:00
Bill Currie 388513e005 several fullscreen toggling improvements including window location restoration 2001-09-10 16:53:33 +00:00
Bill Currie a17d8fe452 turns out the window location code is needed after all. 2001-09-10 15:41:47 +00:00
Ragnvald Maartmann-Moe IV 28fe1dc004 Tweak rocket trails. Uglier, but don't bog down rocket snipers. Also a couple tiny optimizations and cleanups. 2001-09-09 19:37:07 +00:00
Bill Currie b788eb6dbd remove some no-longer needed code (the window coord finder) and quientn
the mode setting code a little.
2001-09-08 06:25:37 +00:00
Bill Currie b12ee9e166 unmap and re-map the window with the correct attributes for the current
setting of vid_fullscreen
2001-09-08 05:43:52 +00:00
Bill Currie 20188c6670 heh, and in_pre_amp 2001-09-08 03:34:28 +00:00
Bill Currie cd0d260549 fix an exponential growth of in_mouse_amp when in_amp is > 1 2001-09-08 03:33:57 +00:00
Bill Currie 008d80df67 s/IMT_DEFAULT/IMT_0/g for the constant and move the name-enum entry for
IMT_DEFAULT to the bottom of the list so that IMT_0 gets written as such
rather than IMT_DEFAULT.
Also, clean up nq's EF_* dlight creation a bit (haven't touched
EF_MUZZLEFLASH: undecided on what to do).
2001-09-05 21:22:55 +00:00
Bill Currie 4249bba636 make sure input is grabbed when going fullscreen on init 2001-09-05 03:41:29 +00:00
Bill Currie f9e610bf6b fix a seg witn +set in_grab on the command line 2001-09-05 03:14:41 +00:00
Bill Currie 83e3f10520 fix a silly with joystick buttons 2001-09-04 04:28:31 +00:00
Bill Currie 7aa5ab75de header dep cleanup and IN_LL_Commands is /gone/ 2001-08-30 20:32:27 +00:00
Bill Currie 822e637e11 s/_windowed_mouse/in_grab/ and in_grab and in_dga now use callbacks 2001-08-30 20:04:13 +00:00
Bill Currie 3656d6fd59 compile fixes for win32 and take the pruning shears to *sys*.c in qw and nq
(they're not done yet, though)
2001-08-29 17:45:53 +00:00
Bill Currie 663c58cd24 diff--; break; 2001-08-29 02:16:17 +00:00
Ragnvald Maartmann-Moe IV 793efd6976 Whitespace. 2001-08-27 01:00:03 +00:00
Adam Olsen c6ec43d659 some build fixes, which I'm not sure are right, and a fix for
fullscreen toggling.
2001-08-25 09:21:40 +00:00
Bill Currie 2a027969d5 various init order fixes and a */[] snafu sorted
also make translations big enough for the 32 bit colors
2001-08-25 05:54:21 +00:00
Bill Currie 2634b447b5 initialize the gamma 2001-08-25 04:53:00 +00:00
Bill Currie a401d6f40a enable the screen update code but things are still black (palette issues?) 2001-08-25 04:47:07 +00:00
Bill Currie 5134978100 allocate space for the color maps 2001-08-25 04:36:27 +00:00
Bill Currie 4ed75b014a "Yay, it builds!"
"Ah, but does it work?"
2001-08-25 03:52:34 +00:00
Bill Currie 8fa46e9fc0 almost there getting the sw32 client to link 2001-08-25 03:24:44 +00:00
Ragnvald Maartmann-Moe IV c6266aba36 sw32. Flee in terror. This'll break compilation for everything until -sdl32 compiles. sw32 wont work for a while either, so don't get overly excited yet. 2001-08-25 02:47:11 +00:00
Adam Olsen bd847e73f1 Add support for dumping backtraces. 2001-08-23 23:34:38 +00:00
Bill Currie 79be73f507 we now require sdl 1.2 for sdl support 2001-08-23 20:28:41 +00:00
Bill Currie 4a9567cb8d missed this one 2001-08-22 05:44:04 +00:00
Bill Currie 3fc566a7ee nor does it seem to have gamma support 2001-08-22 04:16:10 +00:00
Bill Currie 015fe8071a sdl 1.1.4 doesn't have SDLK_COMPOSE 2001-08-22 04:01:50 +00:00