mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-05-30 00:10:40 +00:00
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:
parent
00216df62a
commit
0ea713eda4
8 changed files with 100 additions and 52 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue