@@ -1023,7 +1023,7 @@ public static unsafe partial class Raylib
10231023 /// </summary>
10241024 [ LibraryImport ( LIBRARY , StringMarshalling = StringMarshalling . Utf8 ) ]
10251025 [ UnmanagedCallConv ( CallConvs = [ typeof ( CallConvCdecl ) ] ) ]
1026- public static partial NativeBool ChangeDirectory ( string dir ) ;
1026+ public static partial NativeBool ChangeDirectory ( string dirPath ) ;
10271027
10281028 /// <summary>
10291029 /// Check if a given path is a file or a directory
@@ -1130,6 +1130,13 @@ public static unsafe partial class Raylib
11301130 [ UnmanagedCallConv ( CallConvs = [ typeof ( CallConvCdecl ) ] ) ]
11311131 public static unsafe partial uint * ComputeSHA1 ( byte * data , int dataSize ) ;
11321132
1133+ /// <summary>
1134+ /// Compute SHA256 hash code, returns static int[8] (32 bytes)
1135+ /// </summary>
1136+ [ LibraryImport ( LIBRARY , StringMarshalling = StringMarshalling . Utf8 ) ]
1137+ [ UnmanagedCallConv ( CallConvs = [ typeof ( CallConvCdecl ) ] ) ]
1138+ public static unsafe partial uint * ComputeSHA256 ( byte * data , int dataSize ) ;
1139+
11331140 /// <summary>
11341141 /// Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS
11351142 /// </summary>
@@ -1599,6 +1606,13 @@ public static unsafe partial class Raylib
15991606 [ UnmanagedCallConv ( CallConvs = [ typeof ( CallConvCdecl ) ] ) ]
16001607 public static partial void DrawLineBezier ( Vector2 startPos , Vector2 endPos , float thick , Color color ) ;
16011608
1609+ /// <summary>
1610+ /// Draw a dashed line
1611+ /// </summary>
1612+ [ LibraryImport ( LIBRARY , StringMarshalling = StringMarshalling . Utf8 ) ]
1613+ [ UnmanagedCallConv ( CallConvs = [ typeof ( CallConvCdecl ) ] ) ]
1614+ public static partial void DrawLineDashed ( Vector2 startPos , Vector2 endPos , int dashSize , int spaceSize , Color color ) ;
1615+
16021616 /// <summary>
16031617 /// Draw a color-filled circle
16041618 /// </summary>
@@ -3812,7 +3826,7 @@ public static unsafe partial class Raylib
38123826 public static partial NativeBool IsSoundValid ( Sound sound ) ;
38133827
38143828 /// <summary>
3815- /// Update sound buffer with new data (data and frame count should fit in sound )
3829+ /// Update sound buffer with new data (default data format: 32 bit float, stereo )
38163830 /// </summary>
38173831 [ LibraryImport ( LIBRARY , StringMarshalling = StringMarshalling . Utf8 ) ]
38183832 [ UnmanagedCallConv ( CallConvs = [ typeof ( CallConvCdecl ) ] ) ]
@@ -3903,7 +3917,7 @@ public static unsafe partial class Raylib
39033917 public static partial void SetSoundPitch ( Sound sound , float pitch ) ;
39043918
39053919 /// <summary>
3906- /// Set pan for a sound (0.5 is center)
3920+ /// Set pan for a sound (-1.0 left, 0.0 center, 1.0 right )
39073921 /// </summary>
39083922 [ LibraryImport ( LIBRARY , StringMarshalling = StringMarshalling . Utf8 ) ]
39093923 [ UnmanagedCallConv ( CallConvs = [ typeof ( CallConvCdecl ) ] ) ]
@@ -4036,7 +4050,7 @@ public static unsafe partial class Raylib
40364050 public static partial void SetMusicPitch ( Music music , float pitch ) ;
40374051
40384052 /// <summary>
4039- /// Set pan for a music (0.5 is center)
4053+ /// Set pan for a music (-1.0 left, 0.0 center, 1.0 right )
40404054 /// </summary>
40414055 [ LibraryImport ( LIBRARY , StringMarshalling = StringMarshalling . Utf8 ) ]
40424056 [ UnmanagedCallConv ( CallConvs = [ typeof ( CallConvCdecl ) ] ) ]
0 commit comments