Commit Graph

73 Commits

Author SHA1 Message Date
adelikat 82bda9006a Cheats dialog - never ask to save changes, the cheat system is independent of the dialog and makes intelligent decisions already, no need to annoy the user 2015-01-27 00:44:13 +00:00
adelikat e1811371e4 Cheats - only allow writable domains in the domains dropdown 2015-01-25 16:20:53 +00:00
adelikat 7b87f666a1 MemoryDomains - rename CheatDomain to SystemBus 2015-01-24 15:49:02 +00:00
adelikat 515a41592c Convert a whole bunch of ram stuff from int to long 2015-01-18 18:59:23 +00:00
adelikat 6507fa5d92 Hex Editor - convert addresses from int to long, fixes Go to address on 32bit domains, highlighting on addresses after 7FFFFFFF is still busted though 2015-01-18 18:01:27 +00:00
adelikat fbdb29b64c refactor IMemorydomains to be a domain list instead of having a domain property, refactor cores to register an IMemoryDomains instead of being one 2015-01-14 21:55:48 +00:00
adelikat d4155081d2 Cheat dialog - cheat editor - fix bug where it was using main memory to make size decisions 2015-01-13 01:51:02 +00:00
adelikat c1cbad1b30 rename MemoryDomain.SystemBus to MemoryDomain.CheatDomain to better describe its intent 2015-01-12 23:54:16 +00:00
adelikat 6fad387840 Cheats - don't start a new list on Restart(), the mainform manages the cheat list, the cheat dialog is merely a UI for that list 2015-01-02 20:33:30 +00:00
adelikat 31823693ae Cheats, Ram Watch - Fix bugs in column hide/show in new system 2015-01-01 01:21:06 +00:00
adelikat 399cbb9116 Cheats - remove the dependency on an IEmulator service by moving some logic to ToolManager (not good logic, will be obsoleted eventually) 2015-01-01 00:11:39 +00:00
adelikat dba923d8b9 Cheats - auto-generate the Columns submenu instead of boilerplate 2014-12-31 23:48:39 +00:00
adelikat ace8192c8a Cheats dialog - refactor and simplify how column info is saved and loaded 2014-12-31 23:28:50 +00:00
adelikat d809da1e8d Cheats dialog - convert to using ConfigPersist, and simplify some code 2014-12-31 22:16:22 +00:00
jdpurcell 30d3b02a7f Auto scaling: All forms should have AutoScaleMode set to Font.
Auto scaling: All user controls should have AutoScaleMode set to Inherit (i.e. they inherit their containing form's AutoScaleMode, in this case Font). Explicitly setting an AutoScaleMode on user controls causes problems with child controls anchored to the bottom and/or right.
Remove explicitly set font in GenGameGenie form. Fonts set on the form/user control level cause problems with auto scaling.
Fix text box anchoring in DualGBFileSelector control.
2014-12-28 21:19:34 +00:00
goyuken ea47246658 remove the IEmulator inheritance from some services, and fix code as needed 2014-12-15 22:25:06 +00:00
goyuken 7b580e7dca tim the tool form taylor 2014-12-15 03:19:23 +00:00
adelikat 0b51a88a7d Cheat Editor - don't reference Global.Emulator 2014-12-14 02:03:27 +00:00
adelikat 94bd987a73 Convert Cheats to EmuatorServices 2014-12-13 22:57:51 +00:00
adelikat 6e875625cd CheatEdit - fix a logical error 2014-12-13 22:33:46 +00:00
scepheo 769cbeb1a0 - IToolForm: Added RequiredServices attribute to define dependencies, and added EmulatorServices for ToolManager to supply them.
- IServiceProvider, BasicServiceProvider: Added compile-time unknown type versions of GetService and HasService.
- ToolManager: Added IsAvailable to test whether all dependencies for a tool are available.
2014-12-13 21:54:59 +00:00
adelikat e6e2972e3d Make IMemoryDomains inherit IEmulator and simplify some code slightly as a result 2014-11-23 16:03:04 +00:00
adelikat 1693a2a1ed Cheats dialog - default to System Bus domain 2014-09-13 14:21:08 +00:00
adelikat 5ba74c631c Remove MemoryDomains from IEmulator into a new Interface, IMemoryDomains, Add this interface to existing cores, except null emulator (and removed memory domain related code from it). Refactored EmuHawk for ram tools to use an instance of IMemoryDomains rather than IEmulator, don't expose ram tools unless the core implements IMemoryDomains. Still a few misc todos, and probably some cleanup 2014-09-01 18:43:41 +00:00
kylelyk 321c8c64bf Added documentation to IControlMainForm, renamed a few variables, moved IControlMainForm related code in MainForm to the same region. 2014-08-19 19:24:17 +00:00
adelikat 726122e579 remove a toolhelper method that wasn't adding much value 2014-07-28 02:15:21 +00:00
adelikat c988466942 Convert some more toolhelper methods to extensions 2014-07-28 02:10:31 +00:00
adelikat ce4ce0bacc Convert some static methods in ToolHelpers to extension methods 2014-07-28 01:51:11 +00:00
adelikat b0b057ef2c When opening the hex editor from another dialog, open it in the same byte size 2014-07-28 01:24:57 +00:00
adelikat 570f77cc68 Implement FastUpdate() on IToolForm. The intent here is for tools to do the minimum amount necessary when updating. This allows them to avoid slow things like drawing, but do critical activities such as Ram tools incrementing change counters, and loggers can continue logging. When Turboing, instead of bypassing tool updates, the client will run the fast update instead. Note: a few tools still need to be thought out as to what they need to do in a fast update 2014-07-25 01:55:21 +00:00
adelikat bfb541a5a9 Move InputValidate and StringHelpers to BizHawk.Common 2014-07-03 14:51:03 +00:00
adelikat 70fbbd5817 Similar fixups to Ram Search and Cheats 2014-06-20 18:09:53 +00:00
adelikat 58e5599f2f Rollback 6918 since it doesn't work either, and do a fix to Cheats column saving/loading. Neither dialog currently work however 2014-06-20 17:41:40 +00:00
adelikat 8f2746ab86 Change "Interim Build" to "Developer Build" and rename flag variable name, as this is more accurate to the intent of this type of build (unofficial interim builds still shouldn't have developer features or unfinished developer work) 2014-06-04 17:02:54 +00:00
adelikat b378cd13e4 Cheats - address issue 148, instead of throwing an exception when attempting to add an out of range address, present an error message. One odd side effect is that it will add a separator instead, but I think that's acceptable for now. 2014-03-23 15:58:44 +00:00
adelikat 8b6bf3fc89 A hackish workaround to make Select All faster in the Cheat Dialog 2014-03-23 14:10:35 +00:00
adelikat 5849d2d80d make the Select All feature built right into VirtualListView instead of writing the same code over and over in the tool dialogs, also make said code faster on large lists 2014-02-15 19:15:04 +00:00
adelikat 5f5677781b Cheats dialog - Floating window option 2014-01-30 15:51:07 +00:00
adelikat 309626b8c8 lock down NES Sound config settings on quicknes, show Game Genie button on cheats dialog for it, do Toolbox logic 2014-01-07 01:12:48 +00:00
adelikat aa93d8f04e Cheats - do AskSave() in Restart() 2014-01-01 15:56:47 +00:00
adelikat f9a847728c Cheats - fix bug where when editing a cheat, changing the address or domain was causing it to insert not update 2014-01-01 15:50:33 +00:00
adelikat a3a8170c44 Check Global.Config.SupressAskSave in ToolManager instead of doing it in the tool dialogs themselves 2014-01-01 02:09:03 +00:00
adelikat 3784256e56 Cheats form - some more code refactoring/cleanup 2014-01-01 02:02:23 +00:00
adelikat a7bf93a85c Cheats - remove duplicate button and menu item, since duplicates aren't allowed. And some minor code cleanup while I'm at it 2014-01-01 00:07:24 +00:00
adelikat 70078b24f2 Remove the hacky Cheats_Restart() method and move the logic into the Restart method of ToolManager, also move over the generateDefaultCheatName to that object and make it static 2013-12-23 03:07:06 +00:00
adelikat 05e2f67771 Move some tool loading logic from mainform to toolmanager 2013-12-22 23:34:22 +00:00
adelikat 7acc64c37e Add Geneis Game Genie to toolbox, and re-enable the feature but INTERIM flag it 2013-12-22 20:38:36 +00:00
adelikat 2448ad0dda Wire up the Genesis Game Genie Encoder/Decoder to the GPGX core, but disable it since it doesn't seem to work right now 2013-12-22 20:25:43 +00:00
adelikat 6d741f4bfc Cheats - add "View in Hex Editor" to the context menu 2013-12-21 15:01:12 +00:00
adelikat b3946082a7 Some code refactoring, mostly in an attempt to pick away at the beast that is Mainform.cs 2013-11-27 23:35:32 +00:00