Commit Graph

15296 Commits

Author SHA1 Message Date
adelikat d2ff9b6ff0 cleanup PresentationPanel.cs 2019-11-30 10:46:05 -06:00
adelikat 2d65d2b66a Remove unused Lua/SyncTextBox 2019-11-30 10:12:33 -06:00
alyosha-tas ecc9899f92 O2Hawk: begin ppu work 2019-11-30 09:28:53 -05:00
YoshiRulz 230548cf35 Partially migrate MainMemoryLuaLibrary to ApiHawk delegation
`mainmemory.readbyterange` will now return partial data if the requested range
extends beyond the domain (invalid addresses are read as 0). Did not fix docs of
`mainmemory.readbyterange` which incorrectly claim the returned table uses the
memory addresses as keys i.e. addr..(addr+length) - it was and remains
0..length. `mainmemory.write_u8` will now check the specified domain's length
and not erroneously check the selected domain's length.
2019-11-30 23:33:54 +10:00
YoshiRulz b678e19041
Merge LuaMemoryBase into MainMemoryLuaLibrary 2019-11-30 23:33:46 +10:00
YoshiRulz 7d99071ac5 Migrate MemoryLuaLibrary to ApiHawk delegation
`memory.readbyterange` will now return partial data if the requested range
extends beyond the domain (invalid addresses are read as 0). Did not fix docs of
`memory.readbyterange` which incorrectly claim the returned table uses the
memory addresses as keys i.e. addr..(addr+length) - it was and remains
0..length. `memory.write_u8` will now check the specified domain's length and
not erroneously check the selected domain's length.
2019-11-30 23:32:09 +10:00
YoshiRulz b2676bce68 Copy LuaMemoryBase and merge copy into MemoryLuaLibrary 2019-11-30 23:32:09 +10:00
YoshiRulz 24c3f3a7f0 Merge MemApiBase into MemApi 2019-11-30 23:32:09 +10:00
YoshiRulz 1042f746f4 Migrate JoypadLuaLibrary to ApiHawk delegation
`joypad.getimmediate()` now returns float controls as well as bools
2019-11-30 23:32:09 +10:00
YoshiRulz f4a229888f Migrate UserDataLibrary to ApiHawk delegation 2019-11-30 23:32:09 +10:00
YoshiRulz 4a84e1a8a9
Migrate MovieLuaLibrary to ApiHawk delegation 2019-11-30 23:32:00 +10:00
YoshiRulz bd7dfbd487 Migrate MemorySavestateEmuLuaLibrary to ApiHawk delegation 2019-11-30 23:31:23 +10:00
YoshiRulz 8da543b1a5
Migrate EmulatorLuaLibrary to ApiHawk delegation
`emu.setrenderplanes(bool...)` now works when using BSNES or Genplus-gx
2019-11-30 23:31:18 +10:00
YoshiRulz e39e083c13
Migrate GameInfoLuaLibrary to ApiHawk delegation 2019-11-30 23:29:09 +10:00
YoshiRulz 0bea6032ab
Migrate SQLLuaLibrary to ApiHawk delegation 2019-11-30 23:27:14 +10:00
YoshiRulz 8ce403dab2
Mirror cleanup from 7aa170283 onto the C# APIs
also fixed VS' stupid comma placement and added a "using" in SqlLuaLibrary
2019-11-30 23:18:26 +10:00
adelikat 7aa170283e cleanup some lua files 2019-11-29 16:35:21 -06:00
adelikat 2a12cac9e5 InputRoll - implement shift+Up/Down logic to highlight rows 2019-11-29 16:12:23 -06:00
adelikat 99ca256087 Lua console - change Refresh toolbar icon tooltip from "Reload script" to "Refresh" to match the menu item (they do the same action but with different names) 2019-11-29 15:47:21 -06:00
adelikat 18bdaf2d99 Lua console - enable multi-select on open script dialog 2019-11-29 15:42:52 -06:00
adelikat 978277bd06 Lua console - When turning on lua scripts, first clear registered functions for that scripts (they would still exist if the script exited on its own), Don't close the registered functions dialog when a script is toggled and no registered functions are left 2019-11-29 15:32:12 -06:00
adelikat 1b264ad068 InputRoll - tweak right-click selection - only clear and select if not already selected 2019-11-29 15:21:20 -06:00
adelikat 49b8219f45 lua console - enable multiselect 2019-11-29 15:12:55 -06:00
adelikat 50cad2067f Lua - when removing registered functions, remove functions reigstered to a script of the same path (or the same thread) 2019-11-29 15:11:40 -06:00
adelikat f36d69e6b0 cleanup LuaFileList 2019-11-29 15:10:58 -06:00
adelikat d757b8e64f Refactor a lot of lua code to use a LuaFile object instead of a Lua object, and unify some luafile manipulation logic into methods 2019-11-29 15:02:40 -06:00
adelikat 679f691b46 Lua console - add Clear all registered function menu item to the log window context menu item too 2019-11-29 13:45:18 -06:00
adelikat c7c09c92a7 InputRoll - the designer doesn't seem to like auto-generating the GridLines property, so just set it true by default 2019-11-29 13:44:47 -06:00
adelikat 24cbf5e274 lua - a bit more cleanup 2019-11-29 13:14:30 -06:00
adelikat de2da910c2 Lua - simplify some logic 2019-11-29 12:47:50 -06:00
adelikat 84d9419637 LuaLibraryBase - a bit of cleanup 2019-11-29 12:40:14 -06:00
adelikat c9d34ca828 minor cleanup 2019-11-29 10:16:48 -06:00
adelikat ce2a7b1612 EmuLuaLibrary.Events - cleanup 2019-11-29 10:14:07 -06:00
adelikat a0ba2189af lua events library - remove N64 dynarec checks since we don't have the dynarec core anymore 2019-11-29 10:03:35 -06:00
adelikat 263a72f57d Lua console - remove bad user option (defaulted to true even) that clears all registered functions on toggle, toggle already clears all registered functions registered to the script. If there is some edge case there, we need to fix it, not clear registered funcitons that don't even belong to the given script 2019-11-29 09:58:07 -06:00
adelikat 7a95fa543d fix crash when toggling scripts while the registered fucntions list dialog is open 2019-11-29 09:55:36 -06:00
adelikat 4d4c32fffa O2 - fix settings title text (Odyssey not Vetrex) 2019-11-29 09:38:43 -06:00
adelikat 3a3a7e7462 Lua console - context menu item for Clear all registered functions 2019-11-29 09:36:18 -06:00
alyosha-tas ae18284520 O2Hawk: mainform stuff 2019-11-28 17:02:26 -05:00
Zinfidel ac2c42ef74 Correct tab size inconsistency 2019-11-27 21:46:49 -08:00
Zinfidel b3875e21ae Watch sorting - new algorithm that handles separators.
Also moved comparers from fields into a dictionary to make selection more concise.
2019-11-27 21:31:39 -08:00
adelikat 92b0505c41 Tastudio - fix stackoverflow exception when drag scrolling (this didn't happen in earlier versions and they didn't have this kind of hack, there might be a better way to do this, but this seemed to work) 2019-11-27 20:35:05 -06:00
adelikat 0def3828b9 Simplify ToolStripEx 2019-11-27 20:26:03 -06:00
adelikat 68797f18f7 Tastudio - fix crash when attempting to use right-click column autohold if the movie was loaded via autoload 2019-11-27 20:10:06 -06:00
adelikat a82f0d1ce7 lua console - hack to keep someone from remove a lua script on accident if the script is highlighted and they press delete in the auto-complete box 2019-11-27 20:00:01 -06:00
adelikat 6eb9fa9b51 movie importers - import the core header key on systems that we check for core when loading the movie 2019-11-26 20:10:34 -06:00
adelikat f0f8cd3171 cleanup Bk2Movie.HeaderApi.cs 2019-11-26 20:04:12 -06:00
adelikat f926142921 cleanup OSDManager 2019-11-26 19:36:04 -06:00
adelikat 1b8b4b4926 Tastudio - rip out option to do autorestore on mouse up vs down, make it on up only, and fix autorestore logic 2019-11-26 18:54:46 -06:00
adelikat 223cef2620 Tastudio - cleanups 2019-11-26 18:50:56 -06:00