summaryrefslogtreecommitdiffhomepage
path: root/parser/output/raylib_api.lua
diff options
context:
space:
mode:
authorseiren <[email protected]>2023-12-31 23:06:46 +0900
committerGitHub <[email protected]>2023-12-31 15:06:46 +0100
commit0a25a3ed7051377d7966cec6c3a3555d8ee0d551 (patch)
treec37b9d0dc752fad95bc5873faf48583e87c872cc /parser/output/raylib_api.lua
parent710e811b2768e573b3c1a9eb4883f7a552d3d101 (diff)
downloadraylib-0a25a3ed7051377d7966cec6c3a3555d8ee0d551.tar.gz
raylib-0a25a3ed7051377d7966cec6c3a3555d8ee0d551.zip
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>
Diffstat (limited to 'parser/output/raylib_api.lua')
-rw-r--r--parser/output/raylib_api.lua65
1 files changed, 49 insertions, 16 deletions
diff --git a/parser/output/raylib_api.lua b/parser/output/raylib_api.lua
index 18375e17..091b2a0a 100644
--- a/parser/output/raylib_api.lua
+++ b/parser/output/raylib_api.lua
@@ -1233,11 +1233,6 @@ return {
},
{
type = "float",
- name = "vScreenCenter",
- description = "Screen center in meters"
- },
- {
- type = "float",
name = "eyeToScreenDistance",
description = "Distance between eye and display in meters"
},
@@ -4150,7 +4145,7 @@ return {
description = "Unload automation events list from file",
returnType = "void",
params = {
- {type = "AutomationEventList *", name = "list"}
+ {type = "AutomationEventList", name = "list"}
}
},
{
@@ -4540,6 +4535,16 @@ return {
}
},
{
+ 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",
returnType = "void",
@@ -5264,6 +5269,17 @@ return {
}
},
{
+ 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'",
returnType = "Image",
@@ -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"}
}
@@ -6703,6 +6719,14 @@ return {
}
},
{
+ 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",
returnType = "void",
@@ -7127,15 +7151,6 @@ return {
}
},
{
- 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",
returnType = "BoundingBox",
@@ -7152,6 +7167,24 @@ return {
}
},
{
+ 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",
returnType = "Mesh",