-
-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SFML.Net 3 #277
SFML.Net 3 #277
Conversation
b07c9ca
to
887e5cf
Compare
e1cbde0
to
9438c04
Compare
73dcba5
to
95a753d
Compare
974107a
to
3ac5d36
Compare
The current PR seems to run with local CSFML 3.0 binaries (i.e. all example programs seem to run without any immediate issues), so I think it's now possible for people to test it out if they want to (although I'd expect it to crash in a lot of other places). Since CSFML and SFML.Net 3.0 nuget packages are not available yet, here's instructions on how to build local CSFML and SFML.Net nuget packages for Windows / Visual Studio 2022: Before all:
For CSFML 3.0:
For SFML.Net 3.0:
I've tested this flow with a new console project that uses one of the examples as source code, but let me know if it breaks in some other cases. |
- Update all SFML modules to use the latest CSFML methods - Switch to NET Analyzer from StyleCop
fdfa434
to
b2dc82c
Compare
b2dc82c
to
5724f83
Compare
5724f83
to
17f19a0
Compare
I've taken the liberty to update your branch by splitting the one commit into two, extracting the test stuff into a dedicated commit. |
This is nowhere near ready (CSFML v3 isn't even out), but I'm making this PR to track progress and to have higher visibility on the code changes.
The changes involved are as follows:
int x, int y, int z
) to use vectors insteadSystemHandle
->NativeHandle
)Count
style enum values into a readonly fieldAngle
and the new methods onVector2
andVector3
, useAngle
instead of degrees expessed as floatsGetGeometricCenter
methods on shapesClock
WaitEvent
style callsAngle
is tested)