- Bump workflow actions to latest majors (Node 24); drop deprecated softprops/action-gh-release@v1
- Trigger push builds on main instead of master
- Create local nuget feed dir before pack (fixes NU1301)
- Enable Microsoft.SourceLink.GitHub for debugging symbols (ref PR #340)
* 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>
* All the "var" variables were changed to explicit types on the raylib class
* "MakeDirectory" overload, and string version of "GetApplicationDirectory" and "GetWorkingDirectory" methods
* Added "Dimensions" property to "Texture2D"
* New overloads for the "LoadFileData" and "SaveFileData" methods
* Raymath's const "NativeLibName" is now referencing to "Raylib.NativeLibName"
* Color constructors are more readable
* Added "Dimensions" property to "Image"
* Changed all the "var" for explicit types on the "Logging" class
* Changed "Int64" for "long" on CBool, and using constructor on the operators instead setting the value manually
* Added indexer to "FilePathLists"
* Changed all "var" for explicit types on "Utf8Buffer"
* New "GetRandomSequence" method overloads in "Raylib.Utils" acepting "int" and "float"
* Added new extension "byte.Lerp"
* Added new extension "Log" for "TraceLogLevel"
* Constructors on Color no longer just truncate the float value, but also round it (+ 0.5f)
* New static method on Color, "Color.Lerp"
* Added static method "FromHSV" to Color
* Added new getter method "GetHSV" on Color
* Added index security on the FilePathList indexer
* Added Rectangle extension
* Added "MoveTowards" extensions to RaylibExtensions
* Added "TranslateLocal" and "TranslateGlobal" to Transform
* Removed unnecessary "partial" declarations
* Updating calls and docs
* Moved the "AudioCallback" delegate into the "AudioMixed.cs" File
* Properties and structs marked as read-only on the "Model.cs" file
* Updated the "README.md" to mentions Raylib-cs targets net6.0 and net8.0 (and also explicitly added that the
"STAThread" attribute comes from the "System" namespace)
* Added a few sizing utils to "Rectangle"
* Added "GetScreenCenter" to "Raylib.Utils"
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>
* 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>
* Add Raylib target tag to app.config
* Enable GitHub Actions on all PRs
* Create and upload NuGet package
Co-authored-by: ChrisDill <chris.rj.dill@gmail.com>
- Unsure on experimental lib at the moment. Need to test pinvoke
overhead. Might move to examples repo.
- Update README.md.
- Update Raylib-cs.csproj.
- Remove GenMeshDefault.
- Updated version to 3.5.0. Plan to keep this in sync with future raylib releases to reduce confusion about versioning.
- Since netstandard2.1 includes System.Numerics, we no longer need to reference it here.
- Testing possible fixes for packing/using runtimes.
- 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.