Commit graph

649 commits

Author SHA1 Message Date
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
Bill Currie
a1d2cf3532 duplicate file name cleanup and make dist works 2001-10-03 17:50:36 +00:00
Bill Currie
87e59c0762 finally got sw's Makefile.am working too 2001-10-03 14:59:43 +00:00
Bill Currie
9aca46416c ok, sw32's Makefile.am now works with both 1.4 and 1.5 2001-10-03 14:49:14 +00:00
Bill Currie
95d3600452 fix skybox/skydom map vis issues. I hope this works on all drivers. 2001-10-03 02:51:30 +00:00
Bill Currie
c3735506c7 hey, I think this one is going to work!!! 2001-10-03 00:07:01 +00:00
Ragnvald Maartmann-Moe IV
9c6955f406 Fix missing include. 2001-10-02 23:53:07 +00:00
Bill Currie
40d0490b7c add Hash_GetList to get a list of elements in the hash table (unsorted) 2001-10-02 23:17:25 +00:00
Bill Currie
081a44e5bc this works a smidge better 2001-10-02 23:13:54 +00:00
Bill Currie
b866bcae61 seems automake isn't too happy about nested conditionals and main vars 2001-10-02 22:36:08 +00:00
Ragnvald Maartmann-Moe IV
256f6e94c1 Broken attempt at cleaning up Makefile.am's, for taniwha's perusal. 2001-10-02 22:02:10 +00:00
Bill Currie
4699bf6d5b files under inclue/QF are not allowed to include files from include (eg,
including config.h is a nono).
2001-10-02 21:14:11 +00:00
Bill Currie
8c6e5456bb type b of not.i is void, not integer 2001-10-02 19:17:18 +00:00
Bill Currie
fcdc975bdd fix a thinko that prevented the cd command from being added 2001-10-02 18:12:27 +00:00
Ragnvald Maartmann-Moe IV
9c778bb539 Minor tweak of lightning sparks and teleport appearances, fix brief breakage of gl_sky_clip 1 & 2 with skyboxes. 2001-10-02 09:11:20 +00:00
Ragnvald Maartmann-Moe IV
9c21edc6d0 Whitespace. 2001-10-02 06:58:44 +00:00
Ragnvald Maartmann-Moe IV
820fcbb8d2 R_Mirror-related cleanups, and some whitespace. 2001-10-02 06:13:22 +00:00
Bill Currie
86f326c9d1 remove an ancient clean target that's no longer needed 2001-10-02 05:23:17 +00:00
Adam Olsen
362e4eefc9 - make the fallback console use stdin
- don't draw scores overlay if the screen is less than 244 wide.
2001-10-02 03:24:36 +00:00
Ragnvald Maartmann-Moe IV
5e6f77cddb Instead of glEnable/glDisable (GL_ALPHA_TEST) pairs for every sprite rendered, let's do it once for the entire sprite loop. Minor hit when there are no sprites, but 2+ it's a gain. Better worst case, rather than better peak performance. 2001-10-02 01:48:51 +00:00
Ragnvald Maartmann-Moe IV
63ac10dfde Clean up glDepthFunc and glDepthRange so it's properly initted, and not set needlessly every frame. 2001-10-02 00:01:05 +00:00
Ragnvald Maartmann-Moe IV
4b3c4e1eaf Whitespace. 2001-10-01 21:52:05 +00:00
Ragnvald Maartmann-Moe IV
fce4b903eb Fix double joystick init in sdl targets. 2001-10-01 21:50:35 +00:00
Bill Currie
a4714175dd update the screen directly when printing rather than using C_DrawOutput.
Resizing still seems to work updates are much faster.
2001-10-01 16:09:06 +00:00
Bill Currie
77cf9439d0 getting closer to a properly resizing console 2001-10-01 06:49:59 +00:00
Bill Currie
f505e8630c fixes for rh 7.1 2001-09-30 23:24:53 +00:00
Chris Ison
b0dc19310a more compile under cygwin patches 2001-09-30 13:05:20 +00:00
Bill Currie
53529ae940 output window now updates when resizing, but it doesn't /quit/ work properly
(issue with starting line).
2001-09-30 05:59:33 +00:00
Chris Ison
60107fd19c changes to get cygwin to compile server. still debugging result 2001-09-29 09:39:27 +00:00
Bill Currie
138a4a1c14 rename console_t to old_console_t in preparation for a better version and
temporarily disable the client console plugin as it currently doesn't
compile.
2001-09-29 04:24:04 +00:00
Adam Olsen
e12f1dcf9e - boundscheck static progs strings, and give proper errors for that
and dynamic strings if it fails.
2001-09-28 23:34:49 +00:00
Bill Currie
f0244bece2 update the status bar on resize 2001-09-28 23:10:15 +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
Bill Currie
8e27422c72 partial fixes for mingw cross builds. still have issues with ar :( 2001-09-28 16:03:45 +00:00
Bill Currie
30f6d2f85c fix a case and paste error 2001-09-28 15:29:56 +00:00
Jeff Teunissen
d63243380f Aaaaaaand, it's done!
Special note: I hope to never do this again. :)
2001-09-28 10:31:20 +00:00
Jeff Teunissen
873521a68d Makefile cleanup continues. Models. 2001-09-28 09:49:09 +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