Merge branch 'master' into master

This commit is contained in:
Ray 2026-02-10 18:10:38 +01:00 • committed by GitHub
commit a81828e910
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -40,7 +40,7 @@ return {
name = "RLAPI",
type = "UNKNOWN",
value = "__declspec(dllexport)",
description = "We are building the library as a Win32 shared library (.dll)"
description = "Building the library as a Win32 shared library (.dll)"
},
{
name = "PI",
@ -769,22 +769,22 @@ return {
{
type = "Vector2",
name = "offset",
description = "Camera offset (displacement from target)"
description = "Camera offset (screen space offset from window origin)"
},
{
type = "Vector2",
name = "target",
description = "Camera target (rotation and zoom origin)"
description = "Camera target (world space target point that is mapped to screen space offset)"
},
{
type = "float",
name = "rotation",
description = "Camera rotation in degrees"
description = "Camera rotation in degrees (pivots around target)"
},
{
type = "float",
name = "zoom",
description = "Camera zoom (scaling), should be 1.0f by default"
description = "Camera zoom (scaling around target), must not be set to 0, set to 1.0f for no scale"
}
}
},
@ -1029,6 +1029,11 @@ return {
name = "ModelAnimation",
description = "ModelAnimation",
fields = {
{
type = "char[32]",
name = "name",
description = "Animation name"
},
{
type = "int",
name = "boneCount",
@ -1048,11 +1053,6 @@ return {
type = "Transform **",
name = "framePoses",
description = "Poses array by frame"
},
{
type = "char[32]",
name = "name",
description = "Animation name"
}
}
},
@ -1324,11 +1324,6 @@ return {
name = "FilePathList",
description = "File path list",
fields = {
{
type = "unsigned int",
name = "capacity",
description = "Filepaths max entries"
},
{
type = "unsigned int",
name = "count",
@ -3864,6 +3859,14 @@ return {
{type = "const char *", name = "url"}
}
},
{
name = "SetTraceLogLevel",
description = "Set the current threshold (minimum) log level",
returnType = "void",
params = {
{type = "int", name = "logLevel"}
}
},
{
name = "TraceLog",
description = "Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)",
@ -3875,11 +3878,11 @@ return {
}
},
{
name = "SetTraceLogLevel",
description = "Set the current threshold (minimum) log level",
name = "SetTraceLogCallback",
description = "Set custom trace log",
returnType = "void",
params = {
{type = "int", name = "logLevel"}
{type = "TraceLogCallback", name = "callback"}
}
},
{
@ -3907,46 +3910,6 @@ return {
{type = "void *", name = "ptr"}
}
},
{
name = "SetTraceLogCallback",
description = "Set custom trace log",
returnType = "void",
params = {
{type = "TraceLogCallback", name = "callback"}
}
},
{
name = "SetLoadFileDataCallback",
description = "Set custom file binary data loader",
returnType = "void",
params = {
{type = "LoadFileDataCallback", name = "callback"}
}
},
{
name = "SetSaveFileDataCallback",
description = "Set custom file binary data saver",
returnType = "void",
params = {
{type = "SaveFileDataCallback", name = "callback"}
}
},
{
name = "SetLoadFileTextCallback",
description = "Set custom file text data loader",
returnType = "void",
params = {
{type = "LoadFileTextCallback", name = "callback"}
}
},
{
name = "SetSaveFileTextCallback",
description = "Set custom file text data saver",
returnType = "void",
params = {
{type = "SaveFileTextCallback", name = "callback"}
}
},
{
name = "LoadFileData",
description = "Load file data as byte array (read)",
@ -4009,6 +3972,38 @@ return {
{type = "const char *", name = "text"}
}
},
{
name = "SetLoadFileDataCallback",
description = "Set custom file binary data loader",
returnType = "void",
params = {
{type = "LoadFileDataCallback", name = "callback"}
}
},
{
name = "SetSaveFileDataCallback",
description = "Set custom file binary data saver",
returnType = "void",
params = {
{type = "SaveFileDataCallback", name = "callback"}
}
},
{
name = "SetLoadFileTextCallback",
description = "Set custom file text data loader",
returnType = "void",
params = {
{type = "LoadFileTextCallback", name = "callback"}
}
},
{
name = "SetSaveFileTextCallback",
description = "Set custom file text data saver",
returnType = "void",
params = {
{type = "SaveFileTextCallback", name = "callback"}
}
},
{
name = "FileRename",
description = "Rename file (if exists)",
@ -4167,7 +4162,7 @@ return {
description = "Change working directory, return true on success",
returnType = "bool",
params = {
{type = "const char *", name = "dir"}
{type = "const char *", name = "dirPath"}
}
},
{
@ -4230,6 +4225,24 @@ return {
{type = "FilePathList", name = "files"}
}
},
{
name = "GetDirectoryFileCount",
description = "Get the file count in a directory",
returnType = "unsigned int",
params = {
{type = "const char *", name = "dirPath"}
}
},
{
name = "GetDirectoryFileCountEx",
description = "Get the file count in a directory with extension filtering and recursive directory scan. Use 'DIR' in the filter string to include directories in the result",
returnType = "unsigned int",
params = {
{type = "const char *", name = "basePath"},
{type = "const char *", name = "filter"},
{type = "bool", name = "scanSubdirs"}
}
},
{
name = "CompressData",
description = "Compress data (DEFLATE algorithm), memory must be MemFree()",
@ -8016,7 +8029,7 @@ return {
},
{
name = "UpdateSound",
description = "Update sound buffer with new data (data and frame count should fit in sound)",
description = "Update sound buffer with new data (default data format: 32 bit float, stereo)",
returnType = "void",
params = {
{type = "Sound", name = "sound"},
@ -8126,7 +8139,7 @@ return {
},
{
name = "SetSoundPan",
description = "Set pan for a sound (0.5 is center)",
description = "Set pan for a sound (-1.0 left, 0.0 center, 1.0 right)",
returnType = "void",
params = {
{type = "Sound", name = "sound"},
@ -8289,7 +8302,7 @@ return {
},
{
name = "SetMusicPan",
description = "Set pan for a music (0.5 is center)",
description = "Set pan for a music (-1.0 left, 0.0 center, 1.0 right)",
returnType = "void",
params = {
{type = "Music", name = "music"},