After lots of segfaults I decided to implement a very basic logger to
write some info to file, which allowed me to find some nasty bugs in the
rendering code in core.cpp. Now the program is running, several buffers
are drawn (poorly) and the bebugging can continue. Nevertheless this has
been valuable work.
The buffer layout is now correctly calculated.
Split up core_init into three maintainable functions.
Simplified the public interface of the core module.
Sketched out a new module for the queue. It only contains some threading
logic and mostly empty placeholder functions but will later describe the
queue data structure and implement a (hopefully minimal) interface to
add new jobs to the queue that will then be handled in the background.
Cleaned up all code in asajj.cpp related to threading as there is now a
clean prototype in queue.cpp.
Moved the code to initialize the Lua VM to its own initialization
function in core.
Added a basic roadmap to the readme.
Added utility functions to easily get floats from the Lua environment
and kill the program upon fatal errors.
Implemented loading of runtime config from file upon initialization
So, yeah, when implementing the loading of a runtime config from a
file, one should also include said config file to the commit.