summaryrefslogtreecommitdiff
path: root/include/lua_core.h
diff options
context:
space:
mode:
authorjussi2023-08-18 01:23:30 +0300
committerjussi2023-08-18 01:23:30 +0300
commitc911ba043116e9d0e321311ddf27b0170d74410b (patch)
treee51f7141a16400f794d535f999a37ed176271861 /include/lua_core.h
parentb7b46ada041ad56b1bc84fea3062464b702135c5 (diff)
downloadreilua-enhanced-c911ba043116e9d0e321311ddf27b0170d74410b.tar.gz
reilua-enhanced-c911ba043116e9d0e321311ddf27b0170d74410b.tar.bz2
reilua-enhanced-c911ba043116e9d0e321311ddf27b0170d74410b.zip
RL.event function with input events.
Diffstat (limited to 'include/lua_core.h')
-rw-r--r--include/lua_core.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/lua_core.h b/include/lua_core.h
index 972214e..7c61d07 100644
--- a/include/lua_core.h
+++ b/include/lua_core.h
@@ -1,5 +1,7 @@
#pragma once
+enum EventType { EVENT_KEY, EVENT_CHAR, EVENT_MOUSE_BUTTON, EVENT_MOUSE_CURSOR_POS, EVENT_MOUSE_SCROLL, EVENT_CURSOR_ENTER };
+
void defineGlobals();
void logCustom( int logLevel, const char *text, va_list args );