summaryrefslogtreecommitdiff
path: root/include/state.h
diff options
context:
space:
mode:
authorjussi2023-10-30 22:40:20 +0200
committerjussi2023-10-30 22:40:20 +0200
commitc3295e014d979c0213b3fb7e4837b5356bc8fdb4 (patch)
tree66ee22c7140761a17bf174d71fecfb94c1378b1d /include/state.h
parent6e0d577d63b221797cdc7f392718dd1c4fb384b4 (diff)
downloadreilua-enhanced-c3295e014d979c0213b3fb7e4837b5356bc8fdb4.tar.gz
reilua-enhanced-c3295e014d979c0213b3fb7e4837b5356bc8fdb4.tar.bz2
reilua-enhanced-c3295e014d979c0213b3fb7e4837b5356bc8fdb4.zip
Reintroducing Unload functions. Is*Ready functions. GC_UNLOAD setting and check function.
Diffstat (limited to 'include/state.h')
-rw-r--r--include/state.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/state.h b/include/state.h
index 4b023aa..d7e1052 100644
--- a/include/state.h
+++ b/include/state.h
@@ -6,9 +6,12 @@ typedef struct {
char *exePath;
bool hasWindow;
bool run;
+ bool gcUnload;
lua_State *luaState;
Vector2 resolution;
int logLevelInvalid;
+ Font defaultFont;
+ Material defaultMaterial;
/* Raylib GLFW input callback events. */
/* Window events. */
GLFWwindowsizefun raylibWindowSizeCallback;