Update raylib_api.* by CI (#3692)

* wip: add parse.yml

* Temporarily force run

* Auto commit parse files

* Update raylib_api.* by CI

* Remove temporary setting

* format

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
seiren
2023-12-31 23:06:46 +09:00
committed by GitHub
parent 710e811b27
commit 0a25a3ed70
5 changed files with 584 additions and 416 deletions

View File

@ -1231,11 +1231,6 @@ return {
name = "vScreenSize",
description = "Vertical size in meters"
},
{
type = "float",
name = "vScreenCenter",
description = "Screen center in meters"
},
{
type = "float",
name = "eyeToScreenDistance",
@ -4150,7 +4145,7 @@ return {
description = "Unload automation events list from file",
returnType = "void",
params = {
{type = "AutomationEventList *", name = "list"}
{type = "AutomationEventList", name = "list"}
}
},
{
@ -4539,6 +4534,16 @@ return {
{type = "Rectangle", name = "source"}
}
},
{
name = "GetShapesTexture",
description = "Get texture that is used for shapes drawing",
returnType = "Texture2D"
},
{
name = "GetShapesTextureRectangle",
description = "Get texture source rectangle that is used for shapes drawing",
returnType = "Rectangle"
},
{
name = "DrawPixel",
description = "Draw a pixel",
@ -5263,6 +5268,17 @@ return {
{type = "int *", name = "frames"}
}
},
{
name = "LoadImageAnimFromMemory",
description = "Load image sequence from memory buffer",
returnType = "Image",
params = {
{type = "const char *", name = "fileType"},
{type = "const unsigned char *", name = "fileData"},
{type = "int", name = "dataSize"},
{type = "int *", name = "frames"}
}
},
{
name = "LoadImageFromMemory",
description = "Load image from memory buffer, fileType refers to extension: i.e. '.png'",
@ -6616,7 +6632,7 @@ return {
description = "Replace text string (WARNING: memory must be freed!)",
returnType = "char *",
params = {
{type = "char *", name = "text"},
{type = "const char *", name = "text"},
{type = "const char *", name = "replace"},
{type = "const char *", name = "by"}
}
@ -6702,6 +6718,14 @@ return {
{type = "const char *", name = "text"}
}
},
{
name = "TextToFloat",
description = "Get float value from text (negative values not supported)",
returnType = "float",
params = {
{type = "const char *", name = "text"}
}
},
{
name = "DrawLine3D",
description = "Draw a line in 3D world space",
@ -7126,15 +7150,6 @@ return {
{type = "int", name = "instances"}
}
},
{
name = "ExportMesh",
description = "Export mesh data to file, returns true on success",
returnType = "bool",
params = {
{type = "Mesh", name = "mesh"},
{type = "const char *", name = "fileName"}
}
},
{
name = "GetMeshBoundingBox",
description = "Compute mesh bounding box limits",
@ -7151,6 +7166,24 @@ return {
{type = "Mesh *", name = "mesh"}
}
},
{
name = "ExportMesh",
description = "Export mesh data to file, returns true on success",
returnType = "bool",
params = {
{type = "Mesh", name = "mesh"},
{type = "const char *", name = "fileName"}
}
},
{
name = "ExportMeshAsCode",
description = "Export mesh as code file (.h) defining multiple arrays of vertex attributes",
returnType = "bool",
params = {
{type = "Mesh", name = "mesh"},
{type = "const char *", name = "fileName"}
}
},
{
name = "GenMeshPoly",
description = "Generate polygonal mesh",