adelikat
098cac3f60
a few misc cleanups
2019-12-31 11:44:50 -06:00
adelikat
b390c2829c
cleanup virtualpad code
2019-12-31 11:36:22 -06:00
adelikat
64ea9afee5
cleanups
2019-12-31 10:17:55 -06:00
alyosha-tas
ec03c6fa0f
Fix analog stick in virtual pad fixes #1612
2019-12-29 09:47:53 -05:00
feos
853af1c32a
another fix to missing "file on disk" domain
2019-12-28 15:21:05 +03:00
adelikat
5eee9a6004
misc tool cleanups
2019-12-22 16:42:56 -06:00
feos
0fe2205057
only mame .zip's should be filtered out
2019-12-23 00:29:33 +03:00
feos
47f77b42e9
forbid rom domain for mame
2019-12-23 00:12:43 +03:00
adelikat
0b57b4c5f6
cleanups
2019-12-22 13:58:00 -06:00
adelikat
7ac3e1f428
TraceLogger - use ToolFormBase, cleanups
2019-12-22 13:32:18 -06:00
adelikat
1c57622032
refactor UpdateCheatRelatedTools to be a ToolManager method
2019-12-22 13:32:18 -06:00
adelikat
68e45d6108
MovieZone - pass in some dependencies and use globals less
2019-12-22 13:32:18 -06:00
adelikat
0207575695
MovieZone - cleanups
2019-12-22 13:32:18 -06:00
adelikat
87cd264ed2
MacroInput - less global, cleanup
2019-12-22 13:32:18 -06:00
adelikat
897bc0572e
pass in dependencies to LuaAutocompleteInstaller
2019-12-22 13:32:18 -06:00
adelikat
e0bb050bd1
ToolBox - remove Globa usage
2019-12-22 13:32:18 -06:00
adelikat
5f3ed8a766
pass dependency into LuaRegisteredFucntionsList
2019-12-22 13:32:18 -06:00
adelikat
2403f38bcc
pass in LuaImp to LuaWinform, now the global usage is in the lua library, but baby steps
2019-12-22 13:32:18 -06:00
adelikat
b9c0d11c16
pass mainform to BreakpointControl
2019-12-22 13:32:18 -06:00
adelikat
640e4260cd
MultiDIskBundler - cleanup, pass dependencies to child controls
2019-12-22 13:32:18 -06:00
adelikat
3b60b08a11
inherit ToolFormBase for a few tools
2019-12-22 13:32:17 -06:00
adelikat
c20ae5b16c
cleanup BasicBot
2019-12-22 11:39:40 -06:00
adelikat
0e218f5d4a
hex editor - fix crash from previous commit, pass in dependencies to sub-forms
2019-12-22 11:26:55 -06:00
adelikat
a7ccc3fdef
cleanup
2019-12-22 11:13:59 -06:00
James Groom
78fcde9480
Merge branch 'master' into winhacksbgone
2019-12-22 17:01:10 +00:00
adelikat
1aa318d7e1
use ToolFormBase properties instead of globals
2019-12-22 10:57:06 -06:00
adelikat
c76dbbb977
rename ToolHelper.cs to ToolFormBase.cs since that is the name of the class
2019-12-22 10:57:06 -06:00
adelikat
77c04412d2
ToolManager - inject common things like config, mainform, and the tool manager itself to tools that inherit ToolFormBase
2019-12-22 10:57:06 -06:00
adelikat
f8ed9f49eb
slight cleanup
2019-12-22 10:57:06 -06:00
adelikat
bd48ee7130
Tastudio - use Owner not MainForm
2019-12-22 10:57:06 -06:00
adelikat
75fee8c4af
pass in docs dependency to LuaFunctionsForm
2019-12-22 10:57:06 -06:00
adelikat
eb6a2c3315
remove usages of Global to get to lua console, from lua console
2019-12-22 10:57:06 -06:00
adelikat
c6b6e7b6cb
pass Config into ToolManager
2019-12-22 10:57:05 -06:00
adelikat
e0cd66613f
remove ApiProvider from GlobalWin, and have ToolManager own it instead, keep a copy of IEmulator in ToolManager and reference that instead of Global.Emulator
2019-12-21 18:03:13 -06:00
adelikat
84a9dec7a8
ToolManager - some cleanups
2019-12-21 17:45:11 -06:00
adelikat
1e41dbf20d
LuaRegisteredFunctionsList - override Clear() so that needed clear logic can't be mistakenly not called. Fixes #1763
2019-12-21 17:16:16 -06:00
adelikat
b80b367831
refactor IMovie to expose the movie mode, and make extension methods that do IsPlaying type logic. This way there can be direct checks, and more variety of methods without cluttering the interface
2019-12-21 16:34:29 -06:00
adelikat
f5f22e78d8
Simplify on screen ram watch value positioining, and respect the anchor value setting
2019-12-21 15:36:37 -06:00
adelikat
a565f6f299
refactor message display option settings to be an object, and simplify the message config dialog
2019-12-21 14:11:49 -06:00
YoshiRulz
7cd29c0f54
Finish moving Win32 imports to BizHawk.Common, organise, and cleanup
2019-12-21 18:33:11 +10:00
YoshiRulz
7ea8fb185a
Congregate, organise, and cleanup some Win32 imports and their usages
2019-12-21 18:21:51 +10:00
adelikat
4461818d26
ToolManager - cleanups, and don't use GlobalWin.Tools
2019-12-17 13:45:55 -06:00
adelikat
6bddec01d6
cleanup
2019-12-17 12:01:43 -06:00
YoshiRulz
0fcb6cbaa7
ApiHawk refactoring and cleanup
...
MemApi.ReadByteRange now returns the requested number of bytes and not 1 extra,
MemApi.ReadByteRange now warns only once per call for addrs outside range,
MemApi.ReadByteRange now warns for negative addrs (once per call; previous
implementation passed negative addresses to PeekByte), MemApi.WriteByteRange now
warns only once per call for addrs outside range, MemApi.WriteByteRange now
warns for negative addrs (once per call; previous implementation passed negative
addresses to PokeByte)
2019-12-17 02:39:04 +10:00
YoshiRulz
0b43b35427
Migrate GuiLuaLibrary to ApiHawk delegation
...
Changed param clear of IGui.DrawNew from bool? to bool (default value remains
true), made IGui and GuiLuaLibrary inherit IDisposable, added
GetDefaultTextBackground to IGui, applied fix from 6b3071d8a
to
GuiApi.DrawString, replaced background box drawn by Lua API
gui.drawString/gui.drawText with what I think is a shadow (now matches
GuiApi.DrawString)
2019-12-16 16:54:06 +10:00
YoshiRulz
8f93a954e1
Move Lua hacks to Lua libs
...
Changed parameter of IInputMovie.SetRerecordCount to ulong to match internal
2019-12-16 15:04:35 +10:00
adelikat
ad8f321ea1
Add event.availableScopes(), fix LogWithSeparator, cleanup
2019-12-15 12:25:49 -06:00
YoshiRulz
05801dc2c5
Reduce LINQ usage in Lua subsystem
2019-12-16 04:08:22 +10:00
adelikat
b6df55bbf0
fix double new line in lua console.log()
2019-12-15 10:18:58 -06:00
adelikat
5d03062c4c
remove redundant console checks in console logging methods
2019-12-15 10:06:31 -06:00
adelikat
d2f21f84e3
another extension method for lua table creation
2019-12-15 09:46:39 -06:00
adelikat
7ebfd42229
Simplify some lua table creation with an extension method
2019-12-15 09:22:10 -06:00
adelikat
d955c468db
refactor LuaHelper into an extension method class, and some nitpick cleanups
2019-12-15 09:05:33 -06:00
YoshiRulz
e6cb74d314
Partially migrate EmuHawkLuaLibrary to ApiHawk delegation
2019-12-15 04:40:01 +10:00
YoshiRulz
f8dc18c1bd
Migrate SavestateLuaLibrary to ApiHawk delegation
...
includes backwards-compatible API change
2019-12-15 04:39:16 +10:00
YoshiRulz
cc8dffa769
Migrate InputLuaLibrary to ApiHawk delegation
2019-12-15 03:59:21 +10:00
YoshiRulz
104c17e77c
Prepare for EmuHawk-tied libraries to delegate to ApiHawk
...
Made ApiContainer inherit from APISubsetContainer, added
DelegatingLuaLibraryEmu, and reworked init logic in EmuLuaLibrary
2019-12-15 03:52:48 +10:00
adelikat
51df281d38
Tastudio - fix NRE when running a .tasproj through the normal movie system, making changes, then opening tastudio
2019-12-14 09:58:10 -06:00
adelikat
03dbcc3607
Tastudio - tweak follow cursor logic in horizontal orientation
2019-12-13 18:29:30 -06:00
adelikat
858aef59db
TAStudio - fix erroenous use of RefreshTasView when hiding/showing columns
2019-12-13 17:49:11 -06:00
adelikat
5e40305d1c
fix recent regression if auto-load is set, and default.tasproj is the most recent movie
2019-12-13 17:40:39 -06:00
adelikat
a77b7ce2fc
TAstudio - fix NRE that can happen from a sloppy right-click that causes a sloppy right-click context menu to open
2019-12-13 17:33:54 -06:00
adelikat
2c66e3043c
a bit more cleanup
2019-12-13 15:44:50 -06:00
adelikat
24d84f3f08
Tastudio - don't setup columns when loading a file, the file has the column settings
2019-12-11 11:43:05 -06:00
adelikat
515f409246
Tastudio - Make mainform hotkeys out of a bunch of built in hotkeys
2019-12-10 19:26:23 -06:00
YoshiRulz
f309c831b3
Move icons out of InitializeComponent
...
cc9ff8022
2019-12-11 06:58:53 +10:00
adelikat
f900a1ba69
Tastudio - fix another usage of ShortCut instead of ShortCutDisplayStr in the context menu
2019-12-10 14:28:48 -06:00
adelikat
a05fdfe18c
Tastudio - show binded hotkey in context menu for Clear/Insert/Delete/Clone instead of the hard-coded path. Also use ShortcutDisplayStr instead of ShortCut for Insert # Frames context menu item
2019-12-10 14:17:05 -06:00
adelikat
373979395d
Tastudio - reset branch and marker columns when switching movies
2019-12-08 14:46:58 -06:00
adelikat
35fdb5dbdd
Tastudio - Integrate branches with the statusbar slot icons
2019-12-08 13:53:36 -06:00
adelikat
fff85d917a
Fix typo
2019-12-08 13:41:52 -06:00
adelikat
8802d75527
Game Game.IsNullInstance a null-safe extension method, and a few other cleanups
2019-12-08 13:36:15 -06:00
adelikat
6ae1eac464
better handling of tastudio interaction with select slot, previous slot, and next slot functions
2019-12-08 13:01:55 -06:00
adelikat
1a88bfa93d
cleanup Nametable and PPU viewer code
2019-12-07 13:23:55 -06:00
adelikat
b33829c3a1
Hex Editor - don't draw address column on UpdateValues
2019-12-07 12:59:01 -06:00
adelikat
6107bc4553
TasMovie - rip out input caching attempt that wasn't even working
2019-12-07 12:21:42 -06:00
adelikat
f3b49648cc
Ram Search/Watch - refresh in UpdateValues with RowCount instead of Invalidate() now that RowCount has optimized redraw logic
2019-12-07 10:31:00 -06:00
adelikat
891df3512a
MarkerControl - do full refresh on restart
2019-12-07 10:31:00 -06:00
adelikat
21a0b65305
Tastudio - fix mouse up logic, only navigate if in bool painting mode
2019-12-06 21:19:35 -06:00
adelikat
70840c1b54
remove some unused code, and a few other misc cleanups
2019-12-06 19:22:54 -06:00
adelikat
f944cd65a7
Tastudio - LoadState() - properly dispose of IDisposables, avoid unnecessary .ToArray() call
2019-12-06 17:20:01 -06:00
adelikat
7ac720d931
Tastudio - use global references less in favor of internal properties
2019-12-06 17:14:27 -06:00
adelikat
0c3cb5b053
Tastudio - simplify PoitnCellChanged handler, lot's of if checks that were always true
2019-12-06 17:01:40 -06:00
adelikat
2b3a114e1e
Tastudio - fix improper invalidation caused by waiting until mouse up to invoke navigation
2019-12-06 15:19:34 -06:00
YoshiRulz
7f07949816
Migrate serialised images to separate files, removing duplicates
2019-12-07 05:24:24 +10:00
YoshiRulz
16136ae130
Rename file
2019-12-05 15:21:15 +10:00
adelikat
53c12ec9d9
Lua console - add newline on message to the console, better handling of attempting to load a script that already exists and has syntax errors
2019-12-03 20:42:44 -06:00
adelikat
56bacf3032
Lua Console - update dialog on Stop All Scripts
2019-12-03 20:19:37 -06:00
adelikat
aa94ddccd5
Tastudio - expand message column to fix text, similarly to branches
2019-12-03 20:10:00 -06:00
adelikat
1a6c1e7ebe
InputRoll - simplify
2019-12-03 20:05:32 -06:00
adelikat
eb63fa5a92
Tastudio - Branches - fix width calculation when expanding to fix user text
2019-12-03 20:03:10 -06:00
adelikat
c2b942d9a4
InputRoll - remove some vestigial code
2019-12-03 18:57:50 -06:00
adelikat
b230502228
Tastudio - cleanup
2019-12-03 18:44:01 -06:00
adelikat
6640146c0a
InputRoll - add a flag for whether the control can be toggled into HorizontalOrientation, and only enable it on tastudio
2019-12-02 20:29:29 -06:00
adelikat
d687babb41
TAStudio - expose Horizontal Orientation in non-developer builds
2019-12-02 20:23:14 -06:00
adelikat
79d06bcb4a
Fix LoadRamWatch logic, was always attempting to load it even when it was already loaded. Worse was that it was autoloading watch files anytime something interacted with it like the "add to ram watch" feature in ram search
2019-12-02 17:19:58 -06:00
adelikat
44621446b1
Ram Search - deselect watches when removing them with the delete key
2019-12-02 17:07:14 -06:00
feos
a5c3a4aee0
reorder lua console log context menus
2019-12-02 18:36:04 +03:00
adelikat
52db5ac848
cleanups
2019-12-01 18:05:20 -06:00
adelikat
2e4391cba3
Ram Search - fix shortcut key display of "Add to Ram Watch" showed Ctrl+R instead of Ctrl+W
2019-12-01 16:04:13 -06:00