Commit Graph

100 Commits

Author SHA1 Message Date
CasualPokePlayer f78fcc82e3 Giant reorg, move most of Bizware.BizwareGL to Bizware.Graphics, remove some unused code, de-duplicate more code
TODO: Change a lot of these IGL resources into interfaces (instead of doing IGL specific things for that instance in the opaque member)
2024-05-15 18:09:08 -07:00
CasualPokePlayer 72cc192661 Create a new project to house the IGL WinForms controls (Bizware.Graphics.Controls), thus allowing for Bizware.Graphics to be netstandard2.0
also move GDIPlus IGL stuff over from BizwareGL to Bizware.Graphics
2023-08-12 03:56:02 -07:00
CasualPokePlayer 78f5e75534
Kill Bizware .NET Framework deps (#3702)
The main objective in this PR is to get rid of the main .NET Framework dependencies in Bizware packages. This PR doesn't do that completely per se, still having .NET Framework used for WinForms Controls, but that can easily be swapped over for whatever UI framework we use next as long as it exposes native window handles in some way.

For this PR, it does some reorganizing of Bizware, splitting Bizware.OpenTK3 and Bizware.DirectX into 3 packages based on usage; Bizware.Audio, Bizware.Graphics, and Bizware.Input. These packages in the future probably could have more functionality moved into them, but for now they are largely just a reshuffling of the Bizware.OpenTK3 and Bizware.DirectX packages.

As both SlimDX and OpenTK3 are .NET Framework, they have been removed in this PR. Their replacements are as follows:

SharpDX: DirectSound, Direct3D9
Vortice: XAudio2, DirectInput/XInput
Silk.NET: OpenAL, OpenGL
SDL2-CS / native SDL2: OpenGL context management, new gamepad backend (replacing OpenTK's role for gamepads)
native X11: New key input backend (replacing one of OpenTK's roles for keyboards)

GLControl has been replaced by custom made control which just uses SDL2 for context management.

The OpenTK input backend has been replaced with a combination of SDL2 and an OS tailored key input backend (DirectInput on Windows, X11 on Linux, and planned to be Quartz on macOS). This is just represented on the user side as "SDL2" without mentioning the key input backend. This does mean for a while DirectX will be mandatory on Windows again, until a RAWINPUT backend is written for handling key input on Windows for the SDL2 input backend.
2023-07-23 00:35:43 -07:00
Moritz Bender ddc3e929e9
Use source generation for VersionInfo (#3625)
* Use source generator for VersionInfo

* Remove leftover hacks

* Use same fallbacks as NixHawk when Git not available

---------

Co-authored-by: YoshiRulz <OSSYoshiRulz@gmail.com>
2023-04-12 21:14:44 +02:00
YoshiRulz c5e84ff02e Create new project Bizware.OpenTK3 from Bizware.BizwareGL and EmuHawk 2021-03-19 07:32:29 +10:00
YoshiRulz 7f5e777f75 Move DirectX wrappers to new project 2020-10-16 07:30:26 +10:00
YoshiRulz b88f20faed
Rename Verison to BizHawk.Version, fixes #2101 2020-06-06 00:20:48 +10:00
YoshiRulz 10e7cb0f34
Use pre-built assembly for FlatBuffers.Core
fixes 4be701e2a
2020-05-30 15:54:06 +10:00
nattthebear 4be701e2ae dotnet sln add .\ExternalProjects\FlatBuffers\ 2020-05-29 21:29:23 -04:00
adelikat 0b5047b64a fix test namings, make Client.Common internals visible to tests, add a Bk2LogGenerator tests (more to come) 2020-05-19 20:05:12 -05:00
adelikat 1bfaaab872 https://www.youtube.com/watch?v=Ya2xifdO_l0 2020-05-19 19:55:08 -05:00
YoshiRulz 5a8349b5a5
Update paths in projects (fixes build) 2020-05-03 10:58:35 +10:00
YoshiRulz b60bbba126
Flatten BizHawk.Bizware.* 2020-05-03 10:41:29 +10:00
YoshiRulz 1ee131ed78
Merge ApiHawk project into Client.Common and EmuHawk 2020-04-12 17:40:42 +10:00
adelikat 72f87ce808 add BizHawk.Winforms.Controls to Client solution folder 2020-03-20 10:32:52 -05:00
YoshiRulz 10818ba069 Create a new project for custom controls and add some more 2020-03-03 22:51:51 +00:00
YoshiRulz c7801b8ce2
Move BizHawk.Common.BizInvoke namespace to separate project 2020-01-23 14:54:23 +10:00
adelikat d70afbb643 DbMan begone! 2020-01-21 15:35:41 -06:00
YoshiRulz 165c2a0e2e
Merge BizwareGL.SlimDX into BizwareGL 2020-01-22 07:21:22 +10:00
YoshiRulz 87833d76d7
Merge GdiPlus and OpenTK into BizwareGL 2020-01-22 07:05:50 +10:00
J.D. Purcell bd6658aa41 Bump MinimumVisualStudioVersion in solution to require VS2019 2019-10-20 18:16:55 -04:00
adelikat da0e59c10f Multihawk begone! 2019-10-19 14:38:58 -05:00
Asnivor ddbe3c7942 Remove Virtu.csproj references from solution (because they shouldnt be there - my bad) 2019-05-20 08:59:59 +01:00
James Groom 59ad94f9b9
Merge branch 'master' into appleii_fixattempt 2019-03-28 20:25:11 +11:00
zeromus 0ee9ddc9aa for some reason in 482a3ab8f6 I changed the sln to have x64 and x86 projects instead of anycpu. maybe I had a good reason for that, but I didn't write it in that commit, and so I'm reverting this until someone articulates a good reason 2019-01-20 02:30:19 -05:00
Asnivor 6f7a26e803 Virtu: enable apple white and black keys 2018-12-07 15:03:19 +00:00
upthorn 05f9939ddf Merge branch 'master' into PluginDev 2018-12-06 12:29:58 -08:00
zeromus 482a3ab8f6 trap more cases where n64 emulation can halt when running buggy code and shunt through my don't-halt-after-all logic. these are now all associated with error messages; it would be nice if someone knew a way to get those error messages out to c#. then again, that might make buggy code become hopelessly slow due to error spew
re #1214
2018-11-03 14:04:34 -04:00
upthorn bb020540eb Remove extraneous non-existent file/folders from project. 2018-08-31 21:26:38 -07:00
zeromus d54fee4d91 Merge branch 'master' into master 2017-07-13 19:17:09 -05:00
zeromus 0085729392 delete x64 build configuration, use anycpu instead. take care to set Prefer32Bit false in exe csproj, since visualstudio's gui preference doesn't work. 2017-06-26 17:47:51 -05:00
Trivial-Man d3834fff49 Merge branch 'master' into master 2017-06-25 18:45:41 -06:00
Trivial-Man ae3020b7c1 Undo previous edit
This was the wrong file to edit
2017-06-20 02:19:16 -06:00
Trivial-Man 1eff513e43 I don't have a clue what happened here
I assume something changed here because I added a file to the project? Specifically LuaPictureBox. I don't know what specifically changed though and things won't build without updating this
2017-06-20 02:01:02 -06:00
zeromus afc6e03b03 remove some output64 paths 2017-06-12 01:33:55 -05:00
zeromus 0942d4f498 remove x86 project configurations 2017-06-12 01:24:35 -05:00
zeromus 5059565fd1 change sln to not claim to support vs2010 but 2013 instead as a minimum. does this wreck feos? 2017-05-06 16:58:21 -05:00
zeromus 263df29226 .sln vs2015 support got whacked somehow 2016-04-22 23:42:52 -05:00
nattthebear 2a0e859a85 Add 64 bit build (doesn't work yet), move SlimDX.dll 2016-02-28 15:06:03 -05:00
nattthebear fd002cdaa7 Remove mystery "Mixed Platforms", "Any CPU", and "Win32" solution targets that aren't used and don't do anything useful 2016-02-28 13:27:51 -05:00
Hathor86 708bb4fa93 Final stuff to WatchList
Now fully use comparer class. That saves memory and offer extensibility
ItemCount property obsolete => Moved to Count property (which did the same thing)
Moved ConfigPersistAttribute.cs, IToolForm.cs, IToolFormAutoConfig.cs back to common
2015-12-09 00:54:54 +01:00
Hathor86 1e2f4e12be Watch refactoring
Some improvement when you get Available types. Used to return a new
array each time you call the function. It has been transformed into an
IEnumrable and yield return.
DisplayType, PreviousType and Watchsize have been moved outside the
Watch Class
2015-11-28 22:52:00 +01:00
Hathor86 d4b4c06f0c Draft of API
So, I create a new dll named BizHawk.Client.ApiHawk and moved few stuff
to it.
Also moved some stuff to BizHawk.Client.Common. Don't think it can be
desiociated.

I started comment Watch and rearrange code (put some #region etc...

It compiles and it seems working :)
2015-11-26 23:05:29 +01:00
feos 33144e18c7 tastudio: add buttons to branch view. 2015-11-24 20:43:43 +03:00
Hathor86 f70a2c8c6c Merge from TASVideo 2015-11-01 22:01:19 +01:00
feos fd2e6848f1 tastudio: tsm never actually uses currentBranch, so why should it have it?
Revert "make sln version 2010 again." This reverts commit 48a59f1cef.
It's now known that to make newer .sln compatible to VS2010, one should install SP1.
2015-10-24 16:29:37 +03:00
feos 48a59f1cef make sln version 2010 again. 2015-10-24 12:52:36 +03:00
BordynConfused 30f6b659f2 BasicBot got smarter
BasicBot can now search for values that are greater than, less than, or
equal to the best run values.
2015-10-22 13:21:20 -05:00
Hathor86 0f0cba0dbb Reset .sln file 2015-10-18 17:09:12 +02:00
Hathor86 29e4c1753f Add ICustomGameTool interface that I forgot 2015-10-10 15:06:25 +02:00