Commit Graph

2501 Commits

Author SHA1 Message Date
adelikat de2da910c2 Lua - simplify some logic 2019-11-29 12:47:50 -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 3a3a7e7462 Lua console - context menu item for Clear all registered functions 2019-11-29 09:36:18 -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 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 e1b91d13ab InputRoll - cleanups and simplifications 2019-11-26 15:55:07 -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 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 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 557c68862e InputRoll - make AllowRightClickSelect true by default 2019-11-26 09:42:14 -06:00
adelikat 64f32983f6 misc movie code cleanups 2019-11-25 08:37:11 -06:00
adelikat 6eef264f91 paste - only invalidate on the first different frame pasted, rather than the first selected frame 2019-11-24 19:14:49 -06:00
adelikat cb912bea58 Tastudio - when clearing, invalidate on the first non-empty input rather than first selected row 2019-11-24 17:53:27 -06:00
adelikat 5bbdf2a49e Tastudio.MenuItems - cleanup, fix potential NRE's surrounding clipboard access, fix off by one on clear menu item invalidation logic, fix not dispointing of a disposable dialog 2019-11-24 16:54:08 -06:00
adelikat 1f4a2274d3 TasMovie - more cleanup 2019-11-24 16:06:01 -06:00
adelikat 60487c6a96 don't use Guid.GetHashCode, this was a leftover from some old bad code 2019-11-24 15:53:33 -06:00
adelikat caced9c2a8 TasMovie - remove unused constructor params 2019-11-24 15:40:26 -06:00
adelikat 883fea9ec6 Add a font picker, fixes #952 2019-11-24 14:58:58 -06:00
adelikat 8bbc2c75d0 lua - tastudio.loadbranch - use the already existing (and better) load branch method 2019-11-24 14:41:03 -06:00
adelikat 2aaae85c36 InputRoll - use the built in Font property rather than a private variable. Make the default the natural control default, and set the main Tastudio InputRoll window to be arial 8 2019-11-24 14:38:05 -06:00
adelikat 4e9b780539 Lua - implement tastudio.loadbranch #fixes #1650 2019-11-24 13:55:46 -06:00
adelikat 74e1f97ebb cleanups in BookmarksBranchesBox 2019-11-24 13:00:03 -06:00
adelikat a3428128ef EmuLuaLibrary.Tastudio - organize methods some 2019-11-24 12:56:57 -06:00
adelikat 6972046509 EmuLuaLibrary.Tastudio clenaup 2019-11-24 09:37:32 -06:00
adelikat b4c4c3b870 .tasproj - use json to save/load statemanager settings. This is a breaking format change, earlier .tasproj will load and silently fallback to default settings 2019-11-23 21:43:23 -06:00
feos 5ca08b6c29
Camhack support (#1725)
for the camhack to work we have to save a state, hack memory, advance twice to see the changes, then load the state to prevent desync. since we can omit the framebuffer in savestates, loading them can happen without updating the screen, so the hacked camera remains visible.

advancing 2 frames automatically is done like tastudio does it when it seeks to a frame, only from lua now.

and the most questionable part is "invisible emulation", which is how Gens calls this IIRC, when everything that can distract or slow us down is skipped: sound, video, tools updates.

new lua functions:
- client.invisibleemulation()
- client.seekframe()

* for a test, mGBA core uses fake video and audio buffers and renders to them when we want to "skip" rendering. proper setup would involve actually skipping rendering those inside the core.
* allow disabling video and audio updates for gpgx too (proper approach, no fake buffers involved)
* add the script for Sonic Advance
2019-11-23 12:27:14 +03:00
adelikat 825f10d52c Lua console - simplify some 2019-11-22 18:54:52 -06:00
feos d15dc56e15 address #1631 for gambatte 2019-11-20 21:25:55 +03:00
feos 4e389ab1ec address #1631 for subneshawk 2019-11-20 21:10:21 +03:00
feos b70c49892c omit autosaving if we have the default project name
close #1599
2019-11-20 20:04:03 +03:00
alyosha-tas 2fbf3c3b19 O2Hawk: system management work 2019-11-18 22:17:29 -05:00
alyosha-tas 61038a13ae O2Hawk: Expose Core and start running code 2019-11-18 17:33:55 -05:00
adelikat 23f283aef8 create file watch on new script 2019-11-17 13:04:09 -06:00