Update version and bindings
This commit is contained in:
parent
723ef1b4b9
commit
2354d4a736
2 changed files with 4 additions and 27 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
<Project>
|
<Project>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetRaylibTag>5.5</TargetRaylibTag>
|
<TargetRaylibTag>5.5</TargetRaylibTag>
|
||||||
<Version>7.0.2</Version>
|
<Version>8.0.0</Version>
|
||||||
<PackageVersion>7.0.2</PackageVersion>
|
<PackageVersion>8.0.0</PackageVersion>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
</Project>
|
</Project>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Runtime.Versioning;
|
||||||
using System.Numerics;
|
using System.Numerics;
|
||||||
using System.Security;
|
using System.Security;
|
||||||
using System;
|
using System;
|
||||||
|
|
@ -211,6 +212,7 @@ public static unsafe partial class Raylib
|
||||||
public static extern sbyte* GetClipboardText();
|
public static extern sbyte* GetClipboardText();
|
||||||
|
|
||||||
/// <summary>Get clipboard image content (only works on Windows)</summary>
|
/// <summary>Get clipboard image content (only works on Windows)</summary>
|
||||||
|
[UnsupportedOSPlatform("browser")]
|
||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern Image GetClipboardImage();
|
public static extern Image GetClipboardImage();
|
||||||
|
|
||||||
|
|
@ -1054,27 +1056,6 @@ public static unsafe partial class Raylib
|
||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void DrawLineBezier(Vector2 startPos, Vector2 endPos, float thick, Color color);
|
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>
|
/// <summary>Draw lines sequence</summary>
|
||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void DrawLineStrip(Vector2* points, int pointCount, Color color);
|
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)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void ResumeSound(Sound sound);
|
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>
|
/// <summary>Check if a sound is currently playing</summary>
|
||||||
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(NativeLibName, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern CBool IsSoundPlaying(Sound sound);
|
public static extern CBool IsSoundPlaying(Sound sound);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue