diff --git a/tools/rlparser/output/raylib_api.json b/tools/rlparser/output/raylib_api.json index b42fd2d61..915d5c665 100644 --- a/tools/rlparser/output/raylib_api.json +++ b/tools/rlparser/output/raylib_api.json @@ -5489,7 +5489,7 @@ }, { "type": "Rectangle", - "name": "source" + "name": "rec" } ] }, @@ -8913,7 +8913,7 @@ }, { "type": "Rectangle", - "name": "source" + "name": "rec" }, { "type": "Vector2", @@ -8927,7 +8927,7 @@ }, { "name": "DrawTexturePro", - "description": "Draw a part of a texture defined by a rectangle with 'pro' parameters", + "description": "Draw a part of a texture defined by a source rectangle to destination rectangle, with scaling and rotation", "returnType": "void", "params": [ { @@ -8936,11 +8936,11 @@ }, { "type": "Rectangle", - "name": "source" + "name": "srcrec" }, { "type": "Rectangle", - "name": "dest" + "name": "dstrec" }, { "type": "Vector2", @@ -8971,7 +8971,7 @@ }, { "type": "Rectangle", - "name": "dest" + "name": "dstrec" }, { "type": "Vector2", @@ -10983,7 +10983,7 @@ }, { "name": "DrawBillboardRec", - "description": "Draw a billboard texture defined by source", + "description": "Draw a billboard texture defined by rectangle", "returnType": "void", "params": [ { @@ -10996,7 +10996,7 @@ }, { "type": "Rectangle", - "name": "source" + "name": "rec" }, { "type": "Vector3", @@ -11014,7 +11014,7 @@ }, { "name": "DrawBillboardPro", - "description": "Draw a billboard texture defined by source and rotation", + "description": "Draw a billboard texture defined by source rectangle with scaling and rotation", "returnType": "void", "params": [ { @@ -11027,7 +11027,7 @@ }, { "type": "Rectangle", - "name": "source" + "name": "rec" }, { "type": "Vector3", diff --git a/tools/rlparser/output/raylib_api.lua b/tools/rlparser/output/raylib_api.lua index 859ef38ba..d784cb768 100644 --- a/tools/rlparser/output/raylib_api.lua +++ b/tools/rlparser/output/raylib_api.lua @@ -4752,7 +4752,7 @@ return { returnType = "void", params = { {type = "Texture2D", name = "texture"}, - {type = "Rectangle", name = "source"} + {type = "Rectangle", name = "rec"} } }, { @@ -6475,19 +6475,19 @@ return { returnType = "void", params = { {type = "Texture2D", name = "texture"}, - {type = "Rectangle", name = "source"}, + {type = "Rectangle", name = "rec"}, {type = "Vector2", name = "position"}, {type = "Color", name = "tint"} } }, { name = "DrawTexturePro", - description = "Draw a part of a texture defined by a rectangle with 'pro' parameters", + description = "Draw a part of a texture defined by a source rectangle to destination rectangle, with scaling and rotation", returnType = "void", params = { {type = "Texture2D", name = "texture"}, - {type = "Rectangle", name = "source"}, - {type = "Rectangle", name = "dest"}, + {type = "Rectangle", name = "srcrec"}, + {type = "Rectangle", name = "dstrec"}, {type = "Vector2", name = "origin"}, {type = "float", name = "rotation"}, {type = "Color", name = "tint"} @@ -6500,7 +6500,7 @@ return { params = { {type = "Texture2D", name = "texture"}, {type = "NPatchInfo", name = "nPatchInfo"}, - {type = "Rectangle", name = "dest"}, + {type = "Rectangle", name = "dstrec"}, {type = "Vector2", name = "origin"}, {type = "float", name = "rotation"}, {type = "Color", name = "tint"} @@ -7572,12 +7572,12 @@ return { }, { name = "DrawBillboardRec", - description = "Draw a billboard texture defined by source", + description = "Draw a billboard texture defined by rectangle", returnType = "void", params = { {type = "Camera", name = "camera"}, {type = "Texture2D", name = "texture"}, - {type = "Rectangle", name = "source"}, + {type = "Rectangle", name = "rec"}, {type = "Vector3", name = "position"}, {type = "Vector2", name = "size"}, {type = "Color", name = "tint"} @@ -7585,12 +7585,12 @@ return { }, { name = "DrawBillboardPro", - description = "Draw a billboard texture defined by source and rotation", + description = "Draw a billboard texture defined by source rectangle with scaling and rotation", returnType = "void", params = { {type = "Camera", name = "camera"}, {type = "Texture2D", name = "texture"}, - {type = "Rectangle", name = "source"}, + {type = "Rectangle", name = "rec"}, {type = "Vector3", name = "position"}, {type = "Vector3", name = "up"}, {type = "Vector2", name = "size"}, diff --git a/tools/rlparser/output/raylib_api.txt b/tools/rlparser/output/raylib_api.txt index 0051c6a14..11f23d80a 100644 --- a/tools/rlparser/output/raylib_api.txt +++ b/tools/rlparser/output/raylib_api.txt @@ -2182,7 +2182,7 @@ Function 219: SetShapesTexture() (2 input parameters) Return type: void Description: Set texture and rectangle to be used on shapes drawing Param[1]: texture (type: Texture2D) - Param[2]: source (type: Rectangle) + Param[2]: rec (type: Rectangle) Function 220: GetShapesTexture() (0 input parameters) Name: GetShapesTexture Return type: Texture2D @@ -3416,16 +3416,16 @@ Function 385: DrawTextureRec() (4 input parameters) Return type: void Description: Draw a part of a texture defined by a rectangle Param[1]: texture (type: Texture2D) - Param[2]: source (type: Rectangle) + Param[2]: rec (type: Rectangle) Param[3]: position (type: Vector2) Param[4]: tint (type: Color) Function 386: DrawTexturePro() (6 input parameters) Name: DrawTexturePro Return type: void - Description: Draw a part of a texture defined by a rectangle with 'pro' parameters + Description: Draw a part of a texture defined by a source rectangle to destination rectangle, with scaling and rotation Param[1]: texture (type: Texture2D) - Param[2]: source (type: Rectangle) - Param[3]: dest (type: Rectangle) + Param[2]: srcrec (type: Rectangle) + Param[3]: dstrec (type: Rectangle) Param[4]: origin (type: Vector2) Param[5]: rotation (type: float) Param[6]: tint (type: Color) @@ -3435,7 +3435,7 @@ Function 387: DrawTextureNPatch() (6 input parameters) Description: Draw a texture (or part of it) that stretches or shrinks nicely Param[1]: texture (type: Texture2D) Param[2]: nPatchInfo (type: NPatchInfo) - Param[3]: dest (type: Rectangle) + Param[3]: dstrec (type: Rectangle) Param[4]: origin (type: Vector2) Param[5]: rotation (type: float) Param[6]: tint (type: Color) @@ -4185,20 +4185,20 @@ Function 495: DrawBillboard() (5 input parameters) Function 496: DrawBillboardRec() (6 input parameters) Name: DrawBillboardRec Return type: void - Description: Draw a billboard texture defined by source + Description: Draw a billboard texture defined by rectangle Param[1]: camera (type: Camera) Param[2]: texture (type: Texture2D) - Param[3]: source (type: Rectangle) + Param[3]: rec (type: Rectangle) Param[4]: position (type: Vector3) Param[5]: size (type: Vector2) Param[6]: tint (type: Color) Function 497: DrawBillboardPro() (9 input parameters) Name: DrawBillboardPro Return type: void - Description: Draw a billboard texture defined by source and rotation + Description: Draw a billboard texture defined by source rectangle with scaling and rotation Param[1]: camera (type: Camera) Param[2]: texture (type: Texture2D) - Param[3]: source (type: Rectangle) + Param[3]: rec (type: Rectangle) Param[4]: position (type: Vector3) Param[5]: up (type: Vector3) Param[6]: size (type: Vector2) diff --git a/tools/rlparser/output/raylib_api.xml b/tools/rlparser/output/raylib_api.xml index fdc1481ec..11ba9fccb 100644 --- a/tools/rlparser/output/raylib_api.xml +++ b/tools/rlparser/output/raylib_api.xml @@ -1352,7 +1352,7 @@ - + @@ -2251,14 +2251,14 @@ - + - + - - + + @@ -2266,7 +2266,7 @@ - + @@ -2797,18 +2797,18 @@ - + - + - + - +