diff options
Diffstat (limited to 'parser/output/raylib_api.lua')
| -rw-r--r-- | parser/output/raylib_api.lua | 65 |
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", |
