2011-09-14 21:19:54 +03:00
|
|
|
#ifndef _lua_int__hpp__included__
|
|
|
|
#define _lua_int__hpp__included__
|
|
|
|
|
2012-10-16 17:39:55 +03:00
|
|
|
#include "lua/lua.hpp"
|
2011-09-21 02:58:15 +03:00
|
|
|
#include <cstdio>
|
|
|
|
#include <cstdlib>
|
2012-09-29 11:56:18 +03:00
|
|
|
#include <iostream>
|
2013-12-20 02:02:12 +02:00
|
|
|
#include "library/lua-base.hpp"
|
2013-08-21 04:14:53 +03:00
|
|
|
#include "library/lua-framebuffer.hpp"
|
2011-09-14 21:19:54 +03:00
|
|
|
|
2013-12-20 02:02:12 +02:00
|
|
|
extern lua::state lsnes_lua_state;
|
|
|
|
extern lua::function_group lua_func_bit;
|
|
|
|
extern lua::function_group lua_func_misc;
|
|
|
|
extern lua::function_group lua_func_callback;
|
|
|
|
extern lua::function_group lua_func_load;
|
|
|
|
extern lua::function_group lua_func_zip;
|
2012-10-16 17:39:55 +03:00
|
|
|
|
2013-12-20 02:02:12 +02:00
|
|
|
void push_keygroup_parameters(lua::state& L, keyboard::key& p);
|
2011-09-14 22:18:24 +03:00
|
|
|
extern lua_render_context* lua_render_ctx;
|
2012-01-09 21:55:55 +02:00
|
|
|
extern controller_frame* lua_input_controllerdata;
|
2013-08-08 20:41:29 +03:00
|
|
|
extern bool* lua_kill_frame;
|
2012-03-06 05:24:43 +02:00
|
|
|
extern bool lua_booted_flag;
|
2012-03-06 13:48:39 +02:00
|
|
|
extern uint64_t lua_idle_hook_time;
|
|
|
|
extern uint64_t lua_timer_hook_time;
|
2011-09-14 22:18:24 +03:00
|
|
|
|
2013-08-21 04:14:53 +03:00
|
|
|
extern void* synchronous_paint_ctx;
|
|
|
|
void lua_renderq_run(lua_render_context* ctx, void* synchronous_paint_ctx);
|
|
|
|
|
2011-09-17 12:17:14 +03:00
|
|
|
#endif
|