summaryrefslogtreecommitdiff
path: root/src/core/core.h
diff options
context:
space:
mode:
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();