summaryrefslogtreecommitdiff
path: root/core/alloc.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* core: alloc: fix a bug in reallocDanny Holman2024-10-071-4/+6
| | | | | | | | | Fix a bug in realloc that wouldn't copy the data from the original pointer. The new implementation now copies the data and marks the old block as free, as well as returning a new block if the ptr argument is NULL. Signed-off-by: Danny Holman <dholman@gymli.org>
* build: break the engine into its subsystemsv0.60Danny Holman2024-09-151-0/+105
Break the source code into various subsystem directories. This allows certain subsystems to be disabled at compile time, if needed. Move the build system from raw Makefiles to a CMake generator. This drastically simplifies the build and requires only editing a single file, rather than the several make.config files in subsystem directories. Signed-off-by: Danny Holman <dholman@gymli.org>