Commit Graph

45 Commits

Author SHA1 Message Date
Bill Currie f4dc013a3d back port the info key fix from 0.5. This should take care of the team
kicking.
2001-08-12 03:45:37 +00:00
Jeff Teunissen df184072f1 Eliminate the use of stricmp() 2001-05-23 08:08:49 +00:00
Jeff Teunissen 272abade38 Backport Cvar callbacks to newtree. Software gamma still doesn't work in
GL, and I still don't know exactly why.
2001-05-13 05:10:02 +00:00
Bill Currie 435c588e37 function header audit. 2001-02-09 02:53:09 +00:00
Ragnvald Maartmann-Moe IV 800ee05584 More whitespace than you can shake a shambler at. 2001-02-07 05:45:59 +00:00
Bill Currie c6e087015c command docs patch from Misty-chan because his access hasn't completely come
through yet.
2001-02-06 02:56:14 +00:00
Bill Currie 4d08e219d9 make edict_t.v a union of entvars_t and pr_type_t[] 2001-02-02 21:22:35 +00:00
Bill Currie 2b165575dd fix a nasty buffer overflow 2001-01-29 00:01:13 +00:00
Bill Currie a24894dc70 progs modularity improvements. what WAS sv_progs is now sv_pr_state, qwprog is
now sv_progs and the progs loading code no longer falls back to qwprogs.dat or
progs.dat. Also, call SV_Progs_Init_Cvars (forgot to do this earlier)
2001-01-28 23:27:48 +00:00
Bill Currie bbac14a7d5 commands now sport descriptions (currently "No Description", but then I'm a
lazy bastard:)
2001-01-15 17:07:06 +00:00
Ragnvald Maartmann-Moe IV 488e415b09 Correct user/info slip in usage for user. 2001-01-04 03:45:47 +00:00
Anton E. Gavrilov e1e964d446 Add the missing \n in ClientReliableWrite_String (cl, "cmd snap"); 2001-01-02 22:58:32 +00:00
Bill Currie b6c832d900 while not 100% complete (sv is still referred to as well as r_skyname), the
progs engine no longer refers to any global vars. This alows for multiple progs
being loaded (NOTE: NOT multiple mods, but (eg) for various protocol
extensions) and, once the last couple of issues are taken care of, CSQC.
2000-12-31 07:43:09 +00:00
Bill Currie 76a11bd74a cvar doc patches from Misty 2000-12-31 04:46:04 +00:00
Bill Currie ccba39666b #include audit 2000-12-30 02:16:36 +00:00
Jeff Teunissen 54e2a4d9d3 Okay, the big whitespace reformat. There is some silliness (case
statements, variable declarations), but all in all it's not bad.
2000-12-08 06:51:37 +00:00
Bill Currie eae11661e4 strncat parameter audit. Unfortunatly, strncat is counter-intutite: the n in
strncat is not the maximum length of the destination string, but of the SOURCE
string, thus strncat (dest, src, sizeof (dest)) is incorrect. It should be
strncat (dest, src, sizeof (text) - strlen (dest)). Even then, no terminating
nul will be written if src is too long, but at least it won't crash the stack:)
2000-12-05 16:04:12 +00:00
Zephaniah E. Hull 66e0e31b57 strcat -> strncat
sprintf -> snprintf

AKA, really big buffer overflow security fixes.

