Commit Graph

10 Commits

Author SHA1 Message Date
Dabb 5ba9c66816 Nuked unused "texture_mode" - probably leftovers from old stuffs. 2000-12-31 13:59:19 +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 9f924b3a9e add includes lordhavoc forgot 2000-12-07 11:34:18 +00:00
Forest Hale be6e940417 updated .lit loader, forgot to commit this a while back 2000-12-07 08:59:56 +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 ddef594b2e gl bmodel fullbrights implemented. I hope. I'll find out for sure when I get
home.
2000-09-20 23:06:26 +00:00
Bill Currie 96aba78186 forgot to rename Mod_LoadMMNearest to Mod_ProcessTexture 2000-09-20 22:21:25 +00:00
Bill Currie b55b0264b5 model loading reorg ala nuq. once again, gl hasn't been tested (will test when
I get home tonight). This is in preparation for bmodel fulbrights.
2000-09-20 22:11:17 +00:00