redesigned tempstring system, now uses a fixed size buffer based on the prvm_tempstri...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 24 Jan 2007 04:15:45 +0000 (04:15 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 24 Jan 2007 04:15:45 +0000 (04:15 +0000)
commit5d5ddd179137aebbfe9014083a2eaf004539ae0c
tree574e16c0e3efb657da9ea654507e7f67d74dd031
parent712145401266d614b68e100de4a50ea1c34a7dc8
redesigned tempstring system, now uses a fixed size buffer based on the prvm_tempstringmemory cvar (this is probably safe to automatically resize in the future but is not currently resized)
audited PRVM_G_STRING use in the engine (eliminated many NULL checks in functions because it never returns NULL)
added DP_QC_UNLIMITEDTEMPSTRINGS extension to indicate this new tempstring system's wonderous features (not yet documented)

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6746 d7cf8633-e32d-0410-b094-e92efae38249
14 files changed:
clvm_cmds.c
csprogs.c
mvm_cmds.c
progs.h
progsvm.h
prvm_cmds.c
prvm_cmds.h
prvm_edict.c
prvm_exec.c
prvm_execprogram.h
sv_phys.c
sv_user.c
svvm_cmds.c
todo