Commit graph

20 commits

Author SHA1 Message Date
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
e9ed2d1a40 white space 2001-01-16 23:11:51 +00:00
Bill Currie
bae13155b4 fix a segmentation fault in PR_PrintStatement caused by bogus prototypes 2001-01-16 03:15:23 +00:00
Bill Currie
81620d5245 fix a crash in progs code caused by a bad prototype 2001-01-04 05:44:53 +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
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
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
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
Joseph Carter
39dcc9fdf3 The "Save Endy's Life" commit
Um, %d is not for floats, use %f
2000-06-26 02:35:40 +00:00
Bill Currie
ee3f88d57d add format checking to our printf style functions and correct the consequences
of this.
2000-06-17 12:27:59 +00:00
Bill Currie
e68701838a white space cleanup for last checkin 2000-05-22 08:44:34 +00:00
Bill Currie
2fd97f5eab header (C) block touch ups 2000-05-22 08:26:01 +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
Yan Sweitzer
440b2aec18 added uniform #ifdef _xxx_H encapsulation and appropriate includes to avoid header dependencies and circular conflicts
(work in progress, need to clean .c files as well)
2000-05-19 06:44:56 +00:00
Joseph Carter
d859383680 Initial revision 2000-05-10 11:29:38 +00:00