Commit Graph

4525 Commits

Author SHA1 Message Date
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
YoshiRulz 69702327d3
Fix typos from merge 2019-12-23 03:06:04 +10: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 c162b2774d Mainform - a bit of 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 0ca53ccfcb SoundConfig - move some mainform usage to 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 81b2b8c888 remove unused method 2019-12-21 17:21:39 -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 d26cb7d272 small cleanup 2019-12-21 15:55:01 -06:00
adelikat 7cfbd1cead simplify onscreen message drawing logic, fix MessageConfig dialog result when Ok is pressed 2019-12-21 15:48:50 -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 f5929602ff rename MessageOption to MessagePosition 2019-12-21 15:28:16 -06:00
adelikat 433eff65ec OSDManager - simplify calculations for points for things like fps, frame counter, etc 2019-12-21 15:24:50 -06:00
adelikat 9ae977ae12 OSDManager - a simplification 2019-12-21 15:04:54 -06:00
adelikat 18fbd9af1c MessageConfig - don't use Global.Emulator 2019-12-21 14:58:33 -06:00
adelikat 6748d32830 Message config - fixes, make Anchor an enum instead of int 2019-12-21 14:50:20 -06:00
adelikat 8e030c47b6 MessageConfig - simplify - use Color pen overload and remove brush variable 2019-12-21 14:23:43 -06:00
adelikat 8a96f5f2e7 MessageConfig - use change event on numberics 2019-12-21 14:21:12 -06:00
adelikat e7160a7387 MessageConfig - pass in config dependency 2019-12-21 14:16:23 -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
adelikat b94a830f13 Message config refactor - fix some names, break off DefaultMessageOptions class into its own file 2019-12-21 13:22:22 -06:00
adelikat 98bfcabfe8 refactor Global.SystemInfo into an extension method class 2019-12-21 13:07:05 -06:00
adelikat c127d92296 PathConfig - remove unused hack 2019-12-21 12:51:51 -06:00
adelikat 5848cc5948 NESGraphicsConfig - remove some more global usage 2019-12-21 12:49:24 -06:00
adelikat bab3dbca98 cleanup PlatformChooser and don't use globals 2019-12-21 12:45:28 -06:00
adelikat 8ec8400ab2 Cleanup LogConsole 2019-12-21 12:41:13 -06:00
adelikat b65b9d64d7 DisplayManager cleanups 2019-12-21 12:33:45 -06:00
adelikat b93b4e449a simplify and cleanup GLManager 2019-12-21 12:03:21 -06:00
adelikat c42889ceef cleanup JumpLists.cs 2019-12-21 09:05:11 -06:00
adelikat e06799ce38 remove unused NameStateForm 2019-12-21 08:59:32 -06:00
adelikat 442ec14c76 cleanups in CoreFeatureAnalysis 2019-12-21 08:57:31 -06:00
YoshiRulz 7cd29c0f54
Finish moving Win32 imports to BizHawk.Common, organise, and cleanup 2019-12-21 18:33:11 +10:00
YoshiRulz 784c800ca2
Disable features using Win32 unless on Windows host
forms: GBAGPUView, GBGPUView, LogWindow, SNESGraphicsDebugger,
SynclessRecordingTools; features: A/V recording, logging to AWE(?)
2019-12-21 18:31:03 +10:00
YoshiRulz 580aa2eaf9
Refactoring and cleanup of dynamic lib loading
Also fixed error reporting in WindowsLLManager, and fixed bug in
MednaDisc.CheckLibrary
2019-12-21 18:22:58 +10:00
YoshiRulz 7ea8fb185a
Congregate, organise, and cleanup some Win32 imports and their usages 2019-12-21 18:21:51 +10:00
adelikat 7149b0ef65 rename FileLoader to MainForm.FileLoader to make it more obvious that it is a partial class of mainform 2019-12-20 11:27:34 -06:00
adelikat 88c937cd42 reduce global usage in FileLoader.cs 2019-12-20 11:25:26 -06:00
adelikat bc51ca4af0 MainForm - reduce global usage a bit more 2019-12-20 10:42:54 -06:00
adelikat c9c04032c7 MainForm cleanups 2019-12-20 10:40:13 -06:00
adelikat 24ed667c13 reduce global usage in MainForm more 2019-12-20 10:22:42 -06:00
adelikat bfb39e79d0 MainForm - setter for Config property 2019-12-20 10:08:20 -06:00
adelikat 8f6f8f72cb MainForm - more getter properties for globals 2019-12-20 10:07:08 -06:00
adelikat 62ab716a5d MainForm - convert some commonly used globals to properties that reference the global. A step twards the global not being there at all and mainform managing the passing of dependencies 2019-12-20 09:29:33 -06:00
adelikat 7ba8af1cb9 use AddOnScreenMessage method in other mainform files 2019-12-20 07:31:03 -06:00
adelikat f8fbc57780 cleanup 2019-12-20 07:31:03 -06:00
adelikat fb8ff37fe9 Mainform - use OnScreen method instead of GlobalWin.OSD references 2019-12-20 07:31:03 -06:00
adelikat 23f7274541 FileLoader - use Emulator not Global.Emulator 2019-12-20 07:31:03 -06:00
adelikat 4ac7e8e36a Rewind config - move osd messages to calling code 2019-12-20 07:31:03 -06:00
adelikat 06b11bba51 Simplify dialog result checks with an extension method 2019-12-20 07:31:03 -06:00
adelikat fd30ddc154 Message config - use OSD in mainform not config 2019-12-20 07:31:03 -06:00
adelikat aea444cea5 Controller config - simplify and remove use of GlobalWin.OSD 2019-12-20 07:31:02 -06: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
adelikat 5fe25d03ad Play/Reocrd movie dialogs - pass in mainform 2019-12-17 11:24:34 -06:00
adelikat 35ff30cc01 cleanup LogWindow 2019-12-17 11:19:34 -06:00
adelikat d780b1c898 move InputWidget to custom controls folder 2019-12-17 11:15:50 -06:00
adelikat b271ef4a89 MenuButton - nitpick cleanup 2019-12-17 11:15:50 -06:00
adelikat 5c12753217 cleanup FolderBrowserDialogEx 2019-12-17 11:15:50 -06:00
adelikat d3cb2a4fb3 cleanup MsgBox 2019-12-17 10:48:20 -06:00
adelikat 1bea591e31 GenericCoreConfig - use passed in mainform instead of global 2019-12-17 09:53:19 -06:00
adelikat 28305339f9 VideoWriterChooserForm - pass in dependencies 2019-12-17 09:50:38 -06:00
adelikat 6be6dbbce6 cleanup VideoWriterChooserForm 2019-12-17 09:46:03 -06:00
adelikat ede9a7b788 get rid of Global usage in N64VideoPluginConfig 2019-12-17 09:42:53 -06:00
adelikat 5dd226db94 remove a GlobalWin.Mainform usage 2019-12-16 19:58:06 -06:00
adelikat c5b1328f77 Sound config - pass in Config 2019-12-16 19:54:40 -06:00
adelikat aede4e7cda Profile Config - pass in dependencies 2019-12-16 19:51:12 -06:00
adelikat cf647ffd04 profile config cleanup 2019-12-16 19:45:03 -06:00
adelikat dc26b67446 path config - pass in config dependency 2019-12-16 19:42:42 -06:00
adelikat d15641da96 InputCompositeWidget - slight cleanup 2019-12-16 19:34:19 -06:00
adelikat 0d78318fa1 HotkeyConfig - pass in dependencies 2019-12-16 19:33:14 -06:00
adelikat 0fcaca681e rename GuiOptions to EmuHawkOptions to match class name 2019-12-16 19:27:00 -06:00
adelikat 8dbc6c7f6d EmuHawkOptions - pass in dependencies 2019-12-16 19:26:32 -06:00
adelikat 38d6667c18 GenericCoreConfig - cleanup 2019-12-16 19:16:18 -06:00
adelikat 3bf8029e67 FirmwaresConfig - cleanup 2019-12-16 19:08:03 -06:00
adelikat f9e65e2fa7 FileExtensionPreferences - pass in dependencies 2019-12-16 18:51:06 -06:00
adelikat 8ccbc0b81f DisplayConfig - pass in dependencies 2019-12-16 18:45:40 -06:00
adelikat 8fcd9bb2a5 rename DisplayConfigLite to DisplayConfig, it isn't very Lite anymore :) 2019-12-16 18:41:54 -06:00
adelikat 8eff248d96 cleanup DisplayConfigLite 2019-12-16 18:39:59 -06:00
adelikat 5e8a2a348a Delete unused DisplayConfig form 2019-12-16 18:37:23 -06:00
adelikat da6f358589 ControllerConfig - pass in dependencies 2019-12-16 18:36:31 -06:00
adelikat 583423b0d2 ControllerConfig - code cleanup 2019-12-16 18:27:58 -06:00
adelikat 7d961c34f1 Autofire Config - pass in dependencies 2019-12-16 18:22:41 -06:00
adelikat 88830fad4c code cleanup 2019-12-16 18:18:08 -06:00
adelikat de6979820d ZXS config dialogs - pass in dependencies 2019-12-16 18:14:21 -06:00
adelikat c722a1ef9f code cleanup in ZxSpectrum config dialogs 2019-12-16 18:03:26 -06:00
adelikat 7675e35d85 TI83 settings - pass in dependencies 2019-12-16 17:58:50 -06:00
adelikat 4a332c1fb0 SNES config dialogs - pass in dependencies 2019-12-16 17:53:54 -06:00