Commit Graph

7738 Commits

Author SHA1 Message Date
Vicki Pfau 1895ed34fc Scripting: Add making strings from non-UTF8-clean text 2022-05-27 20:19:28 -07:00
Vicki Pfau 98f5298e04 Scripting: Add __pairs implementation for tables 2022-05-27 20:19:28 -07:00
Vicki Pfau 5c84278667 Scripting: Start exporting some constants 2022-05-27 20:19:28 -07:00
Vicki Pfau 303fc17e77 Scripting: Add screenshots, delimit categories 2022-05-27 20:19:28 -07:00
Vicki Pfau cb9d45caee Scripting: Add savestate slot access 2022-05-27 20:19:28 -07:00
Vicki Pfau e228857eef Scripting: Add default arguments 2022-05-27 20:19:28 -07:00
Vicki Pfau fa847b1e63 Qt: Add basic scripting view 2022-05-27 20:19:28 -07:00
Vicki Pfau 48f49b74b1 Scripting: Make memory blocks weakrefs 2022-05-27 20:19:28 -07:00
Vicki Pfau f3ba5f7692 Scripting: API cleanup 2022-05-27 20:19:28 -07:00
Vicki Pfau ca073379fb Scripting: Add Table iteration 2022-05-27 20:19:28 -07:00
Vicki Pfau c14fb54a74 Scripting: Add callback API 2022-05-27 20:19:28 -07:00
Vicki Pfau a59349af8a Scripting: Fix some bugs with context globals 2022-05-27 20:19:28 -07:00
Vicki Pfau e8e9a3e3c3 Scripting: Bring up lists 2022-05-27 20:19:28 -07:00
Vicki Pfau 5eb25876b4 Scripting: Add memory adapter for access to memory regions 2022-05-27 20:19:28 -07:00
Vicki Pfau 076299a5f6 Scripting: Start bringing up constructors/destructors 2022-05-27 20:19:28 -07:00
Vicki Pfau bbf6d94fe2 Scripting: More table scaffolding 2022-05-27 20:19:28 -07:00
Vicki Pfau c6e18b2a59 Scripting: Lua memory fixes 2022-05-27 20:19:28 -07:00
Vicki Pfau deff3585bd Scripting: Default "get" handling a la Python and casting a struct into one of its members 2022-05-27 20:19:28 -07:00
Vicki Pfau aa91ffabfd Scripting: Revamp pointer handling, struct casting 2022-05-27 20:19:28 -07:00
Vicki Pfau c296ea79ff Scripting: Add flag for freeing the value buffer 2022-05-27 20:19:28 -07:00
Vicki Pfau 0c28e34a7e Scripting: Remove static members 2022-05-27 20:19:28 -07:00
Vicki Pfau 17d2373975 Scripting: Add "console" logger bridge 2022-05-27 20:19:28 -07:00
Vicki Pfau e3758597f8 Scripting: Hook up Lua strings and add context autodrain pool 2022-05-27 20:19:28 -07:00
Vicki Pfau af44a65c3d Scripting: Add weak references for opaque runtime access 2022-05-27 20:19:28 -07:00
Vicki Pfau 7bb051b01d Scripting: Start hooking things together 2022-05-27 20:19:28 -07:00
Vicki Pfau cdfa6ac54b Scripting: Fix unsetting globals in Lua 2022-05-27 20:19:28 -07:00
Vicki Pfau 8326ecddce Scripting: Add missing C++ guard ends 2022-05-27 20:19:28 -07:00
Vicki Pfau b9f88061ca Scripting: Add error reporting 2022-05-27 20:19:28 -07:00
Vicki Pfau 66142ab4dc Scripting: Hook up memory access 2022-05-27 20:19:28 -07:00
Vicki Pfau 8c45d51b8e Scripting: Code cleanup, add parameter names 2022-05-27 20:19:28 -07:00
Vicki Pfau 421c645e14 Scripting: More testing sugar 2022-05-27 20:19:28 -07:00
Vicki Pfau ce3710323b Scripting: Start working on mCore bridge 2022-05-27 20:19:28 -07:00
Vicki Pfau 7226b7ee31 Scripting: Interface cleanup 2022-05-27 20:19:28 -07:00
Vicki Pfau 5c67c3b600 Scripting: Lua method calling cleanup and testing 2022-05-27 20:19:28 -07:00
Vicki Pfau 16bad9f141 Scripting: Testing sugar 2022-05-27 20:19:28 -07:00
Vicki Pfau 4dae4d8f7f Scripting: Start hooking up objects in Lua 2022-05-27 20:19:28 -07:00
Vicki Pfau edb07e23c8 Scripting: Fix leaks in Lua test 2022-05-27 20:19:28 -07:00
Vicki Pfau 7c9ea1ec9b Scripting: Add basic inheritance + struct struct member access + const casting 2022-05-27 20:19:28 -07:00
Vicki Pfau 9ddada00f2 Scripting: Add struct setter 2022-05-27 20:19:28 -07:00
Vicki Pfau b0567832f8 Scripting: More const bringup 2022-05-27 20:19:28 -07:00
Vicki Pfau eadc0c677b Scripting: Minor code cleanup 2022-05-27 20:19:28 -07:00
Vicki Pfau 3179419f52 Scripting: Add static dispatch to classes 2022-05-27 20:19:28 -07:00
Vicki Pfau e912450e85 Scripting: Attempt to add const structs 2022-05-27 20:19:28 -07:00
Vicki Pfau 1a6fa25a33 Scripting: Add struct dynamic dispatch binding 2022-05-27 20:19:28 -07:00
Vicki Pfau af2e226cc4 Scripting: First pass on structs/classes 2022-05-27 20:19:28 -07:00
Vicki Pfau c8848876fa Scripting: Add 8/16-bit integer types for struct interop 2022-05-27 20:19:28 -07:00
Vicki Pfau 4c1e736915 Scripting: Fix cast failure 2022-05-27 20:19:28 -07:00
Vicki Pfau 2e00104d1a Scripting: Clean up function binding CPP 2022-05-27 20:19:28 -07:00
Vicki Pfau 7fb7d53c5d Scripting: Add Lua function call thunk 2022-05-27 20:19:28 -07:00
Vicki Pfau 9d92c185c6 Scripting: Minor cleanup 2022-05-27 20:19:28 -07:00