diff --git a/parser/raylib_api.json b/parser/raylib_api.json index d9565c5c2..9aefa9b96 100644 --- a/parser/raylib_api.json +++ b/parser/raylib_api.json @@ -471,7 +471,7 @@ { "type": "float *", "name": "texcoords2", - "description": "Vertex second texture coordinates (useful for lightmaps) (shader-location = 5)" + "description": "Vertex texture second coordinates (UV - 2 components per vertex) (shader-location = 5)" }, { "type": "float *", @@ -4116,7 +4116,7 @@ }, { "name": "GetDirectoryFiles", - "description": "Get filenames in a directory path (memory should be freed)", + "description": "Get filenames in a directory path (memory must be freed)", "returnType": "char **", "params": [ { @@ -4152,7 +4152,7 @@ }, { "name": "GetDroppedFiles", - "description": "Get dropped files names (memory should be freed)", + "description": "Get dropped files names (memory must be freed)", "returnType": "char **", "params": [ { @@ -4179,7 +4179,7 @@ }, { "name": "CompressData", - "description": "Compress data (DEFLATE algorithm)", + "description": "Compress data (DEFLATE algorithm), memory must be MemFree()", "returnType": "unsigned char *", "params": [ { @@ -4198,7 +4198,7 @@ }, { "name": "DecompressData", - "description": "Decompress data (DEFLATE algorithm)", + "description": "Decompress data (DEFLATE algorithm), memory must be MemFree()", "returnType": "unsigned char *", "params": [ { @@ -4217,7 +4217,7 @@ }, { "name": "EncodeDataBase64", - "description": "Encode data to Base64 string", + "description": "Encode data to Base64 string, memory must be MemFree()", "returnType": "char *", "params": [ { @@ -4236,7 +4236,7 @@ }, { "name": "DecodeDataBase64", - "description": "Decode Base64 string data", + "description": "Decode Base64 string data, memory must be MemFree()", "returnType": "unsigned char *", "params": [ { diff --git a/parser/raylib_api.lua b/parser/raylib_api.lua index 0a127e47d..f8605b86f 100644 --- a/parser/raylib_api.lua +++ b/parser/raylib_api.lua @@ -471,7 +471,7 @@ return { { type = "float *", name = "texcoords2", - description = "Vertex second texture coordinates (useful for lightmaps) (shader-location = 5)" + description = "Vertex texture second coordinates (UV - 2 components per vertex) (shader-location = 5)" }, { type = "float *", @@ -3771,7 +3771,7 @@ return { }, { name = "GetDirectoryFiles", - description = "Get filenames in a directory path (memory should be freed)", + description = "Get filenames in a directory path (memory must be freed)", returnType = "char **", params = { {type = "const char *", name = "dirPath"}, @@ -3798,7 +3798,7 @@ return { }, { name = "GetDroppedFiles", - description = "Get dropped files names (memory should be freed)", + description = "Get dropped files names (memory must be freed)", returnType = "char **", params = { {type = "int *", name = "count"} @@ -3819,7 +3819,7 @@ return { }, { name = "CompressData", - description = "Compress data (DEFLATE algorithm)", + description = "Compress data (DEFLATE algorithm), memory must be MemFree()", returnType = "unsigned char *", params = { {type = "const unsigned char *", name = "data"}, @@ -3829,7 +3829,7 @@ return { }, { name = "DecompressData", - description = "Decompress data (DEFLATE algorithm)", + description = "Decompress data (DEFLATE algorithm), memory must be MemFree()", returnType = "unsigned char *", params = { {type = "const unsigned char *", name = "compData"}, @@ -3839,7 +3839,7 @@ return { }, { name = "EncodeDataBase64", - description = "Encode data to Base64 string", + description = "Encode data to Base64 string, memory must be MemFree()", returnType = "char *", params = { {type = "const unsigned char *", name = "data"}, @@ -3849,7 +3849,7 @@ return { }, { name = "DecodeDataBase64", - description = "Decode Base64 string data", + description = "Decode Base64 string data, memory must be MemFree()", returnType = "unsigned char *", params = { {type = "const unsigned char *", name = "data"}, diff --git a/parser/raylib_api.txt b/parser/raylib_api.txt index cf673d4da..a79e79560 100644 --- a/parser/raylib_api.txt +++ b/parser/raylib_api.txt @@ -122,7 +122,7 @@ Struct 15: Mesh (15 fields) Field[2]: int triangleCount // Number of triangles stored (indexed or not) Field[3]: float * vertices // Vertex position (XYZ - 3 components per vertex) (shader-location = 0) Field[4]: float * texcoords // Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1) - Field[5]: float * texcoords2 // Vertex second texture coordinates (useful for lightmaps) (shader-location = 5) + Field[5]: float * texcoords2 // Vertex texture second coordinates (UV - 2 components per vertex) (shader-location = 5) Field[6]: float * normals // Vertex normals (XYZ - 3 components per vertex) (shader-location = 2) Field[7]: float * tangents // Vertex tangents (XYZW - 4 components per vertex) (shader-location = 4) Field[8]: unsigned char * colors // Vertex colors (RGBA - 4 components per vertex) (shader-location = 3) @@ -1281,7 +1281,7 @@ Function 121: GetApplicationDirectory() (0 input parameters) Function 122: GetDirectoryFiles() (2 input parameters) Name: GetDirectoryFiles Return type: char ** - Description: Get filenames in a directory path (memory should be freed) + Description: Get filenames in a directory path (memory must be freed) Param[1]: dirPath (type: const char *) Param[2]: count (type: int *) Function 123: ClearDirectoryFiles() (0 input parameters) @@ -1302,7 +1302,7 @@ Function 125: IsFileDropped() (0 input parameters) Function 126: GetDroppedFiles() (1 input parameters) Name: GetDroppedFiles Return type: char ** - Description: Get dropped files names (memory should be freed) + Description: Get dropped files names (memory must be freed) Param[1]: count (type: int *) Function 127: ClearDroppedFiles() (0 input parameters) Name: ClearDroppedFiles @@ -1317,28 +1317,28 @@ Function 128: GetFileModTime() (1 input parameters) Function 129: CompressData() (3 input parameters) Name: CompressData Return type: unsigned char * - Description: Compress data (DEFLATE algorithm) + Description: Compress data (DEFLATE algorithm), memory must be MemFree() Param[1]: data (type: const unsigned char *) Param[2]: dataSize (type: int) Param[3]: compDataSize (type: int *) Function 130: DecompressData() (3 input parameters) Name: DecompressData Return type: unsigned char * - Description: Decompress data (DEFLATE algorithm) + Description: Decompress data (DEFLATE algorithm), memory must be MemFree() Param[1]: compData (type: const unsigned char *) Param[2]: compDataSize (type: int) Param[3]: dataSize (type: int *) Function 131: EncodeDataBase64() (3 input parameters) Name: EncodeDataBase64 Return type: char * - Description: Encode data to Base64 string + Description: Encode data to Base64 string, memory must be MemFree() Param[1]: data (type: const unsigned char *) Param[2]: dataSize (type: int) Param[3]: outputSize (type: int *) Function 132: DecodeDataBase64() (2 input parameters) Name: DecodeDataBase64 Return type: unsigned char * - Description: Decode Base64 string data + Description: Decode Base64 string data, memory must be MemFree() Param[1]: data (type: const unsigned char *) Param[2]: outputSize (type: int *) Function 133: SaveStorageValue() (2 input parameters) diff --git a/parser/raylib_api.xml b/parser/raylib_api.xml index d1f58b5c1..091173fab 100644 --- a/parser/raylib_api.xml +++ b/parser/raylib_api.xml @@ -106,7 +106,7 @@ - + @@ -975,7 +975,7 @@ - + @@ -986,7 +986,7 @@ - + @@ -994,22 +994,22 @@ - + - + - + - +