From 65d74bdb26af833b5380046dec204f685f745cc1 Mon Sep 17 00:00:00 2001 From: Omniscient Date: Thu, 11 Jul 2024 18:03:29 +1000 Subject: changing styles plus simplifying a bit --- src/core.h | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 src/core.h (limited to 'src/core.h') diff --git a/src/core.h b/src/core.h deleted file mode 100644 index 89702fd..0000000 --- a/src/core.h +++ /dev/null @@ -1,40 +0,0 @@ -#pragma once - -#include "input.h" -#include "render_types.h" -#include "scene.h" -#include "screenspace.h" -#include "terrain.h" -#include "text.h" -// #include "threadpool.h" - -typedef struct core { - const char* app_name; - // foundations - renderer renderer; - // threadpool threadpool; - // systems - input_state input; - text_system_state text; - terrain_state terrain; - screenspace_state screenspace; - // data storage - scene default_scene; - model_pool models; - // model_darray* models; -} core; - -core* get_global_core(); - -// --- Lifecycle - -/** @brief Throws error if the core cannot be instantiated */ -void core_bringup(); -void core_shutdown(); -bool should_exit(); - -void frame_begin(); -void frame_draw(); -void frame_end(); - -void core_input_update(); -- cgit v1.2.3-70-g09d2