summaryrefslogtreecommitdiffhomepage
path: root/parser/output/raylib_api.json
diff options
context:
space:
mode:
authorDor Shapira <[email protected]>2022-10-11 13:14:01 +0300
committerGitHub <[email protected]>2022-10-11 12:14:01 +0200
commit0d04ceafbf4892d5a11bc9f642232c331785f903 (patch)
treeb99580d9b0ed4b73a5f6c6dba2d3ec5e0252766d /parser/output/raylib_api.json
parent8025b052b3de1fbdeaa07cdea0cdea335db22ac6 (diff)
downloadraylib-0d04ceafbf4892d5a11bc9f642232c331785f903.tar.gz
raylib-0d04ceafbf4892d5a11bc9f642232c331785f903.zip
build raylib_api without the 'vectex' tyops (#2749)
Diffstat (limited to 'parser/output/raylib_api.json')
-rw-r--r--parser/output/raylib_api.json188
1 files changed, 165 insertions, 23 deletions
diff --git a/parser/output/raylib_api.json b/parser/output/raylib_api.json
index 11288bf1..d9a54812 100644
--- a/parser/output/raylib_api.json
+++ b/parser/output/raylib_api.json
@@ -9,7 +9,7 @@
{
"name": "RAYLIB_VERSION",
"type": "STRING",
- "value": "4.2",
+ "value": "4.5-dev",
"description": ""
},
{
@@ -729,7 +729,7 @@
{
"type": "float",
"name": "fovy",
- "description": "Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic"
+ "description": "Camera field-of-view aperture in Y (degrees) in perspective, used as near plane width in orthographic"
},
{
"type": "int",
@@ -905,7 +905,7 @@
},
{
"name": "Transform",
- "description": "Transform, vectex transformation data",
+ "description": "Transform, vertex transformation data",
"fields": [
{
"type": "Vector3",
@@ -2051,7 +2051,7 @@
{
"name": "MOUSE_BUTTON_FORWARD",
"value": 5,
- "description": "Mouse button fordward (advanced mouse device)"
+ "description": "Mouse button forward (advanced mouse device)"
},
{
"name": "MOUSE_BUTTON_BACK",
@@ -2795,6 +2795,11 @@
"name": "BLEND_CUSTOM",
"value": 6,
"description": "Blend textures using custom src/dst factors (use rlSetBlendMode())"
+ },
+ {
+ "name": "BLEND_CUSTOM_SEPARATE",
+ "value": 7,
+ "description": "Blend textures using custom rgb/alpha separate src/dst factors (use rlSetBlendModeSeparate())"
}
]
},
@@ -3971,7 +3976,7 @@
"returnType": "void *",
"params": [
{
- "type": "int",
+ "type": "unsigned int",
"name": "size"
}
]
@@ -3986,7 +3991,7 @@
"name": "ptr"
},
{
- "type": "int",
+ "type": "unsigned int",
"name": "size"
}
]
@@ -5996,6 +6001,25 @@
]
},
{
+ "name": "CheckCollisionPointPoly",
+ "description": "Check if point is within a polygon described by array of vertices",
+ "returnType": "bool",
+ "params": [
+ {
+ "type": "Vector2",
+ "name": "point"
+ },
+ {
+ "type": "Vector2 *",
+ "name": "points"
+ },
+ {
+ "type": "int",
+ "name": "pointCount"
+ }
+ ]
+ },
+ {
"name": "CheckCollisionLines",
"description": "Check the collision between two lines defined by two points each, returns collision point by reference",
"returnType": "bool",
@@ -6332,6 +6356,33 @@
]
},
{
+ "name": "GenImagePerlinNoise",
+ "description": "Generate image: perlin noise",
+ "returnType": "Image",
+ "params": [
+ {
+ "type": "int",
+ "name": "width"
+ },
+ {
+ "type": "int",
+ "name": "height"
+ },
+ {
+ "type": "int",
+ "name": "offsetX"
+ },
+ {
+ "type": "int",
+ "name": "offsetY"
+ },
+ {
+ "type": "float",
+ "name": "scale"
+ }
+ ]
+ },
+ {
"name": "GenImageCellular",
"description": "Generate image: cellular algorithm, bigger tileSize means bigger cells",
"returnType": "Image",
@@ -6963,7 +7014,7 @@
},
{
"name": "ImageDrawCircle",
- "description": "Draw circle within an image",
+ "description": "Draw a filled circle within an image",
"returnType": "void",
"params": [
{
@@ -6990,7 +7041,57 @@
},
{
"name": "ImageDrawCircleV",
- "description": "Draw circle within an image (Vector version)",
+ "description": "Draw a filled circle within an image (Vector version)",
+ "returnType": "void",
+ "params": [
+ {
+ "type": "Image *",
+ "name": "dst"
+ },
+ {
+ "type": "Vector2",
+ "name": "center"
+ },
+ {
+ "type": "int",
+ "name": "radius"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
+ },
+ {
+ "name": "ImageDrawCircleLines",
+ "description": "Draw circle outline within an image",
+ "returnType": "void",
+ "params": [
+ {
+ "type": "Image *",
+ "name": "dst"
+ },
+ {
+ "type": "int",
+ "name": "centerX"
+ },
+ {
+ "type": "int",
+ "name": "centerY"
+ },
+ {
+ "type": "int",
+ "name": "radius"
+ },
+ {
+ "type": "Color",
+ "name": "color"
+ }
+ ]
+ },
+ {
+ "name": "ImageDrawCircleLinesV",
+ "description": "Draw circle outline within an image (Vector version)",
"returnType": "void",
"params": [
{
@@ -8222,6 +8323,32 @@
]
},
{
+ "name": "LoadUTF8",
+ "description": "Load UTF-8 text encoded from codepoints array",
+ "returnType": "char *",
+ "params": [
+ {
+ "type": "const int *",
+ "name": "codepoints"
+ },
+ {
+ "type": "int",
+ "name": "length"
+ }
+ ]
+ },
+ {
+ "name": "UnloadUTF8",
+ "description": "Unload UTF-8 text encoded from codepoints array",
+ "returnType": "void",
+ "params": [
+ {
+ "type": "char *",
+ "name": "text"
+ }
+ ]
+ },
+ {
"name": "LoadCodepoints",
"description": "Load all codepoints from a UTF-8 text string, codepoints count returned by parameter",
"returnType": "int *",
@@ -8269,37 +8396,52 @@
},
{
"type": "int *",
- "name": "bytesProcessed"
+ "name": "codepointSize"
}
]
},
{
- "name": "CodepointToUTF8",
- "description": "Encode one codepoint into UTF-8 byte array (array length returned as parameter)",
- "returnType": "const char *",
+ "name": "GetCodepointNext",
+ "description": "Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure",
+ "returnType": "int",
"params": [
{
- "type": "int",
- "name": "codepoint"
+ "type": "const char *",
+ "name": "text"
},
{
"type": "int *",
- "name": "byteSize"
+ "name": "codepointSize"
}
]
},
{
- "name": "TextCodepointsToUTF8",
- "description": "Encode text as codepoints array into UTF-8 text string (WARNING: memory must be freed!)",
- "returnType": "char *",
+ "name": "GetCodepointPrevious",
+ "description": "Get previous codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure",
+ "returnType": "int",
"params": [
{
- "type": "const int *",
- "name": "codepoints"
+ "type": "const char *",
+ "name": "text"
},
{
+ "type": "int *",
+ "name": "codepointSize"
+ }
+ ]
+ },
+ {
+ "name": "CodepointToUTF8",
+ "description": "Encode one codepoint into UTF-8 byte array (array length returned as parameter)",
+ "returnType": "const char *",
+ "params": [
+ {
"type": "int",
- "name": "length"
+ "name": "codepoint"
+ },
+ {
+ "type": "int *",
+ "name": "utf8Size"
}
]
},
@@ -10685,7 +10827,7 @@
},
{
"name": "AttachAudioStreamProcessor",
- "description": "",
+ "description": "Attach audio stream processor to stream",
"returnType": "void",
"params": [
{
@@ -10700,7 +10842,7 @@
},
{
"name": "DetachAudioStreamProcessor",
- "description": "",
+ "description": "Detach audio stream processor from stream",
"returnType": "void",
"params": [
{