Commit Graph

3866 Commits

Author SHA1 Message Date
YoshiRulz 0af5053366
Refactor ScreenSaver 2019-05-01 23:54:55 +10:00
YoshiRulz 1b5d78c57c
Replace PlatformLinkedLibSingleton.RunningOnUnix with CurrentOS 2019-05-01 23:36:59 +10:00
YoshiRulz bc461c955a
Remove #if WINDOWS in EmuHawk and common, using runtime check where applicable 2019-02-20 18:53:02 +10:00
Asnivor 05f39aa463
RamSearch: switch to PlatformAgnosticVirtualListView (#1464)
* RamSearch: switch to PlatformAgnosticVirtualListView

* PAVLV: null check on parent before attempting to draw border (mono is weird)

* RamSearch: work around buggy mono WinForms implementation to avoid the black-ramsearch-window-of-death
2019-01-29 20:53:10 +00:00
Asnivor 90bcef05de Remove winmm.dll periodic timer minimum resolution calls on linux 2019-01-28 14:27:22 +00:00
YoshiRulz daf6559316
Don't bother checking for Windows prereqs on Unix 2019-01-26 19:59:54 +10:00
James Groom 35f56b88f8
Merge branch 'master' into MoreUnixMonoCompatWork 2019-01-26 18:57:18 +10:00
YoshiRulz 95096d063e
Hopefully resolve merge conflict 2019-01-26 18:53:33 +10:00
James Groom 3d06c7c647
Add Vulkan renderer (unimplemented, clone of OpenGL) 2019-01-26 16:26:11 +10:00
Asnivor ed3f789c2a
Platform Agnostic VirtualListView (#10)
* EmuHawk: Start of a new VirtualListView impl. This could go either way :/

* EmuHawk: PAVirtualListView - finish consuming InputRoll code, tidy and remove un-needed things (lagframes, horizontal rotation etc)

* PlatformAgnosticVirtualListView: started hooking up TraceLogger and debugging

* PlatformAgnosticListView: Some more work

* PlatformAgnosticVirtualListView: more public customization properties, working column re-ordering, and much other stuff I forget..

* PlatformAgnosticVirtualListView: Some more public appearance properties and control border

* EmuHawk: TraceLogger added AutoScroll menu option

* PAVLV: Added column resize functionality
2019-01-25 21:18:29 +00:00
Asnivor ab6acb1065 SharpCompress: remove source and add .dll 2019-01-25 20:53:43 +00:00
Asnivor 76070cd89d OCD: Fix non-critial compiler warnings in my code 2019-01-25 15:45:15 +00:00
Asnivor e4b1567230
[WIP] TAStudio for Mono (and optionally Windows) (using GDI+) (#7)
* TAStudio: refactored ready for GDI+ implementaton

* TAStudio GDI+: Implement DrawColumnBg

* TAStudio GDI+: implement DrawColumnText

* TAStudio GDI+: implement DrawBg

* TAStudio GDI+: Implemented remaining rendering methods

* TAStudio GDI+: Mitigate mono divide-by-zero errors (CellHeight is 0 for a while during instantiation)

* TASstudio GDI+: forgot uncomment for performance enhancing fun

* TAStudio GDI+: Implement option to switch inputroll renderer (on windows). Stored in global config and requires TAStudio restart to take effect

* TAStudio GDI+: fix renderer selection submenu for linux

* TAStudio GDI+: Fix alpha channel == 0 problems in GDIP_DrawCellBG()

* TAStudio GDI+: Modify renderer menu name...

... ala https://github.com/Asnivor/BizHawk/pull/7#issuecomment-456166600

* InputRoll: GDI+ experiments with TextRenderer vs DrawString

* InputRoll GDI+: finish up appearance matching
2019-01-25 12:15:32 +00:00
feos 766de68e18 tastudio: don't tell about clipboard if it's empty 2019-01-23 17:24:42 +03:00
feos ce3e3d2ed3 lua docs: couple hints 2019-01-23 15:42:02 +03:00
Asnivor 40384b0103 ApiHawk: fixed incorrect case in GUIApi.cs (causing BizHawk not to build on case-intolerant linux) 2019-01-22 16:48:39 +00:00
Asnivor b4df4d5a37 EmuHawk (mono): Exclude experimental hex viewer from Toolbox 2019-01-22 16:36:59 +00:00
Asnivor 519e114721
Lua: enabled LuaConsole and fixed various linux-related path method issues (#8)
(the Lua VirtualListView is still not functional on mono yet though)
2019-01-22 12:09:35 +00:00
alyosha-tas a15e856390 Update link text to match link status 2019-01-20 09:30:08 -06:00
nattthebear 0114e39489 change all uses of -c:a libvo_aac to -c:a aac because the ffmpeg we're packaging now no longer supports the former 2019-01-20 09:20:52 -05:00
adelikat 5b26300e50
Merge pull request #1419 from upthorn/master
Extend APIHawk with a lua-like system of api libraries
2019-01-19 17:24:08 -06:00
alyosha-tas c4b3a7c3b8 TAStudio: Update window name when using saveas, Fixes #1444 2019-01-19 14:47:12 -06:00
alyosha-tas 6e1a19b5f8 TAStudio: Ask to override existing bk2 file when exporting 2019-01-19 14:02:45 -06:00
alyosha-tas 2bddf3663e TAStudio: Fix some bugs in new from menues 2019-01-19 13:30:42 -06:00
alyosha-tas 9696a75839
Merge pull request #1439 from TASVideos/subneshawkfixattempt
SubNESHawk
2019-01-19 09:48:43 -06:00
zeromus b164d8b31c implement user crop area as a negative padding
fixes #1453
2019-01-18 01:16:03 -05:00
zeromus e53d861db4 Revert "bad attempt at implementing user crop area" 2019-01-18 01:00:24 -05:00
zeromus 578bb546f3 bad attempt at implementing user crop area. need to do differently. needs to happen.. like... as soon as we get the video provider. 2019-01-18 01:00:07 -05:00
zeromus cecdff8293 config hookup for user crop area 2019-01-18 00:59:45 -05:00
Asnivor 64b9e506f4 EmuHawk: Terminate mono effectively when application closes 2019-01-18 00:48:47 +00:00
Asnivor eb2642d611 EmuHawk: Terminate mono effectively when application closes 2019-01-18 00:45:15 +00:00
Asnivor c7eb567840 EmuHawk: fixed initial displaymethod config stuff 2019-01-17 17:34:33 +00:00
James Groom e483c94498
Fix controllers from OpenTK (mostly)
* update reference version numbers and fix a null exception this causes (apparently something changes functionality-wise when the *.csproj references version 3.0.1.0 rather than the original 1.x.x.x (on windows at least) - which is interesting)
* Modified GTK_Gamepad to use OpenTK.Input.Gamepad
* use gamepad class if automap exists, otherwise use joystick class
* forgot GetFloats()
* fixed axis and hats - fixed GetFloats() so analog controls can be bound for cores that support it
* changed controller identifier from 'T' to 'J' (in the case of OpenTK.Input.Joystick) and 'X' (in the case of OpenTK.Input.GamePad). This means config defaults in most cases will work (where they worked before with directinput and xinput).
* fixed hat event detection when using OpenTK.Input.Joystick
* disabled forcing OpenTK controllers on windows
* unused variable cleanup
* testing changes
* another test
* other test
* revert previous tests
2019-01-18 01:08:13 +10:00
YoshiRulz aa05868d12
pull 2019-01-16 15:53:44 +10:00
YoshiRulz 2fe818c324
Wire up OTK_GamePad 2019-01-16 15:52:03 +10:00
Asnivor 5aaa914de5 EmuHawk (mono): fixed folder browser dialog exceptions - https://github.com/TASVideos/BizHawk/issues/1430 2019-01-16 03:54:43 +00:00
Asnivor ebd94a8ecd EmuHawk: (mono) fix multi-disk bundler by removing the managed Win32 shlwapi.dll calls - https://github.com/TASVideos/BizHawk/issues/1430 2019-01-16 03:04:35 +00:00
Asnivor f01f0fa786 EmuHawk: (mono) create Firmware folder if it doesnt exist when user clicks 'open firmware folder'. This mitigates the 'Folder open dialog crash' referenced in https://github.com/TASVideos/BizHawk/issues/1430 2019-01-15 17:16:17 +00:00
Asnivor 196d51da94 EmuHawk: Enabled OpenGL for mono (and disabled DirectX in the display config dialog). On linux this requires the 'nvidia-cg-toolkit' dependency (either through your package manager, or direct from https://developer.nvidia.com/cg-toolkit-download) 2019-01-15 13:32:26 +00:00
Asnivor 3aefa3c75f EmuHawk: Force OpenAL on mono/unix (sound now working) and fix sound options menu so that it opens without exception 2019-01-15 11:01:50 +00:00
upthorn 435d717f7b Merge branch 'master' of https://github.com/Upthorn/Bizhawk 2019-01-14 17:10:45 -08:00
Asnivor ccb9084ae5 EmuHawk: SharpCompress - limit signature check to zip and 7z (to avoid tar false positives) 2019-01-14 15:43:18 +00:00
Asnivor 73caa212c0 EmuHawk: SharpCompress implementation for Mono 2019-01-14 14:30:25 +00:00
alyosha-tas c5cfe9e412 SubNESHawk: Fix up FPS viewer 2019-01-12 10:41:50 -06:00
alyosha-tas 5256284ac6 SubNESHawk:
- Use NES settings for controllers / sync settings
- Clean up un-needed extra controller code
- Enable Menues
2019-01-12 09:32:01 -06:00
YoshiRulz 66964222ed
Extract GDIRenderer interface, rename implementation, refactor GdiGraphicsLock 2019-01-12 14:09:34 +10:00
YoshiRulz 632768d5f8
Disable menubar mnemonics on Unix 2019-01-12 01:32:33 +10:00
YoshiRulz 6af203cf77
Minor refactors, helper method in SingleInstanceController
Program.cs is now nicer than it was before #1380
2019-01-12 00:09:44 +10:00
Asnivor a3098f298e EmuHawk: Fix 'using' oops 2019-01-11 12:32:49 +00:00
Asnivor 42b5931c17 EmuHawk (mono): Mitigate problem due to Mono's WinForms implementation - https://github.com/mono/mono/issues/11070 2019-01-11 12:21:43 +00:00