redo the progs loader to allocate all the memory needed for progs in one

shot, allowing for caller specified alloc and edicts and zone memory sizes.
(progs + edicts + zone).
This commit is contained in:
Bill Currie 2002-01-29 20:53:44 +00:00
parent 00216df62a
commit 0ea713eda4
8 changed files with 100 additions and 52 deletions

View file

@ -48,9 +48,9 @@ static const char rcsid[] =
#include "compat.h"
void
PR_Zone_Init (progs_t *pr, int size)
PR_Zone_Init (progs_t *pr)
{
Z_ClearZone (pr->zone, size);
Z_ClearZone (pr->zone, pr->zone_size);
}
void