From dfa64f228ae95a7a3bf4a1c9ed91ac5041f78e1f Mon Sep 17 00:00:00 2001 From: BLUELOVETH Date: Fri, 24 Nov 2023 07:46:54 +0800 Subject: Update raylib_api.* (#3564) --- parser/output/raylib_api.json | 1098 +++++++++++++++++++++++++++++------------ 1 file changed, 785 insertions(+), 313 deletions(-) (limited to 'parser/output/raylib_api.json') diff --git a/parser/output/raylib_api.json b/parser/output/raylib_api.json index ef94c3d8..4b7049d8 100644 --- a/parser/output/raylib_api.json +++ b/parser/output/raylib_api.json @@ -9,13 +9,13 @@ { "name": "RAYLIB_VERSION_MAJOR", "type": "INT", - "value": 4, + "value": 5, "description": "" }, { "name": "RAYLIB_VERSION_MINOR", "type": "INT", - "value": 6, + "value": 1, "description": "" }, { @@ -27,7 +27,7 @@ { "name": "RAYLIB_VERSION", "type": "STRING", - "value": "4.6-dev", + "value": "5.1-dev", "description": "" }, { @@ -1329,6 +1329,48 @@ "description": "Filepaths entries" } ] + }, + { + "name": "AutomationEvent", + "description": "Automation event", + "fields": [ + { + "type": "unsigned int", + "name": "frame", + "description": "Event frame" + }, + { + "type": "unsigned int", + "name": "type", + "description": "Event type (AutomationEventType)" + }, + { + "type": "int[4]", + "name": "params", + "description": "Event parameters (if required)" + } + ] + }, + { + "name": "AutomationEventList", + "description": "Automation event list", + "fields": [ + { + "type": "unsigned int", + "name": "capacity", + "description": "Events max entries (MAX_AUTOMATION_EVENTS)" + }, + { + "type": "unsigned int", + "name": "count", + "description": "Events entries count" + }, + { + "type": "AutomationEvent *", + "name": "events", + "description": "Events entries" + } + ] } ], "aliases": [ @@ -3092,16 +3134,16 @@ } ] }, - { - "name": "WindowShouldClose", - "description": "Check if KEY_ESCAPE pressed or Close icon pressed", - "returnType": "bool" - }, { "name": "CloseWindow", "description": "Close window and unload OpenGL context", "returnType": "void" }, + { + "name": "WindowShouldClose", + "description": "Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)", + "returnType": "bool" + }, { "name": "IsWindowReady", "description": "Check if window has been initialized successfully", @@ -3467,27 +3509,6 @@ "description": "Disable waiting for events on EndDrawing(), automatic events polling", "returnType": "void" }, - { - "name": "SwapScreenBuffer", - "description": "Swap back buffer with front buffer (screen drawing)", - "returnType": "void" - }, - { - "name": "PollInputEvents", - "description": "Register all input events", - "returnType": "void" - }, - { - "name": "WaitTime", - "description": "Wait for some time (halt program execution)", - "returnType": "void", - "params": [ - { - "type": "double", - "name": "seconds" - } - ] - }, { "name": "ShowCursor", "description": "Shows cursor", @@ -3971,11 +3992,6 @@ } ] }, - { - "name": "GetFPS", - "description": "Get current FPS", - "returnType": "int" - }, { "name": "GetFrameTime", "description": "Get time in seconds for last frame drawn (delta time)", @@ -3986,6 +4002,43 @@ "description": "Get elapsed time in seconds since InitWindow()", "returnType": "double" }, + { + "name": "GetFPS", + "description": "Get current FPS", + "returnType": "int" + }, + { + "name": "SwapScreenBuffer", + "description": "Swap back buffer with front buffer (screen drawing)", + "returnType": "void" + }, + { + "name": "PollInputEvents", + "description": "Register all input events", + "returnType": "void" + }, + { + "name": "WaitTime", + "description": "Wait for some time (halt program execution)", + "returnType": "void", + "params": [ + { + "type": "double", + "name": "seconds" + } + ] + }, + { + "name": "SetRandomSeed", + "description": "Set the seed for the random number generator", + "returnType": "void", + "params": [ + { + "type": "unsigned int", + "name": "seed" + } + ] + }, { "name": "GetRandomValue", "description": "Get a random value between min and max (both included)", @@ -4002,13 +4055,32 @@ ] }, { - "name": "SetRandomSeed", - "description": "Set the seed for the random number generator", - "returnType": "void", + "name": "LoadRandomSequence", + "description": "Load random values sequence, no values repeated", + "returnType": "int *", "params": [ { "type": "unsigned int", - "name": "seed" + "name": "count" + }, + { + "type": "int", + "name": "min" + }, + { + "type": "int", + "name": "max" + } + ] + }, + { + "name": "UnloadRandomSequence", + "description": "Unload random values sequence", + "returnType": "void", + "params": [ + { + "type": "int *", + "name": "sequence" } ] }, @@ -4034,6 +4106,17 @@ } ] }, + { + "name": "OpenURL", + "description": "Open URL with default system browser (if available)", + "returnType": "void", + "params": [ + { + "type": "const char *", + "name": "url" + } + ] + }, { "name": "TraceLog", "description": "Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)", @@ -4101,17 +4184,6 @@ } ] }, - { - "name": "OpenURL", - "description": "Open URL with default system browser (if available)", - "returnType": "void", - "params": [ - { - "type": "const char *", - "name": "url" - } - ] - }, { "name": "SetTraceLogCallback", "description": "Set custom trace log", @@ -4548,6 +4620,86 @@ } ] }, + { + "name": "LoadAutomationEventList", + "description": "Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS", + "returnType": "AutomationEventList", + "params": [ + { + "type": "const char *", + "name": "fileName" + } + ] + }, + { + "name": "UnloadAutomationEventList", + "description": "Unload automation events list from file", + "returnType": "void", + "params": [ + { + "type": "AutomationEventList *", + "name": "list" + } + ] + }, + { + "name": "ExportAutomationEventList", + "description": "Export automation events list as text file", + "returnType": "bool", + "params": [ + { + "type": "AutomationEventList", + "name": "list" + }, + { + "type": "const char *", + "name": "fileName" + } + ] + }, + { + "name": "SetAutomationEventList", + "description": "Set automation event list to record to", + "returnType": "void", + "params": [ + { + "type": "AutomationEventList *", + "name": "list" + } + ] + }, + { + "name": "SetAutomationEventBaseFrame", + "description": "Set automation event internal base frame to start recording", + "returnType": "void", + "params": [ + { + "type": "int", + "name": "frame" + } + ] + }, + { + "name": "StartAutomationEventRecording", + "description": "Start recording automation events (AutomationEventList must be set)", + "returnType": "void" + }, + { + "name": "StopAutomationEventRecording", + "description": "Stop recording automation events", + "returnType": "void" + }, + { + "name": "PlayAutomationEvent", + "description": "Play a recorded automation event", + "returnType": "void", + "params": [ + { + "type": "AutomationEvent", + "name": "event" + } + ] + }, { "name": "IsKeyPressed", "description": "Check if a key has been pressed once", @@ -4603,6 +4755,16 @@ } ] }, + { + "name": "GetKeyPressed", + "description": "Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty", + "returnType": "int" + }, + { + "name": "GetCharPressed", + "description": "Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty", + "returnType": "int" + }, { "name": "SetExitKey", "description": "Set a custom key to exit program (default is ESC)", @@ -4614,16 +4776,6 @@ } ] }, - { - "name": "GetKeyPressed", - "description": "Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty", - "returnType": "int" - }, - { - "name": "GetCharPressed", - "description": "Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty", - "returnType": "int" - }, { "name": "IsGamepadAvailable", "description": "Check if a gamepad is available", @@ -5083,7 +5235,7 @@ }, { "name": "DrawLineV", - "description": "Draw a line (Vector version)", + "description": "Draw a line (using gl lines)", "returnType": "void", "params": [ { @@ -5102,7 +5254,7 @@ }, { "name": "DrawLineEx", - "description": "Draw a line defining thickness", + "description": "Draw a line (using triangles/quads)", "returnType": "void", "params": [ { @@ -5124,21 +5276,17 @@ ] }, { - "name": "DrawLineBezier", - "description": "Draw a line using cubic-bezier curves in-out", + "name": "DrawLineStrip", + "description": "Draw lines sequence (using gl lines)", "returnType": "void", "params": [ { - "type": "Vector2", - "name": "startPos" - }, - { - "type": "Vector2", - "name": "endPos" + "type": "Vector2 *", + "name": "points" }, { - "type": "float", - "name": "thick" + "type": "int", + "name": "pointCount" }, { "type": "Color", @@ -5147,8 +5295,8 @@ ] }, { - "name": "DrawLineBezierQuad", - "description": "Draw line using quadratic bezier curves with a control point", + "name": "DrawLineBezier", + "description": "Draw line segment cubic-bezier in-out interpolation", "returnType": "void", "params": [ { @@ -5159,10 +5307,6 @@ "type": "Vector2", "name": "endPos" }, - { - "type": "Vector2", - "name": "controlPos" - }, { "type": "float", "name": "thick" @@ -5174,29 +5318,21 @@ ] }, { - "name": "DrawLineBezierCubic", - "description": "Draw line using cubic bezier curves with 2 control points", + "name": "DrawCircle", + "description": "Draw a color-filled circle", "returnType": "void", "params": [ { - "type": "Vector2", - "name": "startPos" - }, - { - "type": "Vector2", - "name": "endPos" - }, - { - "type": "Vector2", - "name": "startControlPos" + "type": "int", + "name": "centerX" }, { - "type": "Vector2", - "name": "endControlPos" + "type": "int", + "name": "centerY" }, { "type": "float", - "name": "thick" + "name": "radius" }, { "type": "Color", @@ -5205,96 +5341,8 @@ ] }, { - "name": "DrawLineBSpline", - "description": "Draw a B-Spline line, minimum 4 points", - "returnType": "void", - "params": [ - { - "type": "Vector2 *", - "name": "points" - }, - { - "type": "int", - "name": "pointCount" - }, - { - "type": "float", - "name": "thick" - }, - { - "type": "Color", - "name": "color" - } - ] - }, - { - "name": "DrawLineCatmullRom", - "description": "Draw a Catmull Rom spline line, minimum 4 points", - "returnType": "void", - "params": [ - { - "type": "Vector2 *", - "name": "points" - }, - { - "type": "int", - "name": "pointCount" - }, - { - "type": "float", - "name": "thick" - }, - { - "type": "Color", - "name": "color" - } - ] - }, - { - "name": "DrawLineStrip", - "description": "Draw lines sequence", - "returnType": "void", - "params": [ - { - "type": "Vector2 *", - "name": "points" - }, - { - "type": "int", - "name": "pointCount" - }, - { - "type": "Color", - "name": "color" - } - ] - }, - { - "name": "DrawCircle", - "description": "Draw a color-filled circle", - "returnType": "void", - "params": [ - { - "type": "int", - "name": "centerX" - }, - { - "type": "int", - "name": "centerY" - }, - { - "type": "float", - "name": "radius" - }, - { - "type": "Color", - "name": "color" - } - ] - }, - { - "name": "DrawCircleSector", - "description": "Draw a piece of a circle", + "name": "DrawCircleSector", + "description": "Draw a piece of a circle", "returnType": "void", "params": [ { @@ -5423,6 +5471,25 @@ } ] }, + { + "name": "DrawCircleLinesV", + "description": "Draw circle outline (Vector version)", + "returnType": "void", + "params": [ + { + "type": "Vector2", + "name": "center" + }, + { + "type": "float", + "name": "radius" + }, + { + "type": "Color", + "name": "color" + } + ] + }, { "name": "DrawEllipse", "description": "Draw ellipse", @@ -5658,88 +5725,441 @@ }, { "type": "Color", - "name": "color2" + "name": "color2" + } + ] + }, + { + "name": "DrawRectangleGradientH", + "description": "Draw a horizontal-gradient-filled rectangle", + "returnType": "void", + "params": [ + { + "type": "int", + "name": "posX" + }, + { + "type": "int", + "name": "posY" + }, + { + "type": "int", + "name": "width" + }, + { + "type": "int", + "name": "height" + }, + { + "type": "Color", + "name": "color1" + }, + { + "type": "Color", + "name": "color2" + } + ] + }, + { + "name": "DrawRectangleGradientEx", + "description": "Draw a gradient-filled rectangle with custom vertex colors", + "returnType": "void", + "params": [ + { + "type": "Rectangle", + "name": "rec" + }, + { + "type": "Color", + "name": "col1" + }, + { + "type": "Color", + "name": "col2" + }, + { + "type": "Color", + "name": "col3" + }, + { + "type": "Color", + "name": "col4" + } + ] + }, + { + "name": "DrawRectangleLines", + "description": "Draw rectangle outline", + "returnType": "void", + "params": [ + { + "type": "int", + "name": "posX" + }, + { + "type": "int", + "name": "posY" + }, + { + "type": "int", + "name": "width" + }, + { + "type": "int", + "name": "height" + }, + { + "type": "Color", + "name": "color" + } + ] + }, + { + "name": "DrawRectangleLinesEx", + "description": "Draw rectangle outline with extended parameters", + "returnType": "void", + "params": [ + { + "type": "Rectangle", + "name": "rec" + }, + { + "type": "float", + "name": "lineThick" + }, + { + "type": "Color", + "name": "color" + } + ] + }, + { + "name": "DrawRectangleRounded", + "description": "Draw rectangle with rounded edges", + "returnType": "void", + "params": [ + { + "type": "Rectangle", + "name": "rec" + }, + { + "type": "float", + "name": "roundness" + }, + { + "type": "int", + "name": "segments" + }, + { + "type": "Color", + "name": "color" + } + ] + }, + { + "name": "DrawRectangleRoundedLines", + "description": "Draw rectangle with rounded edges outline", + "returnType": "void", + "params": [ + { + "type": "Rectangle", + "name": "rec" + }, + { + "type": "float", + "name": "roundness" + }, + { + "type": "int", + "name": "segments" + }, + { + "type": "float", + "name": "lineThick" + }, + { + "type": "Color", + "name": "color" + } + ] + }, + { + "name": "DrawTriangle", + "description": "Draw a color-filled triangle (vertex in counter-clockwise order!)", + "returnType": "void", + "params": [ + { + "type": "Vector2", + "name": "v1" + }, + { + "type": "Vector2", + "name": "v2" + }, + { + "type": "Vector2", + "name": "v3" + }, + { + "type": "Color", + "name": "color" + } + ] + }, + { + "name": "DrawTriangleLines", + "description": "Draw triangle outline (vertex in counter-clockwise order!)", + "returnType": "void", + "params": [ + { + "type": "Vector2", + "name": "v1" + }, + { + "type": "Vector2", + "name": "v2" + }, + { + "type": "Vector2", + "name": "v3" + }, + { + "type": "Color", + "name": "color" + } + ] + }, + { + "name": "DrawTriangleFan", + "description": "Draw a triangle fan defined by points (first vertex is the center)", + "returnType": "void", + "params": [ + { + "type": "Vector2 *", + "name": "points" + }, + { + "type": "int", + "name": "pointCount" + }, + { + "type": "Color", + "name": "color" + } + ] + }, + { + "name": "DrawTriangleStrip", + "description": "Draw a triangle strip defined by points", + "returnType": "void", + "params": [ + { + "type": "Vector2 *", + "name": "points" + }, + { + "type": "int", + "name": "pointCount" + }, + { + "type": "Color", + "name": "color" + } + ] + }, + { + "name": "DrawPoly", + "description": "Draw a regular polygon (Vector version)", + "returnType": "void", + "params": [ + { + "type": "Vector2", + "name": "center" + }, + { + "type": "int", + "name": "sides" + }, + { + "type": "float", + "name": "radius" + }, + { + "type": "float", + "name": "rotation" + }, + { + "type": "Color", + "name": "color" + } + ] + }, + { + "name": "DrawPolyLines", + "description": "Draw a polygon outline of n sides", + "returnType": "void", + "params": [ + { + "type": "Vector2", + "name": "center" + }, + { + "type": "int", + "name": "sides" + }, + { + "type": "float", + "name": "radius" + }, + { + "type": "float", + "name": "rotation" + }, + { + "type": "Color", + "name": "color" + } + ] + }, + { + "name": "DrawPolyLinesEx", + "description": "Draw a polygon outline of n sides with extended parameters", + "returnType": "void", + "params": [ + { + "type": "Vector2", + "name": "center" + }, + { + "type": "int", + "name": "sides" + }, + { + "type": "float", + "name": "radius" + }, + { + "type": "float", + "name": "rotation" + }, + { + "type": "float", + "name": "lineThick" + }, + { + "type": "Color", + "name": "color" + } + ] + }, + { + "name": "DrawSplineLinear", + "description": "Draw spline: Linear, minimum 2 points", + "returnType": "void", + "params": [ + { + "type": "Vector2 *", + "name": "points" + }, + { + "type": "int", + "name": "pointCount" + }, + { + "type": "float", + "name": "thick" + }, + { + "type": "Color", + "name": "color" + } + ] + }, + { + "name": "DrawSplineBasis", + "description": "Draw spline: B-Spline, minimum 4 points", + "returnType": "void", + "params": [ + { + "type": "Vector2 *", + "name": "points" + }, + { + "type": "int", + "name": "pointCount" + }, + { + "type": "float", + "name": "thick" + }, + { + "type": "Color", + "name": "color" } ] }, { - "name": "DrawRectangleGradientH", - "description": "Draw a horizontal-gradient-filled rectangle", + "name": "DrawSplineCatmullRom", + "description": "Draw spline: Catmull-Rom, minimum 4 points", "returnType": "void", "params": [ { - "type": "int", - "name": "posX" - }, - { - "type": "int", - "name": "posY" - }, - { - "type": "int", - "name": "width" + "type": "Vector2 *", + "name": "points" }, { "type": "int", - "name": "height" + "name": "pointCount" }, { - "type": "Color", - "name": "color1" + "type": "float", + "name": "thick" }, { "type": "Color", - "name": "color2" + "name": "color" } ] }, { - "name": "DrawRectangleGradientEx", - "description": "Draw a gradient-filled rectangle with custom vertex colors", + "name": "DrawSplineBezierQuadratic", + "description": "Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]", "returnType": "void", "params": [ { - "type": "Rectangle", - "name": "rec" - }, - { - "type": "Color", - "name": "col1" + "type": "Vector2 *", + "name": "points" }, { - "type": "Color", - "name": "col2" + "type": "int", + "name": "pointCount" }, { - "type": "Color", - "name": "col3" + "type": "float", + "name": "thick" }, { "type": "Color", - "name": "col4" + "name": "color" } ] }, { - "name": "DrawRectangleLines", - "description": "Draw rectangle outline", + "name": "DrawSplineBezierCubic", + "description": "Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]", "returnType": "void", "params": [ { - "type": "int", - "name": "posX" - }, - { - "type": "int", - "name": "posY" + "type": "Vector2 *", + "name": "points" }, { "type": "int", - "name": "width" + "name": "pointCount" }, { - "type": "int", - "name": "height" + "type": "float", + "name": "thick" }, { "type": "Color", @@ -5748,17 +6168,21 @@ ] }, { - "name": "DrawRectangleLinesEx", - "description": "Draw rectangle outline with extended parameters", + "name": "DrawSplineSegmentLinear", + "description": "Draw spline segment: Linear, 2 points", "returnType": "void", "params": [ { - "type": "Rectangle", - "name": "rec" + "type": "Vector2", + "name": "p1" + }, + { + "type": "Vector2", + "name": "p2" }, { "type": "float", - "name": "lineThick" + "name": "thick" }, { "type": "Color", @@ -5767,21 +6191,29 @@ ] }, { - "name": "DrawRectangleRounded", - "description": "Draw rectangle with rounded edges", + "name": "DrawSplineSegmentBasis", + "description": "Draw spline segment: B-Spline, 4 points", "returnType": "void", "params": [ { - "type": "Rectangle", - "name": "rec" + "type": "Vector2", + "name": "p1" }, { - "type": "float", - "name": "roundness" + "type": "Vector2", + "name": "p2" }, { - "type": "int", - "name": "segments" + "type": "Vector2", + "name": "p3" + }, + { + "type": "Vector2", + "name": "p4" + }, + { + "type": "float", + "name": "thick" }, { "type": "Color", @@ -5790,25 +6222,29 @@ ] }, { - "name": "DrawRectangleRoundedLines", - "description": "Draw rectangle with rounded edges outline", + "name": "DrawSplineSegmentCatmullRom", + "description": "Draw spline segment: Catmull-Rom, 4 points", "returnType": "void", "params": [ { - "type": "Rectangle", - "name": "rec" + "type": "Vector2", + "name": "p1" }, { - "type": "float", - "name": "roundness" + "type": "Vector2", + "name": "p2" }, { - "type": "int", - "name": "segments" + "type": "Vector2", + "name": "p3" + }, + { + "type": "Vector2", + "name": "p4" }, { "type": "float", - "name": "lineThick" + "name": "thick" }, { "type": "Color", @@ -5817,21 +6253,25 @@ ] }, { - "name": "DrawTriangle", - "description": "Draw a color-filled triangle (vertex in counter-clockwise order!)", + "name": "DrawSplineSegmentBezierQuadratic", + "description": "Draw spline segment: Quadratic Bezier, 2 points, 1 control point", "returnType": "void", "params": [ { "type": "Vector2", - "name": "v1" + "name": "p1" }, { "type": "Vector2", - "name": "v2" + "name": "c2" }, { "type": "Vector2", - "name": "v3" + "name": "p3" + }, + { + "type": "float", + "name": "thick" }, { "type": "Color", @@ -5840,21 +6280,29 @@ ] }, { - "name": "DrawTriangleLines", - "description": "Draw triangle outline (vertex in counter-clockwise order!)", + "name": "DrawSplineSegmentBezierCubic", + "description": "Draw spline segment: Cubic Bezier, 2 points, 2 control points", "returnType": "void", "params": [ { "type": "Vector2", - "name": "v1" + "name": "p1" }, { "type": "Vector2", - "name": "v2" + "name": "c2" }, { "type": "Vector2", - "name": "v3" + "name": "c3" + }, + { + "type": "Vector2", + "name": "p4" + }, + { + "type": "float", + "name": "thick" }, { "type": "Color", @@ -5863,125 +6311,125 @@ ] }, { - "name": "DrawTriangleFan", - "description": "Draw a triangle fan defined by points (first vertex is the center)", - "returnType": "void", + "name": "GetSplinePointLinear", + "description": "Get (evaluate) spline point: Linear", + "returnType": "Vector2", "params": [ { - "type": "Vector2 *", - "name": "points" + "type": "Vector2", + "name": "startPos" }, { - "type": "int", - "name": "pointCount" + "type": "Vector2", + "name": "endPos" }, { - "type": "Color", - "name": "color" + "type": "float", + "name": "t" } ] }, { - "name": "DrawTriangleStrip", - "description": "Draw a triangle strip defined by points", - "returnType": "void", + "name": "GetSplinePointBasis", + "description": "Get (evaluate) spline point: B-Spline", + "returnType": "Vector2", "params": [ { - "type": "Vector2 *", - "name": "points" + "type": "Vector2", + "name": "p1" }, { - "type": "int", - "name": "pointCount" + "type": "Vector2", + "name": "p2" }, { - "type": "Color", - "name": "color" + "type": "Vector2", + "name": "p3" + }, + { + "type": "Vector2", + "name": "p4" + }, + { + "type": "float", + "name": "t" } ] }, { - "name": "DrawPoly", - "description": "Draw a regular polygon (Vector version)", - "returnType": "void", + "name": "GetSplinePointCatmullRom", + "description": "Get (evaluate) spline point: Catmull-Rom", + "returnType": "Vector2", "params": [ { "type": "Vector2", - "name": "center" + "name": "p1" }, { - "type": "int", - "name": "sides" + "type": "Vector2", + "name": "p2" }, { - "type": "float", - "name": "radius" + "type": "Vector2", + "name": "p3" }, { - "type": "float", - "name": "rotation" + "type": "Vector2", + "name": "p4" }, { - "type": "Color", - "name": "color" + "type": "float", + "name": "t" } ] }, { - "name": "DrawPolyLines", - "description": "Draw a polygon outline of n sides", - "returnType": "void", + "name": "GetSplinePointBezierQuad", + "description": "Get (evaluate) spline point: Quadratic Bezier", + "returnType": "Vector2", "params": [ { "type": "Vector2", - "name": "center" + "name": "p1" }, { - "type": "int", - "name": "sides" + "type": "Vector2", + "name": "c2" }, { - "type": "float", - "name": "radius" + "type": "Vector2", + "name": "p3" }, { "type": "float", - "name": "rotation" - }, - { - "type": "Color", - "name": "color" + "name": "t" } ] }, { - "name": "DrawPolyLinesEx", - "description": "Draw a polygon outline of n sides with extended parameters", - "returnType": "void", + "name": "GetSplinePointBezierCubic", + "description": "Get (evaluate) spline point: Cubic Bezier", + "returnType": "Vector2", "params": [ { "type": "Vector2", - "name": "center" + "name": "p1" }, { - "type": "int", - "name": "sides" + "type": "Vector2", + "name": "c2" }, { - "type": "float", - "name": "radius" + "type": "Vector2", + "name": "c3" }, { - "type": "float", - "name": "rotation" + "type": "Vector2", + "name": "p4" }, { "type": "float", - "name": "lineThick" - }, - { - "type": "Color", - "name": "color" + "name": "t" } ] }, @@ -6768,6 +7216,25 @@ } ] }, + { + "name": "ImageKernelConvolution", + "description": "Apply Custom Square image convolution kernel", + "returnType": "void", + "params": [ + { + "type": "Image *", + "name": "image" + }, + { + "type": "float*", + "name": "kernel" + }, + { + "type": "int", + "name": "kernelSize" + } + ] + }, { "name": "ImageResize", "description": "Resize image (Bicubic scaling algorithm)", @@ -10339,6 +10806,11 @@ } ] }, + { + "name": "GetMasterVolume", + "description": "Get master volume (listener)", + "returnType": "float" + }, { "name": "LoadWave", "description": "Load wave data from file", -- cgit v1.2.3