lsnes/lua-dummy.cpp
Ilari Liusvaara 14955e7238 Add on_snoop Lua callback
This could prove useful for outputting movie file for console
verification.
2011-09-14 23:26:11 +03:00

22 lines
1.3 KiB
C++

#include "lua.hpp"
struct lua_State { int x; };
lua_function::lua_function(const std::string& name) throw(std::bad_alloc) {}
lua_function::~lua_function() throw() {}
void lua_callback_do_paint(struct lua_render_context* ctx, window* win) throw() {}
void lua_callback_do_video(struct lua_render_context* ctx, window* win) throw() {}
void lua_callback_do_input(controls_t& data, bool subframe, window* win) throw() {}
void lua_callback_do_reset(window* win) throw() {}
void lua_callback_do_readwrite(window* win) throw() {}
void lua_callback_startup(window* win) throw() {}
void lua_callback_pre_load(const std::string& name, window* win) throw() {}
void lua_callback_err_load(const std::string& name, window* win) throw() {}
void lua_callback_post_load(const std::string& name, bool was_state, window* win) throw() {}
void lua_callback_pre_save(const std::string& name, bool is_state, window* win) throw() {}
void lua_callback_err_save(const std::string& name, window* win) throw() {}
void lua_callback_post_save(const std::string& name, bool is_state, window* win) throw() {}
void lua_callback_snoop_input(uint32_t port, uint32_t controller, uint32_t index, short value, window* win) throw() {}
void lua_callback_quit(window* win) throw() {}
void init_lua(window* win) throw() {}
bool lua_requests_repaint = false;
bool lua_requests_subframe_paint = false;