Commit Graph

7749 Commits

Author SHA1 Message Date
Vicki Pfau a747545014 Scripting: Improve Lua error reporting 2022-05-27 20:19:28 -07:00
Vicki Pfau d15bd4969e Res: Add WIP example Pokemon script 2022-05-27 20:19:28 -07:00
Vicki Pfau 28d7bfdffc Scripting: Add prototype "buffer" pseudo-TUI interface 2022-05-27 20:19:28 -07:00
Vicki Pfau f570786d78 Scripting: Add memory range reading 2022-05-27 20:19:28 -07:00
Vicki Pfau 9c6068a526 Scripting: Start bringing up lists in lua 2022-05-27 20:19:28 -07:00
Vicki Pfau 31a7f09b8a Scripting: Add register read/write 2022-05-27 20:19:28 -07:00
Vicki Pfau 4a345fb07c Scripting: Add casting STR to CHARP 2022-05-27 20:19:28 -07:00
Vicki Pfau 93cadacb18 Scripting: Allow null values to be wrapped in Lua as nil 2022-05-27 20:19:28 -07:00
Vicki Pfau 304a8d1655 Scripting: Split macros into separate header 2022-05-27 20:19:28 -07:00
Vicki Pfau 82c97e5dc3 Scripting: Add key input functions 2022-05-27 20:19:28 -07:00
Vicki Pfau e70a9b2f41 Scripting: Add more informational functions 2022-05-27 20:19:28 -07:00
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