Commit Graph

15683 Commits

Author SHA1 Message Date
YoshiRulz f4001f9313
Remove WinForms dependency from BizHawk.Client.Common (used in ApiHawk)
This was committed to master as 4d4496af0, but I can't be bothered rebasing this
branch right now.
2020-02-19 04:17:49 +10:00
YoshiRulz 56bba49c3b
Long-promised ApiHawk refactor
In the C# API, methods have been renamed, changed to properties, or made to
return interfaces instead of classes. Some parameters have different defaults.
Very little of the implementation has changed.
Lua API hasn't changed at all, but Comm/Input/SaveState libs are now in
Client.Common (and Comm now delegates to IComm).
2020-02-02 19:38:31 +10:00
adelikat 226c4b32ac Fix Movie.IsPlayingOrRecording() - fixes input dsiplay during record mode, as well as a lot of other things probably, partially addresses #1802, replay mode still broken and has been for a few releases now 2020-02-01 17:25:36 -06:00
adelikat b3cc55080f Ram Search - use SignExtendAsNeeded in more places, fixes #1819 2020-02-01 16:41:28 -06:00
adelikat 58ff3fa60d Tastudio - remember the "Bind Markers to input" settings as a tastudio setting 2020-02-01 16:21:38 -06:00
adelikat e7399a5e10 oops, add code lost in designer shenanigans 2020-02-01 15:47:49 -06:00
adelikat 67ec75f644 Basic Bot - don't display messages while botting, recalculate Start enable on max value change, add checkbox to wire to mainform's invisible emulation for faster botting (possibly) 2020-02-01 15:43:06 -06:00
adelikat 1836ad86b6 Basic bot - if bot is unable to run and a message box is shown, show a specific error as to why it can't, instead of a generic error 2020-02-01 15:02:32 -06:00
adelikat 285c251135 Basic Bot - default to >= operator for main value 2020-02-01 15:02:32 -06:00
adelikat 063e3b2a13 revert foreach loop in MemoryCallbackSystem - see #1823 2020-02-01 14:53:03 -06:00
feos e83f3717ad rebuild mgba without mgba-util/dllexports.h dep 2020-02-01 11:48:18 +03:00
YoshiRulz 593e1ef97d
Refactor external tool attributes 2020-02-01 01:54:23 +10:00
zeromus 3143c38b7d fix lua bit.arshift (fixes #1825) 2020-01-31 00:36:01 -05:00
alyosha-tas 8cb19ede1c MSXHawk: controller selection 2020-01-30 20:18:24 -05:00
YoshiRulz 1fdb7a6fe2
Allow external tools to have any namespace / class name if annotated
This change is more convenient at the cost of a little duplicate code in
ToolManager. The annotation is [ExternalToolEntryPointForm], and having no more
than one such class per assembly is enforced.
2020-01-30 23:41:52 +10:00
YoshiRulz eab44d2d94
Add hack to EmuApi, add WIP external tool AutoGenConfig 2020-01-30 22:41:50 +10:00
alyosha-tas f08013e312 msxHawk: optimiations 2020-01-29 16:37:00 -05:00
alyosha-tas ca4ff674ec Vectrex: duplicate audio channel 2020-01-29 16:32:08 -05:00
YoshiRulz 580fe04ad6
Resurrect DBMan as an external tool 2020-01-29 20:43:18 +10:00
YoshiRulz 92dfcbffd4
Fix typo 2020-01-29 20:14:45 +10:00
YoshiRulz 7950605676
Migrate HelloWorld to new csproj format and cleanup 2020-01-29 16:08:44 +10:00
YoshiRulz 2c74b1a693
Properly fix assembly loading issue, retarget BizHawk.Common again
temp fix was 9ffef2531
2020-01-29 00:23:10 +10:00
alyosha-tas 0c46a6908f MSXHawk: keyboard 2020-01-28 07:50:29 -05:00
YoshiRulz ce79ec83d7
Maybe fix CI 2020-01-28 13:27:58 +10:00
zeromus ae795e1f96 we have to use AnyCpu in order for winforms designer to work 2020-01-27 21:44:40 -05:00
Asnivor 09dc6ad7eb VectrexHawk: Update GameDB with everything from NOINTRO and TOSEC (including region and rom status) 2020-01-27 14:07:56 +00:00
adelikat 07239d6678 BasicBot - cleanup and simplifications 2020-01-26 13:48:15 -06:00
adelikat 3287a0c465 account for new name of PSX controller in controller config, delete standard controller image since we no longer have variable name controllers anyway, fixes #1814 2020-01-26 13:27:57 -06:00
adelikat 51b68bcdf5 fix controller config image for SMS 2020-01-26 13:18:17 -06:00
adelikat e6e1962b54
Convert SMS settings to use GenericCoreConfig (#1816)
* refactor Sms settings including naming conventions and fix a typo, breaks configs with SMS settings already saved

* convert SMS controller type setting to an enum

* convert SMS Region setting to an enum

* Move SMS display type setting to an enum

* convert sms settings to properties

* SMS - wire up generic core config to a settings menu item

* remove some SMS menu items that are redundant to generic settings config

* remove more SMS menu items that are now redundant to generic core config

* remove more redundant SMS settinsg including SMSGraphicsConfig dialog, add descriptions and display names to SMS settings objects
2020-01-26 12:56:54 -06:00
YoshiRulz 215de3c0c0
Make Roslyn Analyzers opt-in at compile-time (resolves #1813)
They are still run by the IDE at design-time. To opt-in, set the MSBuild
property MachineRunAnalyzersDuringBuild. From the command-line, you can do this
by adding `/p:MachineRunAnalyzersDuringBuild=true`.
2020-01-26 10:34:07 +10:00
alyosha-tas 551a7e2893 MSXHawk: cleanup and bug fixes 2020-01-25 19:10:48 -05:00
adelikat cce1fb6123 add default controls for vectrex 2020-01-25 15:47:29 -06:00
adelikat 9ffef2531d put BizHawk.Common back to framework for now, fixes Enum properties used in the PropertyGrid throwing exceptions about not being able to find System.ComponentModel 2020-01-25 15:37:27 -06:00
adelikat e9be088105 vectrex - hide settings tab since there are no settings 2020-01-25 15:13:03 -06:00
adelikat 3b5d0ab231 Virtualpad - Saturn - add previous and next buttons to console buttons, fixes #1703 2020-01-25 14:32:33 -06:00
adelikat 415dd5375b Virtualpad - use a reasonable size for the standard controller 2020-01-25 14:26:57 -06:00
adelikat 791498bb7e rename SatSchema.cs to SaturnSchema.cs 2020-01-25 14:22:04 -06:00
adelikat 1fa0882f8e nitpick some virtual pad schema class names 2020-01-25 14:21:36 -06:00
adelikat ecd6e7c199 misc cleanups in DiscoHawk 2020-01-25 13:43:59 -06:00
adelikat 45e0abe39d convert Config.cs from fields to properties 2020-01-25 12:35:33 -06:00
adelikat 90e1a89516 rename config variable to match type name 2020-01-25 11:44:58 -06:00
adelikat 6527b98476 TasSTateManager - at least consolidate the Global usage problem, until there's a solution to be found 2020-01-25 11:40:43 -06:00
adelikat 3ce88eaa3b pass config settings into TasSTateManager instead of using Global.Config, now TasMovie incorreclty uses Global.Config, but that's a step 2020-01-25 11:35:33 -06:00
adelikat 763d5870f2 move some lua console settings from config to console with ConfigPersist 2020-01-25 11:21:38 -06:00
adelikat 14b6efec57 PathEntry - some cleanups 2020-01-25 11:12:10 -06:00
adelikat 73ba93663a cleanup MessagePosition.cs 2020-01-25 11:07:35 -06:00
adelikat 323c0edcd9 rename config file to match class 2020-01-25 11:06:05 -06:00
adelikat ef13754f79 consistent variable naming in config.cs 2020-01-25 10:57:39 -06:00
YoshiRulz 24e6cc14f0
Enable SA1206 and fix noncompliance
"Declaration keywords should follow order"
2020-01-25 19:37:28 +10:00