Merge branch 'master' into master
This commit is contained in:
commit
a81828e910
4 changed files with 35143 additions and 8199 deletions
|
|
@ -40,7 +40,7 @@
|
|||
"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 @@
|
|||
{
|
||||
"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 @@
|
|||
"name": "ModelAnimation",
|
||||
"description": "ModelAnimation",
|
||||
"fields": [
|
||||
{
|
||||
"type": "char[32]",
|
||||
"name": "name",
|
||||
"description": "Animation name"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "boneCount",
|
||||
|
|
@ -1048,11 +1053,6 @@
|
|||
"type": "Transform **",
|
||||
"name": "framePoses",
|
||||
"description": "Poses array by frame"
|
||||
},
|
||||
{
|
||||
"type": "char[32]",
|
||||
"name": "name",
|
||||
"description": "Animation name"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -1324,11 +1324,6 @@
|
|||
"name": "FilePathList",
|
||||
"description": "File path list",
|
||||
"fields": [
|
||||
{
|
||||
"type": "unsigned int",
|
||||
"name": "capacity",
|
||||
"description": "Filepaths max entries"
|
||||
},
|
||||
{
|
||||
"type": "unsigned int",
|
||||
"name": "count",
|
||||
|
|
@ -4191,6 +4186,17 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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...)",
|
||||
|
|
@ -4211,13 +4217,13 @@
|
|||
]
|
||||
},
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -4258,61 +4264,6 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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)",
|
||||
|
|
@ -4414,6 +4365,50 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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)",
|
||||
|
|
@ -4646,7 +4641,7 @@
|
|||
"params": [
|
||||
{
|
||||
"type": "const char *",
|
||||
"name": "dir"
|
||||
"name": "dirPath"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
@ -4734,6 +4729,36 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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()",
|
||||
|
|
@ -11772,7 +11797,7 @@
|
|||
},
|
||||
{
|
||||
"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": [
|
||||
{
|
||||
|
|
@ -11939,7 +11964,7 @@
|
|||
},
|
||||
{
|
||||
"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": [
|
||||
{
|
||||
|
|
@ -12192,7 +12217,7 @@
|
|||
},
|
||||
{
|
||||
"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": [
|
||||
{
|
||||
|
|
|
|||
|
|
@ -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"},
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -7,7 +7,7 @@
|
|||
<Define name="RAYLIB_VERSION_PATCH" type="INT" value="0" desc="" />
|
||||
<Define name="RAYLIB_VERSION" type="STRING" value="5.6-dev" desc="" />
|
||||
<Define name="__declspec(x)" type="MACRO" value="__attribute__((x))" desc="" />
|
||||
<Define name="RLAPI" type="UNKNOWN" value="__declspec(dllexport)" desc="We are building the library as a Win32 shared library (.dll)" />
|
||||
<Define name="RLAPI" type="UNKNOWN" value="__declspec(dllexport)" desc="Building the library as a Win32 shared library (.dll)" />
|
||||
<Define name="PI" type="FLOAT" value="3.14159265358979323846" desc="" />
|
||||
<Define name="DEG2RAD" type="FLOAT_MATH" value="(PI/180.0f)" desc="" />
|
||||
<Define name="RAD2DEG" type="FLOAT_MATH" value="(180.0f/PI)" desc="" />
|
||||
|
|
@ -155,10 +155,10 @@
|
|||
<Field type="int" name="projection" desc="Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC" />
|
||||
</Struct>
|
||||
<Struct name="Camera2D" fieldCount="4" desc="Camera2D, defines position/orientation in 2d space">
|
||||
<Field type="Vector2" name="offset" desc="Camera offset (displacement from target)" />
|
||||
<Field type="Vector2" name="target" desc="Camera target (rotation and zoom origin)" />
|
||||
<Field type="float" name="rotation" desc="Camera rotation in degrees" />
|
||||
<Field type="float" name="zoom" desc="Camera zoom (scaling), should be 1.0f by default" />
|
||||
<Field type="Vector2" name="offset" desc="Camera offset (screen space offset from window origin)" />
|
||||
<Field type="Vector2" name="target" desc="Camera target (world space target point that is mapped to screen space offset)" />
|
||||
<Field type="float" name="rotation" desc="Camera rotation in degrees (pivots around target)" />
|
||||
<Field type="float" name="zoom" desc="Camera zoom (scaling around target), must not be set to 0, set to 1.0f for no scale" />
|
||||
</Struct>
|
||||
<Struct name="Mesh" fieldCount="17" desc="Mesh, vertex data and vao/vbo">
|
||||
<Field type="int" name="vertexCount" desc="Number of vertices stored in arrays" />
|
||||
|
|
@ -214,11 +214,11 @@
|
|||
<Field type="Transform *" name="bindPose" desc="Bones base transformation (pose)" />
|
||||
</Struct>
|
||||
<Struct name="ModelAnimation" fieldCount="5" desc="ModelAnimation">
|
||||
<Field type="char[32]" name="name" desc="Animation name" />
|
||||
<Field type="int" name="boneCount" desc="Number of bones" />
|
||||
<Field type="int" name="frameCount" desc="Number of animation frames" />
|
||||
<Field type="BoneInfo *" name="bones" desc="Bones information (skeleton)" />
|
||||
<Field type="Transform **" name="framePoses" desc="Poses array by frame" />
|
||||
<Field type="char[32]" name="name" desc="Animation name" />
|
||||
</Struct>
|
||||
<Struct name="Ray" fieldCount="2" desc="Ray, ray for raycasting">
|
||||
<Field type="Vector3" name="position" desc="Ray position (origin)" />
|
||||
|
|
@ -280,8 +280,7 @@
|
|||
<Field type="float[2]" name="scale" desc="VR distortion scale" />
|
||||
<Field type="float[2]" name="scaleIn" desc="VR distortion scale in" />
|
||||
</Struct>
|
||||
<Struct name="FilePathList" fieldCount="3" desc="File path list">
|
||||
<Field type="unsigned int" name="capacity" desc="Filepaths max entries" />
|
||||
<Struct name="FilePathList" fieldCount="2" desc="File path list">
|
||||
<Field type="unsigned int" name="count" desc="Filepaths entries count" />
|
||||
<Field type="char **" name="paths" desc="Filepaths entries" />
|
||||
</Struct>
|
||||
|
|
@ -988,13 +987,16 @@
|
|||
<Function name="OpenURL" retType="void" paramCount="1" desc="Open URL with default system browser (if available)">
|
||||
<Param type="const char *" name="url" desc="" />
|
||||
</Function>
|
||||
<Function name="SetTraceLogLevel" retType="void" paramCount="1" desc="Set the current threshold (minimum) log level">
|
||||
<Param type="int" name="logLevel" desc="" />
|
||||
</Function>
|
||||
<Function name="TraceLog" retType="void" paramCount="3" desc="Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)">
|
||||
<Param type="int" name="logLevel" desc="" />
|
||||
<Param type="const char *" name="text" desc="" />
|
||||
<Param type="..." name="args" desc="" />
|
||||
</Function>
|
||||
<Function name="SetTraceLogLevel" retType="void" paramCount="1" desc="Set the current threshold (minimum) log level">
|
||||
<Param type="int" name="logLevel" desc="" />
|
||||
<Function name="SetTraceLogCallback" retType="void" paramCount="1" desc="Set custom trace log">
|
||||
<Param type="TraceLogCallback" name="callback" desc="" />
|
||||
</Function>
|
||||
<Function name="MemAlloc" retType="void *" paramCount="1" desc="Internal memory allocator">
|
||||
<Param type="unsigned int" name="size" desc="" />
|
||||
|
|
@ -1006,21 +1008,6 @@
|
|||
<Function name="MemFree" retType="void" paramCount="1" desc="Internal memory free">
|
||||
<Param type="void *" name="ptr" desc="" />
|
||||
</Function>
|
||||
<Function name="SetTraceLogCallback" retType="void" paramCount="1" desc="Set custom trace log">
|
||||
<Param type="TraceLogCallback" name="callback" desc="" />
|
||||
</Function>
|
||||
<Function name="SetLoadFileDataCallback" retType="void" paramCount="1" desc="Set custom file binary data loader">
|
||||
<Param type="LoadFileDataCallback" name="callback" desc="" />
|
||||
</Function>
|
||||
<Function name="SetSaveFileDataCallback" retType="void" paramCount="1" desc="Set custom file binary data saver">
|
||||
<Param type="SaveFileDataCallback" name="callback" desc="" />
|
||||
</Function>
|
||||
<Function name="SetLoadFileTextCallback" retType="void" paramCount="1" desc="Set custom file text data loader">
|
||||
<Param type="LoadFileTextCallback" name="callback" desc="" />
|
||||
</Function>
|
||||
<Function name="SetSaveFileTextCallback" retType="void" paramCount="1" desc="Set custom file text data saver">
|
||||
<Param type="SaveFileTextCallback" name="callback" desc="" />
|
||||
</Function>
|
||||
<Function name="LoadFileData" retType="unsigned char *" paramCount="2" desc="Load file data as byte array (read)">
|
||||
<Param type="const char *" name="fileName" desc="" />
|
||||
<Param type="int *" name="dataSize" desc="" />
|
||||
|
|
@ -1048,6 +1035,18 @@
|
|||
<Param type="const char *" name="fileName" desc="" />
|
||||
<Param type="const char *" name="text" desc="" />
|
||||
</Function>
|
||||
<Function name="SetLoadFileDataCallback" retType="void" paramCount="1" desc="Set custom file binary data loader">
|
||||
<Param type="LoadFileDataCallback" name="callback" desc="" />
|
||||
</Function>
|
||||
<Function name="SetSaveFileDataCallback" retType="void" paramCount="1" desc="Set custom file binary data saver">
|
||||
<Param type="SaveFileDataCallback" name="callback" desc="" />
|
||||
</Function>
|
||||
<Function name="SetLoadFileTextCallback" retType="void" paramCount="1" desc="Set custom file text data loader">
|
||||
<Param type="LoadFileTextCallback" name="callback" desc="" />
|
||||
</Function>
|
||||
<Function name="SetSaveFileTextCallback" retType="void" paramCount="1" desc="Set custom file text data saver">
|
||||
<Param type="SaveFileTextCallback" name="callback" desc="" />
|
||||
</Function>
|
||||
<Function name="FileRename" retType="int" paramCount="2" desc="Rename file (if exists)">
|
||||
<Param type="const char *" name="fileName" desc="" />
|
||||
<Param type="const char *" name="fileRename" desc="" />
|
||||
|
|
@ -1111,7 +1110,7 @@
|
|||
<Param type="const char *" name="dirPath" desc="" />
|
||||
</Function>
|
||||
<Function name="ChangeDirectory" retType="bool" paramCount="1" desc="Change working directory, return true on success">
|
||||
<Param type="const char *" name="dir" desc="" />
|
||||
<Param type="const char *" name="dirPath" desc="" />
|
||||
</Function>
|
||||
<Function name="IsPathFile" retType="bool" paramCount="1" desc="Check if a given path is a file or a directory">
|
||||
<Param type="const char *" name="path" desc="" />
|
||||
|
|
@ -1137,6 +1136,14 @@
|
|||
<Function name="UnloadDroppedFiles" retType="void" paramCount="1" desc="Unload dropped filepaths">
|
||||
<Param type="FilePathList" name="files" desc="" />
|
||||
</Function>
|
||||
<Function name="GetDirectoryFileCount" retType="unsigned int" paramCount="1" desc="Get the file count in a directory">
|
||||
<Param type="const char *" name="dirPath" desc="" />
|
||||
</Function>
|
||||
<Function name="GetDirectoryFileCountEx" retType="unsigned int" paramCount="3" desc="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">
|
||||
<Param type="const char *" name="basePath" desc="" />
|
||||
<Param type="const char *" name="filter" desc="" />
|
||||
<Param type="bool" name="scanSubdirs" desc="" />
|
||||
</Function>
|
||||
<Function name="CompressData" retType="unsigned char *" paramCount="3" desc="Compress data (DEFLATE algorithm), memory must be MemFree()">
|
||||
<Param type="const unsigned char *" name="data" desc="" />
|
||||
<Param type="int" name="dataSize" desc="" />
|
||||
|
|
@ -3009,7 +3016,7 @@
|
|||
<Function name="IsSoundValid" retType="bool" paramCount="1" desc="Checks if a sound is valid (data loaded and buffers initialized)">
|
||||
<Param type="Sound" name="sound" desc="" />
|
||||
</Function>
|
||||
<Function name="UpdateSound" retType="void" paramCount="3" desc="Update sound buffer with new data (data and frame count should fit in sound)">
|
||||
<Function name="UpdateSound" retType="void" paramCount="3" desc="Update sound buffer with new data (default data format: 32 bit float, stereo)">
|
||||
<Param type="Sound" name="sound" desc="" />
|
||||
<Param type="const void *" name="data" desc="" />
|
||||
<Param type="int" name="sampleCount" desc="" />
|
||||
|
|
@ -3054,7 +3061,7 @@
|
|||
<Param type="Sound" name="sound" desc="" />
|
||||
<Param type="float" name="pitch" desc="" />
|
||||
</Function>
|
||||
<Function name="SetSoundPan" retType="void" paramCount="2" desc="Set pan for a sound (0.5 is center)">
|
||||
<Function name="SetSoundPan" retType="void" paramCount="2" desc="Set pan for a sound (-1.0 left, 0.0 center, 1.0 right)">
|
||||
<Param type="Sound" name="sound" desc="" />
|
||||
<Param type="float" name="pan" desc="" />
|
||||
</Function>
|
||||
|
|
@ -3122,7 +3129,7 @@
|
|||
<Param type="Music" name="music" desc="" />
|
||||
<Param type="float" name="pitch" desc="" />
|
||||
</Function>
|
||||
<Function name="SetMusicPan" retType="void" paramCount="2" desc="Set pan for a music (0.5 is center)">
|
||||
<Function name="SetMusicPan" retType="void" paramCount="2" desc="Set pan for a music (-1.0 left, 0.0 center, 1.0 right)">
|
||||
<Param type="Music" name="music" desc="" />
|
||||
<Param type="float" name="pan" desc="" />
|
||||
</Function>
|
||||
|
|
|
|||
Loading…
Reference in a new issue