diff options
author | sanine-a <sanine.not@pm.me> | 2020-10-25 11:09:47 -0500 |
---|---|---|
committer | sanine-a <sanine.not@pm.me> | 2020-10-25 11:09:47 -0500 |
commit | 8dbfbdc929c2321f23b50754eda8fbcdba00ad03 (patch) | |
tree | eed76380aaf660f0e7910e987579ca6f1e920525 /src/honey.h | |
parent | 1a55ea2d22436359f8e11061e203cf9e8849a114 (diff) |
move main loop into honey_run
Diffstat (limited to 'src/honey.h')
-rw-r--r-- | src/honey.h | 5 |
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. * |