Commit Graph

15069 Commits

Author SHA1 Message Date
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
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
adelikat 943454554d Tastudio - don't update bookmark view on UpdateValues() 2019-11-26 17:34:50 -06:00
adelikat ed395ca656 a few cleanups 2019-11-26 16:57:01 -06:00
adelikat 3ddf96563a InputRoll - a bit more precise background drawing, might help peformance a bit 2019-11-26 16:14:32 -06:00
adelikat e1b91d13ab InputRoll - cleanups and simplifications 2019-11-26 15:55:07 -06:00
adelikat e1f2147e65 InputRoll - turn some public properties into private variables 2019-11-26 15:37:17 -06:00
adelikat 24a0bdbbed Tastudio/InputRoll - improve performance in UpdateValues some 2019-11-26 14:37:49 -06:00
adelikat 1e53d8221f tastudio - set branches and marker views to the same font as the main inputroll 2019-11-26 14:24:31 -06:00
adelikat ea6b67ac39 cleanups in Bookmarks and Marker Controls 2019-11-26 14:10:54 -06:00
adelikat 9a54a461b5 don't redraw twice on Branches and Markers UpdateValues() 2019-11-26 13:34:24 -06:00
adelikat 31114e6abf FastUpdate - do nothing, super speed up for shift+tab. UpdateValues - remove unnecessary Draw 2019-11-26 13:16:32 -06:00
adelikat fed8cd335d fix a few designer files I missed when refactoring default values 2019-11-26 13:11:24 -06:00
adelikat 47273f1278 Tastudio - fix FastUpdate being slower than Update, it seems to need the same logic but just forgot all the logic, let's ensure it doesn't forget 2019-11-26 13:03:28 -06:00
adelikat 69e5a3b088 Tastudio - fix major slowdown when moving the mouse over the InputRoll 2019-11-26 12:58:04 -06:00
adelikat d2a9f51510 Remove a few more hardcoded values in InputRoll constructor 2019-11-26 12:53:10 -06:00
adelikat 22fdbd08d0 InputRoll - don't hardcode padding variables in the constructor 2019-11-26 12:51:36 -06:00
adelikat bab5877d1a InputRoll - don't hardcode GrideLines to true 2019-11-26 12:44:31 -06:00
adelikat 56b33498d9 InputRoll - rip out the UseCustomBackGround flag, and only key off the existence of the override. Seems to be a speed hack, but the only attempt to make it faster (in ram watch) was actually making things slower 2019-11-26 12:33:39 -06:00
adelikat a45b33b8c6 move arrow key hack from tastudio to inputroll so it applies to all inputrolls 2019-11-26 12:07:00 -06:00
adelikat fab108c73a Ram watch - remove some useless overrides 2019-11-26 11:51:57 -06:00
adelikat cd672da319 a few inputroll/tastudio cleanups 2019-11-26 11:36:55 -06:00
adelikat a17584a319 InputRoll - fix behavior of up/down arrow keys 2019-11-26 11:27:55 -06:00
adelikat 44a2565f5c InputRoll - refactor MouseDown hack that checks if emulator is paused, better is to recalculate the pointed cell, anytime it may have changed 2019-11-26 11:19:34 -06:00
adelikat e73e61c5cc InputRoll - fix page up/page down logic 2019-11-26 10:28:32 -06:00
adelikat 9b93c557b8 InputRoll - don't hardcode disabling of Home and End, make it a flag instead (true by default, false for tastudio's inputroll), also fix home/end to be expected listview behavior and delete ctrl+home, ctrl+end those aren't expected behaviors 2019-11-26 10:09:24 -06:00
adelikat fe89df140c InputRoll - when AllowRightClickSelect is true, existing selected rows should be cleared in addition to selecting the right-clicked one 2019-11-26 09:50:19 -06:00
adelikat 6d9dfa8956 InputRoll - misc cleanups 2019-11-26 09:48:26 -06:00
adelikat 557c68862e InputRoll - make AllowRightClickSelect true by default 2019-11-26 09:42:14 -06:00