Commit Graph

688 Commits

Author SHA1 Message Date
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
Bill Currie f18974bd89 fix a missing sys/types.h 2001-10-16 16:25:32 +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
Bill Currie 4a0194b95c correct the default of cmd_warncmd 2001-10-15 22:41:42 +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 fd25261ab3 hopefully better win32 dynamicly loaded gl support. if nothing else,
gl_funcs.c is easier to read :)
2001-10-15 18:24:30 +00:00
Bill Currie 1ffb050bf9 and a memleak fix from _Muz_ 2001-10-15 17:41:53 +00:00
Bill Currie 7e0f676705 xmms info and session id patch from _Muz_ 2001-10-15 17:37:05 +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
Jeff Teunissen 0485fbe09e Makefile fixes. 2001-10-14 07:05:06 +00:00
Bill Currie 2dafd4a496 remove some (int) casts 2001-10-12 23:14:59 +00:00
Bill Currie e97e06fe44 byte to int + xmms playlist support from _Muz_ 2001-10-12 19:26:56 +00:00
Bill Currie 0952af5529 fix up the sound restart code 2001-10-12 15:49:50 +00:00
Bill Currie 62873d6980 diff snr -- 2001-10-11 17:31:41 +00:00
Bill Currie 49fe4e9f05 fix a misplaced s&r 2001-10-11 06:54:29 +00:00
Bill Currie 742bb9de91 static plugins now actually work 2001-10-10 16:22:41 +00:00
Bill Currie 8b2da8cbec make the static plugins link properly with older libtool 2001-10-10 15:44:35 +00:00
Bill Currie eee1aaf283 static plugins (--with-static-plugins to force on, --without-static-plugins
to force off, defaults to off for *nix and on for win32). does not work yet
due to lack of support in libs/util/plugin.c, but that's next.
2001-10-10 05:52:14 +00:00
Ragnvald Maartmann-Moe IV 1674e6a763 Clean up of models that are always fullbright. 2001-10-10 05:00:30 +00:00
Ragnvald Maartmann-Moe IV db87121c2b Whitespace. 2001-10-10 04:59:43 +00:00
Ragnvald Maartmann-Moe IV 86a82b895d Whitespace. 2001-10-09 21:57:49 +00:00
Bill Currie a65d98a35c r_dlight_max can now safely be 0 2001-10-09 21:50:51 +00:00
Chris Ison fda073acb6 oops audio targets makefile fix 2001-10-09 21:43:01 +00:00
Chris Ison 15bdd4ad67 disabled -lm checking for cygwin and mingw32 and added plugin_LDFLAGS and plugin_LIBADD for win32 builds 2001-10-09 21:36:57 +00:00
Ragnvald Maartmann-Moe IV 9cc671e6d2 Try #2.
Change r_maxparticles from short to unsigned int.
Make MAX_DLIGHTS into a cvar, r_dlight_max that sets the unsigned int r_maxdlights.
2001-10-09 20:35:17 +00:00
Bill Currie 36508058ea QFPLUGIN now does the __declspec stuff and all plugins now use it on their
plgin info function. doesn't actually /work/ yet :(
2001-10-08 05:54:46 +00:00
Bill Currie 3a366f4f7e break out the backtrace code from PR_RunError into PR_DumpState and use
PR_DumpState instead of PR_RunError in seg_fault_handler so we get both a
progs trace /and/ a core file (ulimit allowing)
2001-10-08 03:46:44 +00:00
Chris Ison 2f8efd7360 changes to get mingw32 sw clients to compile under cygwin 2001-10-07 12:45:47 +00:00
Bill Currie 757a0f690c fix a missing #ifdef HAVE_VIDMODE 2001-10-06 22:57:54 +00:00
Ragnvald Maartmann-Moe IV 24e80b21d4 Whitespace. Hiding commented out code is bad. 2001-10-06 01:14:23 +00:00
Ragnvald Maartmann-Moe IV d657a590b5 Clean up extern functions, update noise_diamondsquare to match LordHavoc's fractalnoise. 2001-10-06 00:39:22 +00:00
Ragnvald Maartmann-Moe IV 8afd4a870e Revert an optimization that impacts legibility more than performance. 2001-10-06 00:31:57 +00:00
Bill Currie 7794acec66 clean up args for execvp 2001-10-05 21:09:48 +00:00
Bill Currie 042a036964 pass through indent and then clean up after some of indent's insanity 2001-10-05 20:29:55 +00:00
Bill Currie 936b70fe41 remove dependency on net_socket so cd_xmms works with nq as well as qw. Seems
to cause alsa some grief which is rather suprising as file decriptor counts
should have taken care of that nicely.
2001-10-05 20:06:48 +00:00
Bill Currie 44fc52bbb6 move the xmms command from cd.c to cd_xmms.c and have the cd command always
available
2001-10-05 19:52:56 +00:00
Bill Currie a39ccf4a34 XMMS support from _Muz_ (Alexis Paul Musgrave <muz@cwcom.net>) 2001-10-05 19:36:35 +00:00
Ragnvald Maartmann-Moe IV 9daba0eef7 GL string and character rendering speed up and clean up. 2001-10-05 19:01:57 +00:00
Ragnvald Maartmann-Moe IV 72b198d650 Minor cleanup. 2001-10-05 18:55:40 +00:00
Adam Olsen 4937ad6c71 - some changes to snd_win.c that will hopefully bring it closer to
operation
2001-10-05 09:51:21 +00:00
Adam Olsen 0785610296 - fix a little mistake in SV_PrintToClient that'd cause it to
segfault if your first call was with "".  Probably could cause
  crashes too
- add a string.c file to libQFutil, with a Q_strcasestr function,
  which strcasestr is defined to if it's not already defined.  (we'd
  get that with glibc if we defined __USE_GNU, but we don't)
- make client_t and SV_ExtractFromUserinfo both use NAME_MAX for
  their name arrays, instead of 32 for one and 80 for the other
- rewrite almost all of SV_ExtractFromUserinfo's name handling.
  - \r, \n, and \t are all converted to spaces
  - leading/trailing spaces are stripped
  - consecutive spaces are reduced to a single space
  - empty names are considered bad
  - user-* nicks are considered bad (unless forced to them)
  - a name containing console or admin is considered bad
  - a name that already exists is considered bad
  - if they have a bad name it gets forced to user-%d, where %d is
    their userid
  - netname in the progs is now updated properly
  - name changes are always reported unless it's the initial setting,
    rather than only if they're full connected and not a spectator
  - finally, if the name change fails (info string exceeded), give
    them the boot.  (before this was only done for duplicate names)

That's about it :)
2001-10-04 19:11:39 +00:00
Bill Currie 1929797cc9 get nq-server so it runs. part of this involved renaming cl_warncmd to
cmd_warncmd
2001-10-03 21:25:43 +00:00
Bill Currie f2cc8d9640 fix a seg when the buffer wraps 2001-10-03 21:24:52 +00:00