Commit Graph

343 Commits

Author SHA1 Message Date
James Groom 35f56b88f8
Merge branch 'master' into MoreUnixMonoCompatWork 2019-01-26 18:57:18 +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 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
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
upthorn 435d717f7b Merge branch 'master' of https://github.com/Upthorn/Bizhawk 2019-01-14 17:10:45 -08:00
YoshiRulz 66964222ed
Extract GDIRenderer interface, rename implementation, refactor GdiGraphicsLock 2019-01-12 14:09:34 +10:00
Asnivor 39afe3eb73 EmuHawk: Wire up CurrentDomain_AssemblyResolve for mono (so DLLs not in the executing directory can be found without having to copy to local - ie Nlua.dll & KopiLua.dll) 2019-01-11 11:03:06 +00:00
Asnivor b55db67581 EmuHawk (mono): Toolbox now opens without throwing an exception. NLua.dll and KopiLua.dll copied to output directory means that mono can successfully reference NLua.dll 2019-01-10 18:13:38 +00:00
zeromus 303e9df26e rejigger PlatformLinkedLibSingleton so it can be used embedded in the EXE without requiring a dependency on dlls, so it can boot when dlls are relocated 2019-01-04 17:42:12 -05:00
upthorn 9d853d200d Remove vestigial hard-coded Ecco 2 tool 2019-01-04 13:57:34 -08:00
upthorn 71215adf0d Merge branch 'master' of https://github.com/TASVideos/BizHawk 2019-01-04 04:58:58 -08:00
James Groom 42764f0019 Add preliminary Unix compatibility (using Mono; resolves #1384) (#1380)
* Move PlatformSpecificLinkedLibs and implementations to common and rename
* Specify file ext. at LoadPlatformSpecific call site
* Move Client.Common.Global.RunningOnUnix to PlatformLinkedLibSingleton
* Inline var Resolver
* Use PlatformLinkedLibManager internally
* Move plugin load check to LinkedLibManager, use LinkedLibManager
* Interpolate
* Return exit code from dlclose/FreeLibrary
* Skip all calls to externs in BlipBufDll when using mono
* Use PlatformLinkedLibManager in SevenZipLibraryManager
* Add expected return value to workaround (from testing on Win32)
* Remove ".dll" from DllImport attr, remove temporary workaround, see desc.
The library can be built by changing the output file name in
`.../blip_buf/Makefile` to `libblip_buf.so`, and running `make`. It will be
loaded if placed in the `.../output` folder.
* Remove unused code, add TODO (this class is req. for Waterbox.PeWrapper)
The TODO is to [rewrite with
C#](https://docs.microsoft.com/en-us/dotnet/standard/io/memory-mapped-files)
instead of importing from `kernel32.dll`.
* Update OpenTK again but better (for #1384)
* Add Mono run script
* Add libblip_buf.so (temporary)
Temporary because it should be a separate package which BizHawk depends on.
* Add distro detection, add "already running" and "unknown distro" messages
* Gray-out Lua Console on Unix
* Extract superclass from EmuLuaLibrary, add shell implementation for Unix
* Specify libdl version, Fedora doesn't have the versionless symlink
* Remove empty `ToolStripMenuItem`, null `Text` caused crash on Unix
* Transform OpenTK keyboard input into a `List<KeyEvent>` and read that
Also fixes crash on rebind
* Remove debug `using ...;`
2019-01-04 01:50:55 +03:00
upthorn bc4330a9d1 External tools no longer crash on loading new ROM 2019-01-03 05:53:26 -08:00
upthorn aba1da071d Completely refactored PluginAPI to extend ApiHawk. Ecco2AssistantPlugin is now an external tool. 2018-12-22 10:40:30 -08:00
upthorn 05f9939ddf Merge branch 'master' into PluginDev 2018-12-06 12:29:58 -08:00
James Groom ca021d96cc Allow bizhawk to be built and run w/ MSBuild and Wine+Mono on GNU+Linux (#1237)
- Update to latest OpenTK, add input code from `mono-stable` branch
(kudos), and fix bugs arisen from version differences
- Move some functionality into Win-specific classes and add Wine+Mono
implementation where simple
- Add conditions to main loop so some things only run on Windows
2018-11-04 20:05:20 +03:00
Asnivor 2565f49c89
Merge branch 'AmstradCPC' into master 2018-09-19 14:56:41 +01:00
Asnivor 92f187fce1 RAMWatch: Enhancements (#1315)
fix #1257
2018-09-14 08:28:38 +03:00
upthorn 6eed08f965 An example plugin. Hard-coded for now. 2018-09-03 19:31:43 -07:00
upthorn bb020540eb Remove extraneous non-existent file/folders from project. 2018-08-31 21:26:38 -07:00
upthorn cdb205e696 Initial API Work 2018-08-31 21:21:34 -07:00
Asnivor ac0aae4afb CPCHawk: UI menus 2018-07-18 13:53:08 +01:00
Asnivor 13a9c5bdc4 ZXHawk: Added POKE memory menu option 2018-06-12 10:16:43 +01:00
Asnivor 752bd0e35b ZXHawk: Audio settings menu implimenting volume controls for AY, tape and buzzer 2018-03-21 12:47:10 +00:00
Asnivor e2eac983a1
Merge pull request #1149 from TASVideos/master
Bringing ZXSpectrum branch up to date with master
2018-03-19 15:52:55 +00:00
Asnivor a0e2695811 UI - Added last non-sync settings menu 2018-03-16 15:12:55 +00:00
Asnivor 0ac17f2d1e UI - added Core Emulation Settings menu 2018-03-16 14:33:18 +00:00
Asnivor 7c9c39417b UI - added joystick settings menu 2018-03-16 11:58:02 +00:00
zeromus b179a30d99 Merge remote-tracking branch 'remotes/origin/pr/1080'
# Conflicts:
#	BizHawk.Client.EmuHawk/BizHawk.Client.EmuHawk.csproj

merges PR #1080
closes PR #1080
(let's see if either of these can do it)
2018-03-13 16:33:53 -04:00
Asnivor 3cc4b94406 Added default control bindings and prettified the controller configuration panels 2018-03-06 11:17:30 +00:00
frequem 71ba3024b7 Fixed linux build 2018-02-21 20:19:33 -05:00
Ashafix 4d063f6061 new library for communicating with other programs via Lua 2017-12-24 00:24:22 +01:00
Asnivor 6d22b06c21 Added virtual pad to UI 2017-12-04 14:05:04 +00:00
Tastyfish e780e74f45 A frontend for the GB printer 2017-08-29 18:16:02 -04:00
alyosha-tas aacb400da2 Update BizHawk.Client.EmuHawk.csproj 2017-08-29 10:51:47 -04:00
adelikat cd5f6e66e1 Atari 7800 - sort out system id stuff 2017-08-04 17:17:14 -05:00
alyosha-tas 0d0e8540d4 Update BizHawk.Client.EmuHawk.csproj 2017-07-31 12:41:45 -04:00
alyosha-tas ec8cfa9f86 Update BizHawk.Client.EmuHawk.csproj 2017-07-31 12:21:00 -04:00
alyosha-tas fa55166059 Update BizHawk.Client.EmuHawk.csproj 2017-07-31 12:08:52 -04:00
adelikat 3f16f8bd79 pc-fx - virtualpads 2017-07-14 14:21:50 -05:00
zeromus d271fe6542 Merge pull request #885 from Trivial-Man/master
Create LuaPictureBox class and implement it
2017-07-14 12:21:54 -05:00
Ashafix e2e278eea9 added command line arguments parser 2017-07-14 13:04:43 +02:00
zeromus af7a2d8b4a forgot to commit 2017-07-14 01:02:15 -05:00
Trivial-Man 6cb3921864 Fix BizHawk.Client.EmuHawk.csproj
Missed some changed filenames
2017-07-13 22:40:51 -06:00
Trivial-Man 949cece7c5 Add files via upload 2017-07-13 22:30:35 -06:00
zeromus d54fee4d91 Merge branch 'master' into master 2017-07-13 19:17:09 -05:00
adelikat 367b243990 Pizza Boy - preliminary SGB virtualpad support 2017-07-13 12:22:58 -05:00
adelikat 9cb44cad03 Fix some filenames from previous renames, and more attribute renames 2017-07-12 14:48:27 -05:00