Commit Graph

16278 Commits

Author SHA1 Message Date
zeromus 667a218c58 hook up melonds screen control stuff to settings 2020-03-31 18:30:08 -04:00
alyosha-tas 5f24392b41 GBHawk; more minor cleanups 2020-03-31 17:58:25 -04:00
alyosha-tas ea085255c1 GBHawk: minor optimizatiosn 2020-03-31 17:20:27 -04:00
alyosha-tas 96d4b17056 GBHawk: bug fixes to for GBC 2020-03-31 12:35:03 -04:00
adelikat f408bcb2b7 more of the previous commit 2020-03-31 09:30:52 -05:00
adelikat 747501af52 nitpick previous commits - public properties not readonly fields 2020-03-31 09:17:53 -05:00
YoshiRulz 69aa909fc5
Revert previous fix which didn't work and set DisplayName properly
fixup e22c2ae11
2020-03-31 23:42:43 +10:00
YoshiRulz e22c2ae115
Fix ButtonSchema.DisplayName regression 2020-03-31 23:30:06 +10:00
YoshiRulz 9e5e8c2547
Seal PadSchemaControl subclasses 2020-03-31 21:45:27 +10:00
YoshiRulz 3decfa5019
Use inheritance instead of Type for PadSchema controls
* Rename ButtonSchema to PadSchemaControl, create ButtonSchema subclass, rename
AnalogSchema to AnalogStickSchema, and make PadSchemaControl abstract
* Replace switching on PadSchemaControl.Type (enum PadInputType) with type
checks
* Refactor and merge VirtualpadTool.CheckPads() into .CreatePads() (it was
easier than just using type checks in the old algorithm)
* Move members from PadSchemaControl to subtypes and cleanup
2020-03-31 21:40:36 +10:00
YoshiRulz 0ba7a5a7df
Rename axis-related types, members, and locals
I left a few methods where they had an equivalent *Bool*() for buttons, and also
left some in TAStudio that get serialised.
2020-03-31 17:29:55 +10:00
alyosha-tas 19b1d0fa18 GBHawk: bug fixes and ppu viewer working 2020-03-30 22:59:50 -04:00
alyosha-tas 68e69ff85b GBHawk: more bug fixes and loading games 2020-03-30 18:01:36 -04:00
zeromus 97beecc4c9 fix more mixups in bulk reading (fixes #1903) 2020-03-30 17:18:16 -04:00
YoshiRulz 905b18e429
Add helpers for getting selected radio button of group 2020-03-31 03:49:15 +10:00
YoshiRulz 6bf948a7b7
Extract GroupBoxExBase, add RadioButton tracking to GroupBoxExBase
The recent redesign of some config UIs used custom GroupBoxes and RadioButtons,
which was fine, but it also used FLPs liberally. RadioButtons can't
automatically uncheck their siblings if they're not direct siblings, i.e. both
are direct children of a GroupBox. Adding FLPs to GroupBoxes changed the tree,
introducing a bug.
2020-03-31 03:22:12 +10:00
zeromus c3389f14e1 fix bulkread mistakes (see #1903) 2020-03-30 05:21:07 -04:00
YoshiRulz 4237d09d22
Maybe fix off-by-one in 270deg layout 2020-03-30 12:35:28 +10:00
alyosha-tas 69409ff729 GBHawk: bug fixes 2020-03-29 22:30:19 -04:00
zeromus e45943c26a raw capability for DisplayManager handling the NDS screen layouts. someone else will have to hook up the configuration in "CreateCoreScreenControl()". Gap, rotation, and layouts all supported. You will see that other configurations with varying view sizes won't be hard either.
Note that this was actually not very difficult, compared to dealing with the client sizing logic, which was teetering on the brink of total collapse. I may have messed something up while trying to support it here (mainly related to emu-space and client-space padding). There were many assumptions that the core's videoProvider would remain sensible, which this "core screen control" system subverts. The padding and sizing was added after I designed the pipeline specifically for this, so the padding and sizing is not handling it very well. Nonetheless, I think it works.
2020-03-29 21:50:06 -04:00
zeromus 9bc0363a31 straighten out matrixsenses 2020-03-29 21:50:06 -04:00
zeromus 14404a211d fix degrees functions on MatrixStack and add a transform function 2020-03-29 21:50:06 -04:00
adelikat 2f287f5c3c virtualpads - a2600 - implement keyboard controller 2020-03-29 17:42:59 -05:00
adelikat b1911f32a3 virtual pads - fix atari 2600 booster grip button mapping, broken in recent refactors 2020-03-29 17:34:42 -05:00
adelikat 948f58bfae Lua console - remember splitter position 2020-03-29 17:22:22 -05:00
adelikat 58bcb38315 Lua Console - fix Path column sorting, and simplify sort logic 2020-03-29 17:13:03 -05:00
adelikat 729c0516ed some nitpick cleanups 2020-03-29 15:57:27 -05:00
adelikat 7c2802b4c3 DS - change to incrmeent/decrement view hotkeys instead of just one that increments 2020-03-29 14:41:42 -05:00
adelikat a58e7a17a6 DS - bottom screen only option (useful for games like NSMB where pipes can send you to the other screen) 2020-03-29 14:37:59 -05:00
adelikat 7fce38c497 nitpick cleanup 2020-03-29 12:56:37 -05:00
YoshiRulz e0e90a5f33
Reimplement ScreenArranger, refactor MelonDS.GetVideoBuffer 2020-03-30 03:50:49 +10:00
adelikat a574fab07f lua console - update script icons when an error occurrs that stops a script 2020-03-29 12:49:42 -05:00
adelikat a16973cbe9 remove unused and dubious string extension method 2020-03-29 12:38:13 -05:00
adelikat 9bc5d74c67 DS - add hotkey to toggle video screen options 2020-03-29 12:05:05 -05:00
alyosha-tas b039b1f823 GBHawk: start cleaning up errors 2020-03-29 12:15:08 -04:00
adelikat b9f6432ddf DS - wire up rotate options, screen logic doens't work yet 2020-03-29 11:07:18 -05:00
adelikat f15bf2e731 disable some movie menu items on the mainform when tastudio is open, like play and record movie. These jack up tastudio instantly, and there's no reason to be doing this stuff 2020-03-29 10:11:23 -05:00
alyosha-tas 29fded3025 GBHawk: add testing framework 2020-03-29 10:21:34 -04:00
alyosha-tas 73afca9c67 GBHawk: finish intergration functions 2020-03-29 10:10:13 -04:00
James Groom 8274c2c115
Add melonDS to WIP and slightly improve Linux build instructions
I'll get around to documenting Linux properly one day...
2020-03-29 15:08:17 +10:00
alyosha-tas 47704b94fd GBHawk: more integration work 2020-03-28 20:21:43 -04:00
adelikat a072879dca DS - fixes to dsm importer, add mnemonics for LidOpen and LidClose 2020-03-28 17:45:48 -05:00
adelikat cea0e80637 DS cross hair display script - account for movie playback 2020-03-28 17:27:51 -05:00
adelikat 6511632f15 add .dsm importer, doesn't import commands yet, need some examples, doesn't parse the TimeAtBoot value 2020-03-28 17:08:09 -05:00
adelikat d1032f38f8 DS - add a DS lua library with a touchScreenStart() method, add a cross hair stylus input display script 2020-03-28 15:43:31 -05:00
adelikat c008b57324 DS - some cleanup 2020-03-28 15:15:45 -05:00
adelikat 5f889e2568 DS - add screen gap option 2020-03-28 15:12:47 -05:00
adelikat a541b45231 DS - refactoring 2020-03-28 15:05:13 -05:00
adelikat 0aaf2b4151 DS - rethink ScreenArranger, fix side by side options 2020-03-28 14:48:24 -05:00
adelikat 730156b5db DS - wire up some screen setting options, the side by side ones don't work because screen arranger has a bug, and it is flawed, going to refactor all of this 2020-03-28 12:03:26 -05:00