summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
authorOmniscient <omniscient.oce@gmail.com>2024-07-11 21:43:06 +1000
committerOmniscient <omniscient.oce@gmail.com>2024-07-11 21:43:06 +1000
commitfedba7ff68924ff50022405fc9103a5acf7013fe (patch)
treecd4e8ebd21736d460ac0434ce08cc2012bf613e0 /src/core/core.h
parent9f23f65ec631bcd08f200b3ef517da8acf8d6b17 (diff)
wip
Diffstat (limited to 'src/core/core.h')
-rw-r--r--src/core/core.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/src/core/core.h b/src/core/core.h
index 89702fd..469f8d1 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -6,23 +6,9 @@
#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;
+
+typedef struct Core Core;
+
core* get_global_core();