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
4d08e219d9
make edict_t.v a union of entvars_t and pr_type_t[]
2001-02-02 21:22:35 +00:00
Bill Currie
20a885c174
clean up the #define mess in progs.h. While I doubt this will fix the null
...
function crashes, at least the code is easier to read.
2001-02-01 08:38:25 +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
bae13155b4
fix a segmentation fault in PR_PrintStatement caused by bogus prototypes
2001-01-16 03:15:23 +00:00
Zephaniah E. Hull
2569e34ea9
cl_ents.c: Killed an unused variable which gcc did not catch.
...
cl_parse.c: Fixed the white body issue taniwha found, finally!
pr_edict.c: From misty, server cvar qwprogs, use it to set the
qwprogs.dat to something else.
sv_user.c: Don't send the r_skyname command, the clients pickup the info
line.
2001-01-15 18:14:36 +00:00
Bill Currie
5e86c729fa
now progs and server really are separated :)
2001-01-03 07:08:28 +00:00
Bill Currie
0192ed40c3
the progs engine and the server are now completely independent paving the way
...
for CSQC.
2001-01-03 05:54:35 +00:00
Bill Currie
2debf6f669
now only svs is reverenced where it shouldn't be, and that's to set info
...
strings (skybox and *progs). skybox is easy to take care of (aditional parse
functions), but I haven't yet decided what to do with *progs. Also, progs code
needs a bit of a cleanup, but that will come later.
2001-01-02 03:22:46 +00:00
Bill Currie
ad17c35143
forgot to fix these
2000-12-31 18:20:51 +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
ccba39666b
#include audit
2000-12-30 02:16:36 +00:00
Jeff Teunissen
2fdeaf7aaa
whitespace.
2000-12-28 06:49:26 +00:00
Bill Currie
f453d2f1b8
clean up the #includes of the progs files
2000-12-28 05:18:38 +00:00
Bill Currie
b98e19fdd6
hopefully fix the sky "/usr/local/share/games/qf" not found bug
2000-12-14 22:25:35 +00:00
Jeff Teunissen
d8e1f27d4b
pr_edict.c: whitespace
...
rest: Implement model animation interpolation for alias models. Trying to
implement this has been an annoyance for some time, but IT WORKS NOW. set
gl_lerp_anims to zero to disable.
2000-12-11 09:59:27 +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
600e6dac57
remove possible trigraphs (eww)
2000-12-07 17:08:38 +00:00
Dabb
e8cf0e53f4
First try load qwprogs.dat, then try progs.dat and then fail.
2000-12-06 18:27:23 +00:00
Dabb
a7b6d2df88
Brought over pr_exec.c and pals from darkplaces.
...
Improvements include bounds checking, 40% less instructions per
opcode, support for 65535 globals. Might even break something.
2000-12-06 13:23:44 +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
Zephaniah E. Hull
4aacab9013
r_skyname on the server should be CVAR_SERVERINFO, not CVAR_NONE.
2000-11-01 03:09:55 +00:00
Bill Currie
4057988e1f
tree now builds again. Note: this includes some of my sky work, but so long as
...
gl_sky_clip is not set, it's not working won't affect you :)
2000-10-29 22:02:29 +00:00
Zephaniah E. Hull
13bd5ce012
The init sequence cleanup!
...
Also broke up client.h into a lot of smaller headers.
Oh, software rendering works again.
And yes, this does hit a hell of a lot of files.
2000-10-29 15:35:24 +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
Maddes Buecher
b72492afd3
EndFrame function by FrikaC/Maddes
2000-08-20 19:47:37 +00:00
Forest Hale
2028766d1f
Removed Endy's broken protocol enhancements.
2000-06-30 05:54:28 +00:00
James Brown
089a0a35d0
Patched for QSG Standard 2 (Extend Protocol).
...
Unfinished, renderer effects are only half implimented at this point.
2000-06-25 13:00:19 +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
Joseph Carter
fa7a4882ac
*sigh*
2000-05-22 07:10:16 +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
195847715d
explain what and why a bit more
2000-05-19 03:10:33 +00:00
Joseph Carter
466344b359
Not as clean as it could be, but for now it will work.
2000-05-19 03:06:05 +00:00
Bill Currie
832af13c12
all files now include config.h
2000-05-17 10:03:19 +00:00
Yan Sweitzer
1efb92f899
sprintf -> snprintf
...
vsprintf -> vsnprintf
2000-05-15 08:59:12 +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