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:)
changed all parms references to directly access host_parms to improve readability, and removed unused basedir references. (all remaining fields in quakeparms_t deserve to be there)
memory in software mode. This is now taken care of, the memory is now
grabbed using calloc.
On Unix systems and all systems using SDL, the default video memory is now
8MB. This should now be enough for almost everybody, unless you have some
truly huge maps and boatloads of sounds. The minimum memory allowable is
now down to 4MB, but complex maps and/or models can cause the game to quit
-- not like this wasn't a problem already with the old 5.3MB lower limit,
but there it is.
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.