diff options
author | 2020-12-09 01:01:22 +1100 | |
---|---|---|
committer | 2020-12-09 01:10:26 +1100 | |
commit | e008c7b1b1042d644be2a1e177ffa15d53e942c5 (patch) | |
tree | d248f9fcbe15563c46c1ae9605d35a19ed4ada5e /src/frontend/mame/luaengine.h | |
parent | 06568860e7a30424bab61498cd2a8a44889e4412 (diff) |
-Lua engine cleanup, input edition:
* Modernised and cleaned up Lua bindings for input classes.
* Exposed the input_sequence_poller class to Lua and updated the
autofire and cheat plugins to use it, rather than continuing to
pretend it's part of the input manager.
* Exposed more of the natural keyboard manager, including the ability
to enable/disable individual keyboard and keypad devices like you
can from the keyboard mode menu.
* Exposed a few more things on ioport_port and input_device.
-plugins/cheat: Fixed menu item not updating visually when disabling a
cheat with UI Left.
-plugins/cheatfind: Fixed not finding the first screen after screen
enumerator was exposed as an object rather than using a table.
-bwidow.cpp, pacman.cpp: Minor cleanup to recent changes.
Diffstat (limited to 'src/frontend/mame/luaengine.h')
-rw-r--r-- | src/frontend/mame/luaengine.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/frontend/mame/luaengine.h b/src/frontend/mame/luaengine.h index 14d47fbf89c..bfcbaf04a50 100644 --- a/src/frontend/mame/luaengine.h +++ b/src/frontend/mame/luaengine.h @@ -12,8 +12,6 @@ #pragma once -#include "iptseqpoll.h" - #include <condition_variable> #include <functional> #include <map> @@ -35,10 +33,10 @@ class lua_engine public: // helper structures template <typename T> struct devenum; - template <typename T, typename C, typename I = typename C::iterator> struct immutable_container_helper; - + template <typename T> struct simple_list_wrapper; template <typename T> struct tag_object_ptr_map; template <typename T> using standard_tag_object_ptr_map = tag_object_ptr_map<std::unordered_map<std::string, std::unique_ptr<T> > >; + template <typename T, typename C, typename I = typename C::iterator> struct immutable_container_helper; // construction/destruction lua_engine(); @@ -146,7 +144,6 @@ private: lua_State *m_lua_state; std::unique_ptr<sol::state_view> m_sol_state; running_machine *m_machine; - std::unique_ptr<input_sequence_poller> m_seq_poll; std::vector<std::string> m_menu; |