Watch
2
0
Fork
You've already forked raylib-cs
0
Commit graph

178 commits

Author SHA1 Message Date
ChrisDill
3ac0a24d78 Replacing Matrix with Matrix4x4.
- Matrix in raylib is column major whereas in numerics it is row major. The type marshals and works but it needs to be transposed before it can be used. At first I looked into keeping the matrix
type and converting between the 2 as that made sense but I think using just the on type and documenting the difference is a better tradeoff. It may be easy to create bugs by forgetting to transpose but with good documentation I think this is better than having to deal with the 2 types. I may be wrong about this so we will see how it goes.
2020-05-03 13:23:11 +01:00
ChrisDill
c7c0c06a63 Added the System.Numerics.Vectors package so we can build without specifying netcoreapp3.1. 2020-05-02 15:17:49 +01:00
ChrisDill
d401a641ce BREAKING CHANGE. Replaced Vector2, Vector3 and Vector4 with System.Numerics.
- Testing out a breaking change so we can use System.Numerics.
2020-05-02 15:13:57 +01:00
271142c040 Fix incorrect native library path
Added support for x86 NuGet package
2020-05-02 17:48:40 +10:00
4bb6542f5f Updated README.md
NuGet package and easier installation
Added `runtimes/{tfm}/native` folder to make it clearer where to put native libraries
2020-05-02 17:03:00 +10:00
c3cb15f633 Updated Nuget Package Properties
Includes adding logo to package
2020-05-02 05:19:50 +10:00
bd58c758f5 Updated Build platforms
For upcoming NuGet support
2020-05-02 04:27:16 +10:00
fb3b50292f Update README.md 2020-04-30 09:59:04 +01:00
ChrisDill
f1f405e633 Moving Physac and Raygui into their own libraries and marking them as experimental.
- Both bindings have causes confusion and issues in project setup. Moving them into separate libraries should make things clearer and easier to maintain.
2020-04-28 20:53:45 +01:00
ChrisDill
57c52a3a61 Fixed error with IsWindowFullscreen.
- Changed IsWindowFullscreen return from void to bool.
2020-04-27 17:46:22 +01:00
ChrisDill
90d6c5776b Added BlittableHelper for testing structs. 2020-04-25 12:01:27 +01:00
ChrisDill
99c91b895c Renamed Tests to Raylib-cs.Tests.
- Updated Raylib-cs.sln.
- Renamed Tests/Tests.csproj to Raylib-cs.Tests/Raylib-cs.Tests.csproj
- Removed unused nuget.config.
2020-04-25 11:35:36 +01:00
ChrisDill
28a58168da Changed Raylib-cs.csproj to only target netstandard2.0.
- Changed Raylib-cs.proj to use just one target framework.
- Removed targets net47 and netcoreapp3.1 from Raylib-cs.csproj.
- Removed netcoreapp3.1 from dotnetcore.yml workflow.
2020-04-07 20:41:22 +01:00
ChrisDill
24497bc467 Minor update to Raylib.cs.
- Added Camera2D constructor.
- Added missing Text functions.
2020-04-03 16:53:50 +01:00
ChrisDill
5c84cbc998 Updated License to 2020. 2020-04-03 16:52:14 +01:00
c2c956b925
Update README.md 2020-04-02 08:45:45 +01:00
ChrisDill
b3a848a1cd Fixed DrawLineStrip issue from #44.
- Changed DrawLineStrip to take in a Vector2[] instead of ref Vector2 points.
2020-04-01 18:43:33 +01:00
ChrisDill
60998430cc Merge branch 'master' of https://github.com/ChrisDill/Raylib-cs 2020-04-01 17:27:14 +01:00
ChrisDill
943981e8cd Updated Tests project.
- Renamed from Tests.MultiTarget to Tests.
- References Raylib-cs.csproj instead of adding bindings directly.
2020-04-01 17:24:54 +01:00
ChrisDill
5834f6e1d6 Added Raylib-cs.csproj.
- Testing multi-target options. Hopefully won't be needed with .NET 5.
Some issues getting multi-targeting to work well with OmniSharp in other projects so I may change this.
2020-04-01 14:50:00 +01:00
ChrisDill
06b5c218b1 Big commit. Starting the update to 3.0!!!
- Renamed the Bindings folder to Raylib-cs.
- Renamed namespace from Raylib to Raylib_cs.
- Updated functions to raylib 3.0.
- Documenting IntPtr types for reference.
- Separating modules by making the class and nativeLibName unique to the module.
- Added rlgl bindings.
2020-04-01 14:46:51 +01:00
ChrisDill
a138e37fab Initial project update.
- Updated github actions workflow to build using .NET Core on Linux, Windows and Mac.
- Updated Raylib-cs.sln with project name changes.
- Added experimental netfx.props to help with building using Mono on Linux.
- Added app.config.
2020-04-01 14:35:26 +01:00
dc013fb8ff
Update README.md 2020-03-26 22:29:10 +00:00
ChrisDill
60e2afc49d Examples have been moved to https://github.com/ChrisDill/Raylib-cs-Examples.
- Examples were getting large and to make it easier for submodules and commit history I decided to seperate the two. Preparing to merge changes from dev branch. Made sense
to do this change directly first.
2020-03-06 23:14:27 +00:00
5c92ad07e0
Update dotnetcore.yml
- Got a Node run failed error. Changed to full version instead of just 3.1.
2020-01-29 20:04:37 +00:00
17ad5152da
Update dotnetcore.yml
- Changed back to just one version of .NET Core.
2020-01-29 19:58:21 +00:00
34034547da
Update dotnetcore.yml
Learning about continuous integration.
- Testing build using multiple versions of .NET Core.
2020-01-29 19:53:13 +00:00
ChrisDill
19127e62cd Updating .csproj files to help with testing continuous integration.
- Removed copy of logo in Generator.
- Removed older generated Raylib.cs from Generator.
2020-01-29 19:37:21 +00:00
ChrisDill
3d8da991f4
Create dotnetcore.yml
Initial test for github actions. Builds using dotnet core.
2020-01-05 14:15:51 +00:00
ChrisDill
ceab7d6388 Updated project files.
- Removed old project references.
- Updated Tests.MultiTarget.csproj.
- Removed DotNet.ILCompiler from CoreRT for now. Plan to revisit in the future.
- Removed logo from project. Uses Logo folder instead.
- Changed LICENSE to LICENSE.md.
2019-12-11 11:24:20 +00:00
ChrisDill
6d9dd0f5f4 Merge branch 'master' of https://github.com/ChrisDill/Raylib-cs 2019-10-27 14:50:44 +00:00
ChrisDill
428f0abcc9 Removed Extensions.cs and moving some of the functions back into modules.
- I originally made extensions to separate things to help with code generation. Although since they are fairly simple I have now changed my mind and moved them back into their modules.

- Removed partial from raylib structs. This allowed extending them but I think it makes it harder to understand raylib types from looking at it.

- Minor constructors additions and changes.
2019-10-27 14:13:53 +00:00
Chris Dill
c720403500 Reviewed Tests project
- Removed example browsing test. Focusing on examples being built on their own instead.
- Removed old .projitems/.shproj from bindings and examples.
- Simplified NetCore, NetCoreRT, NetFX tests into one that uses multitarget instead.
2019-10-27 14:06:15 +00:00
Chris Dill
012338e1a1 Reviewed Tests project
- Removed example browsing test. Focusing on examples being built on their own instead.
- Removed old .projitems/.shproj from bindings and examples.
- Simplified NetCore, NetCoreRT, NetFX tests into one that uses multitarget instead.
2019-07-31 17:58:31 +01:00
Chris Dill
e45deca31f Changed MusicData back to IntPtr.
- MusicData struct is not easy to marshall. The struct layout changes based on what file formats
raylib is compiled with.
2019-07-14 12:11:07 +01:00
Chris Dill
7e36fa1e9a Merge branch 'master' of https://github.com/ChrisDill/Raylib-cs 2019-07-07 13:17:29 +01:00
Chris Dill
711b59d8b8 Initial update to raylib 2.5
- Still a work in progress
2019-07-07 13:12:06 +01:00
ChrisDill
e31601a9f3
Merge pull request #28 from FireflyX/patch-1
Pretty sure this is a typo.
2019-06-08 20:50:32 +01:00
Tyler M
c88693e8d1
Pretty sure this is a typo.
v2.w > v2.w would  always be false.
2019-06-08 14:24:18 -04:00
ChrisDill
52ecff2b27
Update README.md 2019-06-04 08:17:54 +01:00
Chris Dill
5f4654b167 Removed the native binaries. There are multiple ways to configure raylib and from using the bindings I found I ended up
using a custom build anyway so I could access extra modules.
2019-05-18 15:22:04 +01:00
ChrisDill
9e7cadc6dd
Update README.md 2019-05-07 09:06:48 +01:00
ChrisDill
3b1bb364dc
Update README.md 2019-05-07 09:05:42 +01:00
ChrisDill
f46c375562
Update README.md
- Manual installation instructions so project is not reliant on nuget.
2019-04-22 07:53:43 +01:00
Chris Dill
1d56b2defd Merge branch 'master' of https://github.com/ChrisDill/Raylib-cs 2019-04-22 07:51:40 +01:00
Chris Dill
12e5a6f719 - Improvements for 2.5 release. Alot more work than I expected.
- Examples are out of date and will need to be regenerated before release.
2019-04-22 07:40:01 +01:00
Chris Dill
85f39f8022 - Reviewing generator contribution. Work in progress. 2019-04-15 16:12:29 +01:00
Chris Dill
3565fd7e4d - Changed generator from .NET Framework to .NET Core. Allows it to be tested cross platform. 2019-04-15 16:10:42 +01:00
ChrisDill
1676055efb
Update README.md 2019-04-04 20:53:36 +01:00
ChrisDill
177f7bb91e Changed easings to a direct port
- Trying direct ports of modules starting with easings.
- Readme fix and removed old rlgl.
- Improving documentation.
2019-03-17 11:05:24 +00:00