summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/core.h2
-rw-r--r--include/lua_core.h3
-rw-r--r--include/state.h1
3 files changed, 6 insertions, 0 deletions
diff --git a/include/core.h b/include/core.h
index 436bd9b..bfedf81 100644
--- a/include/core.h
+++ b/include/core.h
@@ -43,6 +43,8 @@ int lcoreTakeScreenshot( lua_State *L );
int lcoreSetConfigFlags( lua_State *L );
int lcoreTraceLog( lua_State *L );
int lcoreSetTraceLogLevel( lua_State *L );
+int lcoreSetLogLevelInvalid( lua_State *L );
+int lcoreGetLogLevelInvalid( lua_State *L );
int lcoreOpenURL( lua_State *L );
/* Cursor. */
int lcoreShowCursor( lua_State *L );
diff --git a/include/lua_core.h b/include/lua_core.h
index 04924bc..972214e 100644
--- a/include/lua_core.h
+++ b/include/lua_core.h
@@ -1,5 +1,8 @@
#pragma once
+void defineGlobals();
+void logCustom( int logLevel, const char *text, va_list args );
+
bool luaInit();
int luaTraceback( lua_State *L );
bool luaCallMain();
diff --git a/include/state.h b/include/state.h
index e4cb72f..7a2dd95 100644
--- a/include/state.h
+++ b/include/state.h
@@ -21,6 +21,7 @@ typedef struct {
lua_State *luaState;
Vector2 resolution;
size_t guiFont;
+ int logLevelInvalid;
/* Resources. */
/* Images. */
Image **images;