Commit graph

19 commits

Author SHA1 Message Date
Dabb
2d4ced491e Put back #include <stdarg.h> or compile fails. 2000-12-29 16:19:23 +00:00
Bill Currie
005dbaa83f white space 2000-12-29 01:28:22 +00:00
Bill Currie
f453d2f1b8 clean up the #includes of the progs files 2000-12-28 05:18:38 +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
02f14aa326 style changes 2000-12-06 19:45:22 +00:00
Bill Currie
0974d76447 d'oh, forgot to remove the surrounding if(pr_boundscheck) :/ 2000-12-06 18:51:54 +00:00
Bill Currie
56656df96a remove the duplicated progs engine. That would have been a maintainence
nightmare.
2000-12-06 18:41:21 +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
Zephaniah E. Hull
210ba16069 First off in gl_draw.c we have some nice cleanup code for the upload
code.

Then we have the completely purge of treating 'unsigned' as a type, it
is NOT a type, it is a TYPE MODIFIER!

Under gcc for x86 it happens to try and do something sane, just treat it
as a unsigned int, but that is EVIL, it is a MODIFIER and if ANYONE adds
code which uses unsigned as a type in itself I /WILL/ harm them!!!
2000-09-22 09:08:08 +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
Bill Currie
832af13c12 all files now include config.h 2000-05-17 10:03:19 +00:00
Bill Currie
6f95f89478 remove a /* from a comment 2000-05-15 09:52:29 +00:00
Yan Sweitzer
1efb92f899 sprintf -> snprintf
vsprintf -> vsnprintf
2000-05-15 08:59:12 +00:00
Yan Sweitzer
ac02d268e0 crash fix in PR_ExecuteProgram() 2000-05-14 20:45:26 +00:00
Yan Sweitzer
f1dab8604b crash fix in PR_ExecuteProgram() 2000-05-14 20:29:32 +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
Bill Currie
525f2b78f4 warnings fix for older gcc/egcs 2000-05-10 22:11:27 +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