Watch
2
0
Fork
You've already forked raylib-cs
0
Commit graph raylib-cs/Raylib-cs.Tests
Author SHA1 Message Date
Tiger Jove
760761ed39 chg: New build system that uses the officially distributed binaries, bumped version to 8.0.0, simplified git workflow, removed deprecated OpenGL 1.1 functionality, removed deprecated Raylib 5.0 (and earlier) functions. 2026-06-17 20:32:19 +02:00
Dennis Steffen
21d83c60a9
Upgrade Raylib to 6.0 (#337)
* Updated target to Raylib 6 + synced invoke called with the changes in C. [WARNING: Breaking changes!]

* Added severial examples. Corrected towards the correct return type and add utilities to prevent working with pointers

* Additional resources from the Raylib repo.

* Fixed additional pinvokes to match with the new raylib bindings. [Warning breaking changes!]

* Fixing the QOL utils

* Fixing the Mesh struct

* Applying changes after review. Merged resources.LICENSE + raylib-cs.Native.csproj only targets dotnet8

* Updated README to reflect .NET 10 and Raylib 6 compatibility changes.

* Updated shader colors, adjusted car model scale, disabled HDR in SkyboxDemo, and fixed camera mode assignment. Removed unused `Capacity` field in FilePathList struct.

* Improved XML comments for consistency, fixed spacing and formatting across examples, added new resources to `resources.LICENSE`.

* Updated XML comment for `GetDirectoryFileCountEx` to clarify behavior and filtering options.

* Updated and clarified XML comments for methods and parameters, improved naming consistency, and refined shader-related functions. Renamed enums in `Shader.cs` for so it is inline with the upstream.

* Improved XML comments for clarity and consistency in `Model.cs` and `Mesh.cs`, updated method and variable names for better readability, and adjusted logic in span creation methods.

* Corrected XML comment capitalization in `Model.cs`.

---------

Co-authored-by: Meatcorps <info@meatcorps.nl>
2026-05-24 07:21:12 +01:00
a657bb6367
Update tests and dll resolver (#336) 2026-05-17 19:24:49 +01:00
942306d916
Remove net6.0 support (#328) 2026-03-28 20:05:58 +00:00
Ben Parsons
f9787a8342
Enable Targeting .Net 8 (#297)
Fixes #295
2025-05-07 08:16:47 +01:00
Ben Parsons
47877ee2e7
Update Language Version to C# 12 (#242) 2024-05-21 16:40:05 +10:00
MrScautHD
43f1924faa
Port to Raylib-5.0.0 (#210)
Co-authored-by: ChrisDill <chris.rj.dill@gmail.com>
2023-12-27 12:17:57 +00:00
696955463f Add .editorconfig and apply formatting 2023-08-27 15:20:26 +01:00
bcdf8cec5b
Update/merge examples back into main repo (#192) 2023-08-25 08:08:32 +01:00
23ed54cc24
BREAKING: Update names of methods, variables, and other elements (#181)
Breaking change to update naming across Raylib-cs to make it more consistent with C# naming conventions.

---------

Co-authored-by: MrScautHD <65916181+MrScautHD@users.noreply.github.com>
2023-08-14 21:33:48 +01:00
8edc98ad95 Update tests to ProjectReference and remove old test code 2023-08-14 20:56:26 +01:00
3f9cf16c93 Remove unused icon from tests 2023-08-12 23:04:49 +01:00
Ben Parsons
74bf5e084c
Update Raylib-cs.Tests to use Raylib-cs 4.0.0 2022-02-15 00:19:40 +11:00
e5934b86ba 4.0 (#100)
* Fix formatting/update doc comments in Raylib.cs

* Update types in Raylib.cs to 4.0

* Remove app.config

* Update Raylib.cs functions

* Split Enums, Structs & Classes into own files

* Testing utils for Raylib.cs

* Update Raylib-cs.csproj

* Reorganize types
- Move into types folder
- Group types based on usage

* Fix parameter names

* Rename CloseAudioStream to UnloadAudioStream

* Remove ref SetShaderValue overloads

* Remove some constants from Raylib.cs

* Include README.md in package

* Replace old version of GetDroppedUtils

* Update README.md

* Remove Physac-cs and Raygui-cs
- Not actively maintained and a pain for users to setup...

* Update comments to xmldoc

* Rename Gestures enum to Gesture

* Minor fixes
- Rename Gestures enum to Gesture
- Update tests to net6.0

* Testing CBool type instead of bool

* Update XmlDoc comments

* Update build.yml to net6.0 for tests

* Remove Easings.cs
- Easings used to be part of raylib. It is now a separate extra library
so I am removing it from the main bindings.

* Update rlgl

* More XmlDoc comments

* Use CBool in structs

* Big unsafe update

* Fix typos and change refs to pointers in Rlgl

* Update LoggingUtils and Material

* Fix typo in Rlgl

* Update build.yml

* Rename RaylibUtils.cs to Raylib.Utils
now a partial class

* Convert some RLGL consts to Enums

Also added helper methods/overloads for related methods

* Make class Raylib partial

* Convert some text functions to not use ref

I dont think they will work. need testing

* Testing fixes for Text functions

* Create rlMultMatrixf safe overload

* Implement safe ModelAnimation

* Testing fix for ModelAnimation using wrapper struct

* Added TODOs

* Fix rlMultMatrixf
- Add missing ToFloatV functions to Raymath
- Fix rlMultMatrixf overload to use MatrixToFloatV

* Fix IsGestureDetected and formatting

* Add a few text tests

* Move wrapper functions into Raylib.Utils

* Remove ref from raylib bindings

* Multi-target net5.0

* Testing string approaches

* Fixing more util and unsafe functions

* Testing TraceLogCallback fix

Set lang version to C# 10

* Replace managed callbacks with unsafe delegates

* Update default LogConsole callback

* Setup unsafe/safe functions for math types in Raylib.cs

* Replace string in Rlgl with sbyte*

* Yet more string changes
- Use sbyte/byte correctly in Raylib.cs
- Using Marshal.StringToCoTaskMemUTF8
- Update utils string usage

* Fix typo bug and whitespace

* Fix DrawTextPro and more whitespace

* Remove unused ToString

* Add file functions back into Raylib

* Test paths filter for pull requests

* Change to paths-ignore filter

* Redo partial change

* Move binding functions into interop folder

Co-authored-by: Ben Parsons <9parsonsb@gmail.com>
2022-02-15 00:00:13 +11:00
3224a58371 Initial 3.7 update
- Many breaking changes in this update. This is a work in
progress and needs testing.
2021-04-25 11:36:02 +01:00
e49ca5b92c Review bindings
- All raylib structs are now blittable.
- Fixing some incorrect functions(types, naming etc).
- Remove netfx.props.
2021-03-25 20:43:39 +00:00
b679edc778 Adjust dependency versions in Raylib-cs.Tests
- Update Microsoft.NET.Test.Sdk to 16.7.1
- Update xunit.runner.visualstudio to 2.4.3.
- Revert coverlet.collector to 1.3.0.
2021-01-27 14:14:24 +00:00
93da59ac1b Update test dependencies
- Issue with test dependencies in github actions for windows. Updating first to see if that fixes it.
2021-01-16 11:44:24 +00:00
5aebfc3e66 Update Raylib-cs.Tests and added tests to github actions
- RenderTexture2D is now Blittable since the depthTexture bool was removed.
- Music is no longer Blittable.
2021-01-02 11:36:27 +00:00
4f0fdc3880 Removed unused tags from project files
- Don't need to specify Platforms and Configurations for libraries or tests.
2021-01-02 11:26:56 +00:00
daa7f7241d Update to net5.0 using a fix for net5.0 support in dotnetcore.yml
- Update actions/checkout to v2.
- setup-dotnet requires specific version or a wildcard so I changed it to 5.0.x so it targets any 5.0 version.
- Updated Raylib-cs.Tests to target net5.0 as we can now use it properly.
2020-11-28 14:50:11 +00:00
d0587eeb24 Keeping tests at netcoreapp3.1 for now
- Had some issues getting net5.0 to work with github actions.
2020-11-12 11:30:41 +00:00
8d9201c341 Dropping experimental netfx support
- Set libraries to target netstandard2.1 and updated tests to net5.0. Still learning about the new features. Libraries may also change to net5.0
later if the newer features are useful enough to include directly in the library.
- Removing Platform.cs which was only used by netfx.
2020-11-12 11:17:03 +00:00
34d069c7cc Updated Raylib-cs.Tests.
- Added binding tests for raylib.
- Updated Raylib-cs.Tests.csproj.
2020-09-18 23:44:01 +01:00
c8ddc440bb Updated Build platforms
For upcoming NuGet support
2020-05-02 04:27:16 +10:00
5fc790fd1d Added BlittableHelper for testing structs. 2020-04-25 12:01:27 +01:00
5bc1ba5d80 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