Age | Commit message (Collapse) | Author |
|
Create wrapper functions over the pthread API so that the engine only
has to provide an integer ID for threads and mutexes. The thread and
mutex handles should be handled internally so that the end user never
sees the underlying datatypes.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add functions that toggle color output from the logging framework.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Make the error_callback function use log_output rather than vanilla
printf. This unifies the engine's logging features into a single API.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Because the C runtime on Windows doesn't support the backtrace or
backtrace_symbols functions.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Print warnings and errors in yellow and red respectively. This will make
these messages stand out and make it easier for a developer to find them
in the terminal window.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Add several new files to the core subsystem. These files will be the
basic building blocks upon which the rest of the engine will sit atop
of. These files will be present in all builds, including headless and
platform builds.
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>
|
|
Retool the build system to be more modular and more flexible. Move all
subsystems into separate directories and create make.config files that
will conditionally compile based on information from the root Makefile.
Signed-off-by: Danny Holman <dholman@gymli.org>
|
|
Reorganize the project root such that each subsystem is placed into its
own subdirectory. This allows the build system to select which
subsystems to enable for a particular build.
Signed-off-by: Danny Holman <dholman@gymli.org>
|