/src/bindings/bind_all.h
https://bitbucket.org/vivkin/gam3b00bs/ · C Header · 32 lines · 14 code · 11 blank · 7 comment · 0 complexity · 2e626119e58b45ff794550efeb60cadc MD5 · raw file
- #pragma once
- //
- // bind_all.h - all subsystem bindings go in here
- //
-
- extern "C"
- {
- #include "lua/lua.h"
- #include "lua/lualib.h"
- #include "lua/lauxlib.h"
- }
-
- namespace luab // Lua bindings
- {
-
- // Creates a Lua state, initializes bindings, then calls "game/scripts/main.lua".
- // Returns zero on success.
-
- int start_scripts();
-
-
- ///////////////////////////////////////
- // Bindings:
-
- void bind_app( lua_State * L ); // application
-
- void bind_renderer( lua_State * L ); // renderer
-
- void bind_input( lua_State * L ); // input
- }