Commit Graph

306 Commits

Author SHA1 Message Date
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
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 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
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
Ragnvald Maartmann-Moe IV 30012cc753 Fix K_RCTRL handling. 2002-08-08 05:53:58 +00:00
Bill Currie ca92e5885f part of the macroizing 2002-08-07 18:21:36 +00:00
Chris Ison c6217dc7a7 fix bug where -commands where executed and command buffer could be filled when key repeated 2002-08-03 00:19:41 +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
Bill Currie 4b9382d4a8 nuke GGI_CFLAGS (never set) 2002-07-31 18:51:34 +00:00
Bill Currie ad6e025a91 take cmd.[ch] back to basics. the gib code is temporarily gone pending
renovations. cmd_source handling is a little hacky in nq, but it's working.
2002-07-31 05:19:03 +00:00
Bill Currie 0514d37458 don't accept absurdly large vertex arrays 2002-07-27 16:46:58 +00:00
Bill Currie d04eeb3ba2 get -wgl working again 2002-07-27 06:43:28 +00:00
Jeff Teunissen 065ec7ff39 Clean up the "fxMesa" error message so it makes more sense, and so most people
will actually see it if they need it.
2002-07-03 06:31:03 +00:00
Ragnvald Maartmann-Moe IV e1854315ac Clean out DDActive, except from -mgl, which isn't supported ATM. Clean up vid_mgl.c comments and dead code a bit. 2002-07-02 20:34:51 +00:00
Bill Currie e5d8781150 win32 compile fixes. still have problems with DDActive, but Despair's going
to look at that.
2002-07-02 18:45:50 +00:00
Bill Currie 1828cbff5a get the type for getProcAddress right 2002-06-28 17:15:49 +00:00
Ragnvald Maartmann-Moe IV 4e467ac8df Whitespace. 2002-06-27 18:50:26 +00:00
Bill Currie e77d730054 windows really sucks 2002-06-27 16:37:16 +00:00
Ragnvald Maartmann-Moe IV e6e11af426 Move the contents of gl_funcs.c out of the renderer, and into targets where they belong. Also some cleanups. -sgl target is temporarily broken, all others should work. 2002-06-24 21:35:37 +00:00
Chris Ison 70d8026067 Removing -3dfx's dependancy on clide 2002-06-24 15:56:01 +00:00
Ragnvald Maartmann-Moe IV c8bc5dfb4c QSG2 glows almost working. Plus lots of typos killed. 2002-06-18 21:41:24 +00:00
Bill Currie 3551b82a50 compile fix for when vidmode isn't available 2002-06-10 22:30:30 +00:00
Brian Koropoff d85a238af2 Modified cmd.c to prepare for more file access functions and changed
the bind system to keep a restricted flag on binds to prevent the
server from executing restricted commands by binding them to keys.
2002-05-31 05:38:06 +00:00
Bill Currie 381bdb2323 it seems some GL libs can return a null extension list (ie, null pointer) 2002-05-31 03:38:01 +00:00
Bill Currie 101d38bd0c two win32 fixes for gcc 3.1 2002-05-28 03:33:03 +00:00
Bill Currie 9d59915fdc it's a little hacky, but this might do better with keeping vid_gamma_avail
straight.
2002-05-17 03:17:33 +00:00
Bill Currie 6a5bbf6f0a memory allocation checking cleanup 2002-05-14 06:37:28 +00:00
Bill Currie 44dcf74627 strip the \n from all(?) of the Sys_Error calls (Sys_Error itself will be
adding \n).
2002-05-14 06:12:29 +00:00
Jeff Teunissen 2711cbbe7c Don't restore gamma if it's never been initialized. :) 2002-04-28 09:03:50 +00:00
Bill Currie a59e509033 Multi_key (K_COMPOSE) and Menu (K_MENU) are now supported 2002-04-27 00:25:40 +00:00
Bill Currie a5dc496c38 support the printscr key in X 2002-04-27 00:07:47 +00:00