diff options
Diffstat (limited to 'src/core.h')
-rw-r--r-- | src/core.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/core.h b/src/core.h new file mode 100644 index 0000000..8a3d037 --- /dev/null +++ b/src/core.h @@ -0,0 +1,22 @@ +#pragma once + +#include "defines.h" +#include "input.h" +#include "render_types.h" +#include "screenspace.h" +#include "text.h" +#include "threadpool.h" + +typedef struct core { + renderer renderer; + threadpool threadpool; + input_state input; + text_system_state text; + screenspace_state screenspace; +} core; + +// --- Lifecycle +core* core_bringup(); +void core_shutdown(core* core); + +void core_input_update(core* core);
\ No newline at end of file |