More to come, geez we have holes everywhere.
2000-12-05 11:08:30 +00:00
Bill Currie d31a9f73de Always use COM_CreatPath instead of Sys_mkdir 2000-11-08 06:07:03 +00:00
Bill Currie d295f183ba remove va from commdef.h and fix the consequences 2000-10-21 07:34:56 +00:00
Bill Currie c808bf155e Clean up SV_Serverinfo_f a bit where it sets the cvar corresponding to the
server info key.
2000-10-15 04:31:32 +00:00
Dabb 20735dd8f7 Patch by Nye Liu <nyet> 2000-10-07 10:56:33 +00:00
Bill Currie bc2af514b3 add maplist to the list of commands supported by the server 2000-10-02 17:22:37 +00:00
Bill Currie a88dc7371c white space 2000-10-02 03:08:43 +00:00
Bill Currie 86f87122c0 zlib support (gzipped pack contents). if you have a probelm with gzgets, you
have 3 choices: remove /usr/X11R6/lib/libz.a, --diable-zlib, or fix configure.
I do intend on fixing it myself.
2000-09-27 19:44:26 +00:00
Jeff Teunissen 71b841adeb Cvar audit; These files set cvars improperly, by changing their values
without using Cvar_SetValue ().
2000-09-25 06:36:50 +00:00
Zephaniah E. Hull 29ef95a9b5 The end of Z_*!!
This after the Z_* stuff hit my profiling list as a top user..
2000-06-29 05:46:15 +00:00
Anton E. Gavrilov a1982a0f75 CVAR_FIXME cleanup. 2000-06-10 00:23:56 +00:00
Loring Holden 5b094c2aa1 Reapply changes - this time tested w/ svga under Linux 2000-05-26 03:55:27 +00:00
Bill Currie 0bd4043ca4 revert lsh's checkins. They broke newtree for everybody but him. 2000-05-25 09:48:21 +00:00
Loring Holden 8005c0d25e I got this tree to build under Solaris, AIX, IRIX, & Linux.
In order to do so I:
* included strings.h and string.h in many files so various functions would be
defined
* Fixed model_t collision problem in cl_main.c (Solaris)
* com.c - corrected WORDS_BIGENDIAN spelling
* gl_draw.c - Use HAVE_GL_COLOR_INDEX8_EXT to avoid referencing
GL_COLOR_INDEX8_EXT when it isn't available
* net_udp.c - use socklen_t to appease AIX
2000-05-25 06:14:56 +00:00
Bill Currie e98edd5f5f revert back to using f* for file io. I hope this fixes the catapult, but I wouldn't be suprised if it doesn't. 2000-05-23 22:43:36 +00:00
Bill Currie 8ff75f94dc fix some problems with directories being created in the wrong places or not at all (caused by fs_userpath not being used when it should) 2000-05-23 01:44:20 +00:00
Bill Currie 91a47e083c remove redundant gamedir stuff 2000-05-22 23:43:52 +00:00
Joseph Carter 3d59dfed98 Before I can fix the (MANY!) problems with newtree, I have to fix the
little problem of mixed QFile and FILE.  Since we're not using ZLib in
this tree, QFile makes no real sense.  That didn't fix the real problem
I am having though.
2000-05-22 21:16:22 +00:00
Bill Currie af032b8d55 port in some improvements from OT (namely fs_basepath, etc, though commandline parsing isn't finished yet)
split up the headerfiles and such. common.[ch] and qwsvdef.h no longer exist. More work still needs to be done (esp for windows) but this should be a major improvement.
2000-05-21 08:24:45 +00:00
Joseph Carter a12e476479 If new map requested and not found, try to restart the current one. If
that also fails, DIE GRACEFULLY rather than continue to run with things
all screwed up from the intermission settings.  Fixes weird behavior under
any mod where a map can change.
2000-05-18 01:36:42 +00:00
Bill Currie 832af13c12 all files now include config.h 2000-05-17 10:03:19 +00:00
Bill Currie 119270c6fc server now starts up without segging from the cvar update 2000-05-16 06:28:50 +00:00
Dan Olson 1d26c02826 Cvar merge... segfault problems... also unknown problems in vid_svga.c 2000-05-16 04:47:41 +00:00
Yan Sweitzer 1efb92f899 sprintf -> snprintf
vsprintf -> vsnprintf
2000-05-15 08:59:12 +00:00
Joseph Carter 01eceda77e Removed the string QuakeWorld from places to help avoid stepping on Id's
tues (not that they care to be honest..)  VERSION is gone, use the strings
QW_VERSION and QF_VERSION.  I'd like QW_VERSION to go away but I don't
think we're ready to screw with that just yet.  Note, those are strings,
not floats.

Also defined QSG_STANDARD and set all the star keys the current qw-server
does.

qw-* -> qf-*, unlike the main tree this one is not planned to be just QW.
2000-05-13 20:51:02 +00:00
Joseph Carter 38f9b705b9 Whee! Every source file just got edited. Added the QF-style GPL header
to the top.  What I didn't add was descriptions.  Someone else wanna take
those on?
2000-05-11 16:03:29 +00:00
Dan Olson b139acafc2 ^M cleanup, and qw-server compiles with -Werror 2000-05-10 20:33:16 +00:00
Joseph Carter d859383680 Initial revision 2000-05-10 11:29:38 +00:00