1 #ifndef _lua_int__hpp__included__
2 #define _lua_int__hpp__included__
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 extern lua::class_group lua_class_callback
;
22 extern lua::class_group lua_class_gui
;
23 extern lua::class_group lua_class_bind
;
24 extern lua::class_group lua_class_pure
;
25 extern lua::class_group lua_class_movie
;
26 extern lua::class_group lua_class_memory
;
27 extern lua::class_group lua_class_fileio
;
29 void push_keygroup_parameters(lua::state
& L
, keyboard::key
& p
);
30 extern lua_render_context
* lua_render_ctx
;
31 extern controller_frame
* lua_input_controllerdata
;
32 extern bool* lua_kill_frame
;
33 extern uint32_t* lua_hscl
;
34 extern uint32_t* lua_vscl
;
35 extern bool lua_booted_flag
;
36 extern uint64_t lua_idle_hook_time
;
37 extern uint64_t lua_timer_hook_time
;
39 extern void* synchronous_paint_ctx
;
40 void lua_renderq_run(lua_render_context
* ctx
, void* synchronous_paint_ctx
);