Point release 4.0.0.2 (#122)
This commit is contained in:
parent
0ea640acaa
commit
f9284d4505
7 changed files with 37 additions and 34 deletions
|
|
@ -20,7 +20,7 @@ namespace Raylib_cs
|
|||
SetWindowTitle(str1.AsPointer());
|
||||
}
|
||||
|
||||
/// <summary>Get the human-readable, UTF-8 encoded name of the primary monitor</summary>
|
||||
/// <summary>Get the human-readable, UTF-8 encoded name of the specified monitor</summary>
|
||||
public static string GetMonitorName_(int monitor)
|
||||
{
|
||||
return Utf8StringUtils.GetUTF8String(GetMonitorName(monitor));
|
||||
|
|
@ -116,17 +116,17 @@ namespace Raylib_cs
|
|||
}
|
||||
|
||||
/// <summary>Export image data to file</summary>
|
||||
public static void ExportImage(Image image, string fileName)
|
||||
public static CBool ExportImage(Image image, string fileName)
|
||||
{
|
||||
using var str1 = fileName.ToUTF8Buffer();
|
||||
ExportImage(image, str1.AsPointer());
|
||||
return ExportImage(image, str1.AsPointer());
|
||||
}
|
||||
|
||||
/// <summary>Export image as code file defining an array of bytes</summary>
|
||||
public static void ExportImageAsCode(Image image, string fileName)
|
||||
public static CBool ExportImageAsCode(Image image, string fileName)
|
||||
{
|
||||
using var str1 = fileName.ToUTF8Buffer();
|
||||
ExportImageAsCode(image, str1.AsPointer());
|
||||
return ExportImageAsCode(image, str1.AsPointer());
|
||||
}
|
||||
|
||||
/// <summary>Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR)</summary>
|
||||
|
|
@ -202,7 +202,7 @@ namespace Raylib_cs
|
|||
return files;
|
||||
}
|
||||
|
||||
/// <summary>Return gamepad internal name id</summary>
|
||||
/// <summary>Get gamepad internal name id</summary>
|
||||
public static string GetGamepadName_(int gamepad)
|
||||
{
|
||||
return Utf8StringUtils.GetUTF8String(GetGamepadName(gamepad));
|
||||
|
|
@ -804,7 +804,7 @@ namespace Raylib_cs
|
|||
return GetCodepointCount(str1.AsPointer());
|
||||
}
|
||||
|
||||
/// <summary>Returns next codepoint in a UTF8 encoded string; 0x3f('?') is returned on failure</summary>
|
||||
/// <summary>Get next codepoint in a UTF8 encoded string; 0x3f('?') is returned on failure</summary>
|
||||
/// <returns>single codepoint / "char"</returns>
|
||||
public static int GetCodepoint(string text, ref int bytesProcessed)
|
||||
{
|
||||
|
|
@ -884,17 +884,17 @@ namespace Raylib_cs
|
|||
}
|
||||
|
||||
/// <summary>Export wave data to file</summary>
|
||||
public static void ExportWave(Wave wave, string fileName)
|
||||
public static CBool ExportWave(Wave wave, string fileName)
|
||||
{
|
||||
using var str1 = fileName.ToUTF8Buffer();
|
||||
ExportWave(wave, str1.AsPointer());
|
||||
return ExportWave(wave, str1.AsPointer());
|
||||
}
|
||||
|
||||
/// <summary>Export wave sample data to code (.h)</summary>
|
||||
public static void ExportWaveAsCode(Wave wave, string fileName)
|
||||
public static CBool ExportWaveAsCode(Wave wave, string fileName)
|
||||
{
|
||||
using var str1 = fileName.ToUTF8Buffer();
|
||||
ExportWaveAsCode(wave, str1.AsPointer());
|
||||
return ExportWaveAsCode(wave, str1.AsPointer());
|
||||
}
|
||||
|
||||
/// <summary>Load music stream from file</summary>
|
||||
|
|
|
|||
Loading…
Reference in a new issue