Lua: Refactor lots of stuff
[lsnes.git] / include / lua / internal.hpp
blob70a0fc704d839d51710eb03fa7a1bde895bb885e
1 #ifndef _lua_int__hpp__included__
2 #define _lua_int__hpp__included__
4 #include "lua/lua.hpp"
5 #include <cstdio>
6 #include <cstdlib>
7 #include <iostream>
8 #include "library/lua-base.hpp"
9 #include "library/lua-class.hpp"
10 #include "library/lua-function.hpp"
11 #include "library/lua-params.hpp"
12 #include "library/lua-framebuffer.hpp"
14 extern lua::state lsnes_lua_state;
15 extern lua::function_group lua_func_bit;
16 extern lua::function_group lua_func_misc;
17 extern lua::function_group lua_func_callback;
18 extern lua::function_group lua_func_load;
19 extern lua::function_group lua_func_zip;
21 void push_keygroup_parameters(lua::state& L, keyboard::key& p);
22 extern lua_render_context* lua_render_ctx;
23 extern controller_frame* lua_input_controllerdata;
24 extern bool* lua_kill_frame;
25 extern uint32_t* lua_hscl;
26 extern uint32_t* lua_vscl;
27 extern bool lua_booted_flag;
28 extern uint64_t lua_idle_hook_time;
29 extern uint64_t lua_timer_hook_time;
31 extern void* synchronous_paint_ctx;
32 void lua_renderq_run(lua_render_context* ctx, void* synchronous_paint_ctx);
34 #endif