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

Update version and bindings

This commit is contained in:
Rgebee 2026-04-15 20:09:44 +01:00
commit 2354d4a736
2 changed files with 4 additions and 27 deletions

View file

@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<TargetRaylibTag>5.5</TargetRaylibTag>
<Version>7.0.2</Version>
<PackageVersion>7.0.2</PackageVersion>
<Version>8.0.0</Version>
<PackageVersion>8.0.0</PackageVersion>
</PropertyGroup>
</Project>

View file

@ -1,4 +1,5 @@
using System.Runtime.InteropServices;
using System.Runtime.Versioning;
using System.Numerics;
using System.Security;
using System;
@ -211,6 +212,7 @@ public static unsafe partial class Raylib
public static extern sbyte* GetClipboardText();
/// <summary>Get clipboard image content (only works on Windows)</summary>
[UnsupportedOSPlatform("browser")]
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern Image GetClipboardImage();
@ -1054,27 +1056,6 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawLineBezier(Vector2 startPos, Vector2 endPos, float thick, Color color);
/// <summary>Draw line using quadratic bezier curves with a control point</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawLineBezierQuad(
Vector2 startPos,
Vector2 endPos,
Vector2 controlPos,
float thick,
Color color
);
/// <summary>Draw line using cubic bezier curves with 2 control points</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawLineBezierCubic(
Vector2 startPos,
Vector2 endPos,
Vector2 startControlPos,
Vector2 endControlPos,
float thick,
Color color
);
/// <summary>Draw lines sequence</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void DrawLineStrip(Vector2* points, int pointCount, Color color);
@ -2761,10 +2742,6 @@ public static unsafe partial class Raylib
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void ResumeSound(Sound sound);
/// <summary>Get number of sounds playing in the multichannel</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern int GetSoundsPlaying();
/// <summary>Check if a sound is currently playing</summary>
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern CBool IsSoundPlaying(Sound sound);