lsnes/include/lua/internal.hpp

41 lines
1.2 KiB
C++
Raw Normal View History

#ifndef _lua_int__hpp__included__
#define _lua_int__hpp__included__
2012-10-16 17:39:55 +03:00
#include "lua/lua.hpp"
#include <cstdio>
#include <cstdlib>
2012-09-29 11:56:18 +03:00
#include <iostream>
#include "library/lua-base.hpp"
#include "library/lua-class.hpp"
#include "library/lua-function.hpp"
#include "library/lua-params.hpp"
2013-08-21 04:14:53 +03:00
#include "library/lua-framebuffer.hpp"
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_load;
extern lua::function_group lua_func_zip;
2012-10-16 17:39:55 +03:00
extern lua::class_group lua_class_callback;
extern lua::class_group lua_class_gui;
extern lua::class_group lua_class_bind;
extern lua::class_group lua_class_pure;
extern lua::class_group lua_class_movie;
extern lua::class_group lua_class_memory;
extern lua::class_group lua_class_fileio;
void push_keygroup_parameters(lua::state& L, keyboard::key& p);
extern lua_render_context* lua_render_ctx;
extern controller_frame* lua_input_controllerdata;
extern bool* lua_kill_frame;
2014-01-17 22:18:13 +02:00
extern uint32_t* lua_hscl;
extern uint32_t* lua_vscl;
2012-03-06 13:48:39 +02:00
extern uint64_t lua_idle_hook_time;
extern uint64_t lua_timer_hook_time;
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);
#endif