summaryrefslogtreecommitdiff
path: root/src/core.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core.hpp')
-rw-r--r--src/core.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/core.hpp b/src/core.hpp
index 117a81f..a51d2b4 100644
--- a/src/core.hpp
+++ b/src/core.hpp
@@ -38,6 +38,7 @@
#include <SDL2/SDL_mixer.h>
#include "command.hpp"
+#include "log.hpp"
#include "vk/device.hpp"
#include "vk/graphics_pipeline.hpp"
@@ -54,6 +55,14 @@ struct cg_sCore
{
static const CommandChain loader;
+ Log::Logger log;
+
+ mrb_state *mrb;
+
+ /// mruby symbols
+ mrb_sym sym_fatal, sym_error, sym_warning, sym_information, sym_debug,
+ sym_trace;
+
const char *config_file;
/// Text displayed in the game window.