Commit Graph

14828 Commits

Author SHA1 Message Date
YoshiRulz b521897fab
Refactor AutofireConfig
much the same as the DisplayConfigLite and SoundConfig refactorings
2019-10-31 05:07:22 +10:00
YoshiRulz f11966b1de
Refactor SoundConfig
Everything is initialised in the constructor, I used object initialiser syntax
where possible, layout is done with FLPs instead of absolute positioning, and I
changed the text a little
2019-10-31 04:22:53 +10:00
YoshiRulz 223866b995
Refactor DisplayConfigLite
Functionally:
Fixed TabIndex (mostly by removing it), made the documentation link actually
visible, reordered the tabs, and changed some text.
In the code:
Did away with the designer's code style, moving declarations as close to their
init as possible.
To that end, most controls now use the object initialiser syntax, including
nested ControlCollections where possible (basically everything that isn't
assigned to a field).
The four TabPages and the more complex GroupBoxes are each constructed in a
helper method to make maintainance easier.
All event handlers are inlined as lambdas, the OK button's handler calls a
helper method to write out the config so it's easier to maintain.
Added some custom controls, and a float equality ext. method which I'm
definitely going to forget exists.
2019-10-31 03:50:48 +10:00
YoshiRulz 41caf0e616
Reduce "pause lag" on Paper Mario (#558) by using CopyColorToRDRAM = 1 2019-10-31 03:32:29 +10:00
YoshiRulz f8379d9fd4
Bump ReSharper analysis to C# 8.0 2019-10-31 03:30:00 +10:00
adelikat 2b7cb1bb7d BizHawk.Emulation.Common - cleanups -> C#6/7isms, fix some typos, variable naming, spaces to tabs 2019-10-29 13:59:08 -05:00
adelikat c78b6df363 remove Autohawk tool, this doesn't do anything and never caught on as an idea 2019-10-29 13:01:07 -05:00
adelikat abcda424dc fix a typo in a message box message, a few other cleanups in the vicinity 2019-10-29 12:50:28 -05:00
feos 0247a8f1a8
mame core wip (#1705)
* add MAME to OpenAdvanced
* make mame launch games
limited to arcades that only need rom name. other devices require machine name and rom name, and won't run. nor they are meant to be supported anyway: we have enough emulators that do the job better for particular devices.
dunno if direct disk access will be avoidable, there are quite some files it might want to load other than the rom (parent rom, bios, artwork). trapping all of these might be a future task.
it is also known that mame can load "romname.zip" file just as well as "romname" folder, which would represent an unarchived zip. I make use of it to send it zip name with extension. it's easy, and we're not obliged to recognize mere folder paths in the mame-advanced-loader logic.
* ability to run lua code inside mame
2019-10-29 18:37:27 +03:00
adelikat d65092e967 Misc cleanups in tool dialogs - mostly the use of expression body (C#6/C#7isms) 2019-10-29 09:27:56 -05:00
adelikat 0b965dffc5 misc cleanups 2019-10-29 08:23:45 -05:00
J.D. Purcell 1b548ed92d InputRoll horizontal: Improve look of column dragging. 2019-10-28 01:35:16 -04:00
J.D. Purcell 4d2f6e902e InputRoll horizontal! 2019-10-27 22:59:42 -04:00
J.D. Purcell 28c0586c8b InputRoll horizontal - WIP. 2019-10-27 21:00:52 -04:00
adelikat 5c674e5f8f Watch UI classes - some cleanups, mostly C#7isms 2019-10-27 18:02:06 -05:00
J.D. Purcell 90724bb777 Work on InputRoll horizontal mode a bit. 2019-10-27 17:55:53 -04:00
J.D. Purcell 9471f7ca03 Cleanups 2019-10-27 14:00:02 -04:00
adelikat 3e64051c7d Mainform - cleanups, remove unused code, typos, C#7isms 2019-10-27 11:42:17 -05:00
J.D. Purcell 69edada441 Set LangVersion to 8.0. Requires Visual Studio 2019 with 16.3+ update installed. 2019-10-27 12:14:19 -04:00
J.D. Purcell 3dfb0d39c8 AppVeyor test (C# 8.0?) 2019-10-27 12:05:13 -04:00
adelikat d9a160a9af Merge branch 'master' of https://github.com/TASVideos/BizHawk 2019-10-27 10:55:06 -05:00
adelikat 924618ee8f Set resharper language level to 7, add some emulator lingo to the resharper dictionary 2019-10-27 10:54:29 -05:00
J.D. Purcell 12c64dc40d InputRoll: Fix text clipping too early with GDI+ renderer. 2019-10-27 11:46:21 -04:00
adelikat 2fece04b5a set DeveloperBuild back to true 2019-10-27 10:35:29 -05:00
adelikat f579961823 marker control - no need to set Color.White, that is the default 2019-10-27 10:14:29 -05:00
adelikat cbace55d01 Tastudio - misc cleanups 2019-10-27 09:59:05 -05:00
adelikat aaee3cf48c Tastudio - fix splitter restore logic on restore defaults 2019-10-27 09:34:32 -05:00
adelikat 290cf4c4a4 InputRoll - attempt to cleanup drawing logic a bit 2019-10-27 09:18:14 -05:00
adelikat 5f021ca0e2 InputRoll - attempt to put some attributes on public properties. This is a control, public properties without attributes and/or documentation should be avoided 2019-10-26 18:35:12 -05:00
adelikat 9d87550c2a Cell - implement == and != overrides, this might fix some subtle problems in input roll 2019-10-26 17:22:49 -05:00
adelikat 6604e5dc17 InputRoll - cleanup and fix some typos 2019-10-26 17:16:15 -05:00
adelikat 0ce5046061 cleanup input roll column and cell classes 2019-10-26 17:06:42 -05:00
adelikat b54be19e9e InputRoll - reorg - put in its own folder, break out column and cell classes into separate files 2019-10-26 16:49:52 -05:00
adelikat 14ffd143d4 InputRoll - fix placement of rotated text 2019-10-26 16:25:42 -05:00
adelikat 5a17d20cf0 InputRoll - some more cleanup 2019-10-26 16:20:27 -05:00
adelikat af59d2fe6b InputRoll - misc cleanups 2019-10-26 16:04:27 -05:00
adelikat 179e71efee remove some now unused control extension methods 2019-10-26 16:01:21 -05:00
adelikat d592526c3c InputRoll - stop passing around unused paint event args 2019-10-26 15:47:43 -05:00
adelikat f7b2982dad Merge branch 'inputroll-rotatefix' 2019-10-26 15:37:47 -05:00
J.D. Purcell d2cf95e18f GdiPlusRenderer: Implement string rotation. 2019-10-26 16:31:21 -04:00
adelikat 772bd5b65e Remove blend option in IControlRenderer, true was always being passed for GDI, so just always do alpha blend in GDI 2019-10-26 15:22:47 -05:00
adelikat 4d576ea9da Hex Editor - improve performance a bit when there are highlighted or frozen addresses by not newing up brushes and pens on every draw 2019-10-26 15:08:54 -05:00
adelikat 064a78d7f3 inputroll - fix crash when resized to 0 2019-10-26 14:37:42 -05:00
adelikat e21e861e99 temp hack to force tastudio to draw the frame column rotated in horizontal orientation 2019-10-26 14:22:19 -05:00
adelikat f6b0fa1550 GdiRenderer - cleanup font caching logic and fix rotated text 2019-10-26 12:59:30 -05:00
adelikat e11f3e68e7
Merge pull request #1704 from TASVideos/GdipRenderer1
GdiPlusRenderer: Remove caches, implement Dispose
2019-10-26 12:45:16 -05:00
J.D. Purcell 4e2818222d GdiPlusRenderer: Remove caches, implement Dispose. 2019-10-26 13:40:20 -04:00
YoshiRulz 5e5f69f07e
Move _vBar/_hVar init out of ctor, init CellHeight to non-zero
CellHeight/_vBar/_hBar were being read *while the ctor was running* due to
unexplained Mono magic (and hence their values were 0/null/null, respectively)
2019-10-27 03:38:30 +10:00
adelikat 437c2f067a TAStudio - Consolidate the two restore defaults menu items. Restore splitter positions when restoring defaults 2019-10-26 11:40:04 -05:00
adelikat 9bbfb995b8 GDIPlusRenderer - put off rotate text, for now 2019-10-26 11:26:12 -05:00