Commit Graph

7461 Commits

Author SHA1 Message Date
Vicki Pfau 98c371b769 Scripting: Rename mScriptCallbackAdapter to mScriptCallbackManager 2022-05-27 20:19:28 -07:00
Vicki Pfau f739c28b5f Scripting: Rename mScriptMemoryAdapter to mScriptMemoryDomain 2022-05-27 20:19:28 -07:00
Vicki Pfau 7ab5f3d690 Scripting: Allow "opaque" pointers a bit more clarity 2022-05-27 20:19:28 -07:00
Vicki Pfau 6b2fa8fe67 Scripting: Add more docstrings 2022-05-27 20:19:28 -07:00
Vicki Pfau e69be0cc6f Scripting: Add reset menu opiton 2022-05-27 20:19:28 -07:00
Vicki Pfau b3476a997a Scripting: Pass filenames down to scripting engines 2022-05-27 20:19:28 -07:00
Vicki Pfau 5d7e3bdf13 Res: Support Pokemon Yellow in script 2022-05-27 20:19:28 -07:00
Vicki Pfau 7d7987d205 Res: Write better Lua 2022-05-27 20:19:28 -07:00
Vicki Pfau 62d5d788fc Res: Increase Pokemon script compatibility 2022-05-27 20:19:28 -07:00
Vicki Pfau b84a549e8c Scripting: Expose mCore.checksum function 2022-05-27 20:19:28 -07:00
Vicki Pfau 7a6b16dc41 Scripting: Fix up Lua tables 2022-05-27 20:19:28 -07:00
Vicki Pfau 7bc7656988 Scripting: Memory fixes 2022-05-27 20:19:28 -07:00
Vicki Pfau 304d8d1a4d Scripting: More API cleanup 2022-05-27 20:19:28 -07:00
Vicki Pfau 7e36a71953 Scripting: Fix segment addressing 2022-05-27 20:19:28 -07:00
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