| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Restructure the root of the project such that the engine is siloed from
the rest of the toolchain. Add two new subdirectories that contain an
editor and an offline profiling data analyzer.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
|
|
|
|
|
| |
Make the mem_block struct into a fully opaque type. This brings the
allocation manager in line with project coding style.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
|
|
|
|
|
|
| |
Move the logic that allocates and frees individual mem_block structs to
their own helper functions. This should simplify the engine's memory API
and fix a bug in rune_calloc that improperly allocated a mem_block.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
|
|
|
|
|
|
|
| |
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>
|
|
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>
|