From 0a25a3ed7051377d7966cec6c3a3555d8ee0d551 Mon Sep 17 00:00:00 2001 From: seiren Date: Sun, 31 Dec 2023 23:06:46 +0900 Subject: 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] --- parser/output/raylib_api.json | 94 ++++++++++++++++++++++++++++++++++--------- 1 file changed, 74 insertions(+), 20 deletions(-) (limited to 'parser/output/raylib_api.json') diff --git a/parser/output/raylib_api.json b/parser/output/raylib_api.json index 4b7049d8..c64a080f 100644 --- a/parser/output/raylib_api.json +++ b/parser/output/raylib_api.json @@ -1231,11 +1231,6 @@ "name": "vScreenSize", "description": "Vertical size in meters" }, - { - "type": "float", - "name": "vScreenCenter", - "description": "Screen center in meters" - }, { "type": "float", "name": "eyeToScreenDistance", @@ -4637,7 +4632,7 @@ "returnType": "void", "params": [ { - "type": "AutomationEventList *", + "type": "AutomationEventList", "name": "list" } ] @@ -5172,6 +5167,16 @@ } ] }, + { + "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", @@ -6703,6 +6708,29 @@ } ] }, + { + "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'", @@ -9194,7 +9222,7 @@ "returnType": "char *", "params": [ { - "type": "char *", + "type": "const char *", "name": "text" }, { @@ -9342,6 +9370,17 @@ } ] }, + { + "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", @@ -10220,39 +10259,54 @@ ] }, { - "name": "ExportMesh", - "description": "Export mesh data to file, returns true on success", - "returnType": "bool", + "name": "GetMeshBoundingBox", + "description": "Compute mesh bounding box limits", + "returnType": "BoundingBox", "params": [ { "type": "Mesh", "name": "mesh" - }, + } + ] + }, + { + "name": "GenMeshTangents", + "description": "Compute mesh tangents", + "returnType": "void", + "params": [ { - "type": "const char *", - "name": "fileName" + "type": "Mesh *", + "name": "mesh" } ] }, { - "name": "GetMeshBoundingBox", - "description": "Compute mesh bounding box limits", - "returnType": "BoundingBox", + "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": "GenMeshTangents", - "description": "Compute mesh tangents", - "returnType": "void", + "name": "ExportMeshAsCode", + "description": "Export mesh as code file (.h) defining multiple arrays of vertex attributes", + "returnType": "bool", "params": [ { - "type": "Mesh *", + "type": "Mesh", "name": "mesh" + }, + { + "type": "const char *", + "name": "fileName" } ] }, -- cgit v1.2.3