Commit Graph

15620 Commits

Author SHA1 Message Date
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 5002968bd7 cleanup SystemInfo 2019-12-21 13:00:33 -06:00
adelikat 8ac53f51c0 move bkm files to the import folder now that they are only used for import 2019-12-21 12:55:57 -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
alyosha-tas b5090b5a63 O2Hawk: bug fixes
and a2600 db update
2019-12-21 12:49:28 -05: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 f934b059c8 fix a few potential NRE's in Global.cs 2019-12-20 10:24:54 -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