Previous 199869 Revisions Next

r192798 Saturday 11th March, 2023 at 17:37:30 UTC by Vasantha Crabb
Lua engine: Better bindings for device_state_interface.

This avoids creating a table every time the state property of a device
is accessed, adds proper support for getting/setting floating/point
state entries from Lua, calls the state entry's formatting method to
convert to a string (for flags fields, etc.) and exposes more
properties.

This is a breaking change as the exposed properties on state entries
have changed, and the value property has different semantics for
floating-point state entries.
[docs/source/techspecs]luareference.rst
[src/emu]distate.h
[src/frontend/mame]luaengine.cpp luaengine.ipp


Previous 199869 Revisions Next


© 1997-2024 The MAME Team