zturtleman / spearmint

Spearmint — an updated id Tech 3 engine for continuing the classics and creating new games.
https://clover.moe/spearmint
GNU General Public License v3.0
237 stars 27 forks source link

Rewrite the memory management systems #154

Open zturtleman opened 10 years ago

zturtleman commented 10 years ago

Switch "zone" (common.c) and DMA (snd_mem.c) memory systems from allocating as a single memory pool at run time to allocating as needed.

For reference? http://trac.srb2.org/browser/SRB2/trunk/src/z_zone.c

Not sure about the "hunk" memory system. I'd like it to be dynamic as well, but maybe would be better left as is?

ensiform commented 10 years ago

https://github.com/JACoders/OpenJK/blob/master/codemp/qcommon/z_memman_pc.cpp

zturtleman commented 10 years ago

yeah, basically that.