summaryrefslogtreecommitdiff
path: root/src/honey.h
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-10-25 11:09:47 -0500
committersanine-a <sanine.not@pm.me>2020-10-25 11:09:47 -0500
commit8dbfbdc929c2321f23b50754eda8fbcdba00ad03 (patch)
treeeed76380aaf660f0e7910e987579ca6f1e920525 /src/honey.h
parent1a55ea2d22436359f8e11061e203cf9e8849a114 (diff)
move main loop into honey_run
Diffstat (limited to 'src/honey.h')
-rw-r--r--src/honey.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/honey.h b/src/honey.h
index 974136a..caa92e7 100644
--- a/src/honey.h
+++ b/src/honey.h
@@ -53,9 +53,10 @@ bool honey_setup(lua_State** L);
/** @brief The main game loop.
*
- * @param[in] window The window the game is running in, created with honey_setup()
+ * @param[in] L The lua state honey was initialized in.
+ * @param[in] opts The honey_options struct previously populated by honey_parse_options().
*/
-void honey_run(honey_window window);
+bool honey_run(lua_State* L, honey_options opts);
/** @brief Get a registry reference to a given honey callback.
*