mirror of https://github.com/raysan5/raylib
Update raylib_api.* (#3564)
This commit is contained in:
parent
94aba23ef4
commit
dfa64f228a
|
@ -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": [
|
||||
{
|
||||
|
@ -5123,136 +5275,9 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawLineBezier",
|
||||
"description": "Draw a line using cubic-bezier curves in-out",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "startPos"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "endPos"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "thick"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawLineBezierQuad",
|
||||
"description": "Draw line using quadratic bezier curves with a control point",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "startPos"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "endPos"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "controlPos"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "thick"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawLineBezierCubic",
|
||||
"description": "Draw line using cubic bezier curves with 2 control points",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "startPos"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "endPos"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "startControlPos"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "endControlPos"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "thick"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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",
|
||||
"description": "Draw lines sequence (using gl lines)",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
|
@ -5269,6 +5294,29 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawLineBezier",
|
||||
"description": "Draw line segment cubic-bezier in-out interpolation",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "startPos"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "endPos"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "thick"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawCircle",
|
||||
"description": "Draw a color-filled circle",
|
||||
|
@ -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",
|
||||
|
@ -5985,6 +6052,387 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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": "DrawSplineCatmullRom",
|
||||
"description": "Draw spline: Catmull-Rom, minimum 4 points",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2 *",
|
||||
"name": "points"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "pointCount"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "thick"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawSplineBezierQuadratic",
|
||||
"description": "Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2 *",
|
||||
"name": "points"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "pointCount"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "thick"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawSplineBezierCubic",
|
||||
"description": "Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2 *",
|
||||
"name": "points"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "pointCount"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "thick"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawSplineSegmentLinear",
|
||||
"description": "Draw spline segment: Linear, 2 points",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p1"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p2"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "thick"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawSplineSegmentBasis",
|
||||
"description": "Draw spline segment: B-Spline, 4 points",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p1"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p2"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p3"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p4"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "thick"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawSplineSegmentCatmullRom",
|
||||
"description": "Draw spline segment: Catmull-Rom, 4 points",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p1"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p2"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p3"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p4"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "thick"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawSplineSegmentBezierQuadratic",
|
||||
"description": "Draw spline segment: Quadratic Bezier, 2 points, 1 control point",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p1"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "c2"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p3"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "thick"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "DrawSplineSegmentBezierCubic",
|
||||
"description": "Draw spline segment: Cubic Bezier, 2 points, 2 control points",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p1"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "c2"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "c3"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p4"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "thick"
|
||||
},
|
||||
{
|
||||
"type": "Color",
|
||||
"name": "color"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "GetSplinePointLinear",
|
||||
"description": "Get (evaluate) spline point: Linear",
|
||||
"returnType": "Vector2",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "startPos"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "endPos"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "t"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "GetSplinePointBasis",
|
||||
"description": "Get (evaluate) spline point: B-Spline",
|
||||
"returnType": "Vector2",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p1"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p2"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p3"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p4"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "t"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "GetSplinePointCatmullRom",
|
||||
"description": "Get (evaluate) spline point: Catmull-Rom",
|
||||
"returnType": "Vector2",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p1"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p2"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p3"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p4"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "t"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "GetSplinePointBezierQuad",
|
||||
"description": "Get (evaluate) spline point: Quadratic Bezier",
|
||||
"returnType": "Vector2",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p1"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "c2"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p3"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "t"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "GetSplinePointBezierCubic",
|
||||
"description": "Get (evaluate) spline point: Cubic Bezier",
|
||||
"returnType": "Vector2",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p1"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "c2"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "c3"
|
||||
},
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "p4"
|
||||
},
|
||||
{
|
||||
"type": "float",
|
||||
"name": "t"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "CheckCollisionRecs",
|
||||
"description": "Check collision between two rectangles",
|
||||
|
@ -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",
|
||||
|
|
|
@ -9,13 +9,13 @@ return {
|
|||
{
|
||||
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 @@ return {
|
|||
{
|
||||
name = "RAYLIB_VERSION",
|
||||
type = "STRING",
|
||||
value = "4.6-dev",
|
||||
value = "5.1-dev",
|
||||
description = ""
|
||||
},
|
||||
{
|
||||
|
@ -1329,6 +1329,48 @@ return {
|
|||
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 = {
|
||||
|
@ -3044,16 +3086,16 @@ return {
|
|||
{type = "const char *", name = "title"}
|
||||
}
|
||||
},
|
||||
{
|
||||
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",
|
||||
|
@ -3344,24 +3386,6 @@ return {
|
|||
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",
|
||||
|
@ -3686,11 +3710,6 @@ return {
|
|||
{type = "int", name = "fps"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "GetFPS",
|
||||
description = "Get current FPS",
|
||||
returnType = "int"
|
||||
},
|
||||
{
|
||||
name = "GetFrameTime",
|
||||
description = "Get time in seconds for last frame drawn (delta time)",
|
||||
|
@ -3701,6 +3720,37 @@ return {
|
|||
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)",
|
||||
|
@ -3711,11 +3761,21 @@ return {
|
|||
}
|
||||
},
|
||||
{
|
||||
name = "SetRandomSeed",
|
||||
description = "Set the seed for the random number generator",
|
||||
name = "LoadRandomSequence",
|
||||
description = "Load random values sequence, no values repeated",
|
||||
returnType = "int *",
|
||||
params = {
|
||||
{type = "unsigned int", name = "count"},
|
||||
{type = "int", name = "min"},
|
||||
{type = "int", name = "max"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "UnloadRandomSequence",
|
||||
description = "Unload random values sequence",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "unsigned int", name = "seed"}
|
||||
{type = "int *", name = "sequence"}
|
||||
}
|
||||
},
|
||||
{
|
||||
|
@ -3734,6 +3794,14 @@ return {
|
|||
{type = "unsigned int", name = "flags"}
|
||||
}
|
||||
},
|
||||
{
|
||||
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...)",
|
||||
|
@ -3777,14 +3845,6 @@ return {
|
|||
{type = "void *", name = "ptr"}
|
||||
}
|
||||
},
|
||||
{
|
||||
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",
|
||||
|
@ -4077,6 +4137,65 @@ return {
|
|||
{type = "int *", name = "outputSize"}
|
||||
}
|
||||
},
|
||||
{
|
||||
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",
|
||||
|
@ -4117,14 +4236,6 @@ return {
|
|||
{type = "int", name = "key"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "SetExitKey",
|
||||
description = "Set a custom key to exit program (default is ESC)",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "int", name = "key"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "GetKeyPressed",
|
||||
description = "Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty",
|
||||
|
@ -4135,6 +4246,14 @@ return {
|
|||
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)",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "int", name = "key"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "IsGamepadAvailable",
|
||||
description = "Check if a gamepad is available",
|
||||
|
@ -4453,7 +4572,7 @@ return {
|
|||
},
|
||||
{
|
||||
name = "DrawLineV",
|
||||
description = "Draw a line (Vector version)",
|
||||
description = "Draw a line (using gl lines)",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2", name = "startPos"},
|
||||
|
@ -4463,7 +4582,7 @@ return {
|
|||
},
|
||||
{
|
||||
name = "DrawLineEx",
|
||||
description = "Draw a line defining thickness",
|
||||
description = "Draw a line (using triangles/quads)",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2", name = "startPos"},
|
||||
|
@ -4472,67 +4591,9 @@ return {
|
|||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawLineBezier",
|
||||
description = "Draw a line using cubic-bezier curves in-out",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2", name = "startPos"},
|
||||
{type = "Vector2", name = "endPos"},
|
||||
{type = "float", name = "thick"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawLineBezierQuad",
|
||||
description = "Draw line using quadratic bezier curves with a control point",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2", name = "startPos"},
|
||||
{type = "Vector2", name = "endPos"},
|
||||
{type = "Vector2", name = "controlPos"},
|
||||
{type = "float", name = "thick"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawLineBezierCubic",
|
||||
description = "Draw line using cubic bezier curves with 2 control points",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2", name = "startPos"},
|
||||
{type = "Vector2", name = "endPos"},
|
||||
{type = "Vector2", name = "startControlPos"},
|
||||
{type = "Vector2", name = "endControlPos"},
|
||||
{type = "float", name = "thick"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
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",
|
||||
description = "Draw lines sequence (using gl lines)",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2 *", name = "points"},
|
||||
|
@ -4540,6 +4601,17 @@ return {
|
|||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawLineBezier",
|
||||
description = "Draw line segment cubic-bezier in-out interpolation",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2", name = "startPos"},
|
||||
{type = "Vector2", name = "endPos"},
|
||||
{type = "float", name = "thick"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawCircle",
|
||||
description = "Draw a color-filled circle",
|
||||
|
@ -4610,6 +4682,16 @@ return {
|
|||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
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",
|
||||
|
@ -4866,6 +4948,180 @@ return {
|
|||
{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 = "DrawSplineCatmullRom",
|
||||
description = "Draw spline: Catmull-Rom, minimum 4 points",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2 *", name = "points"},
|
||||
{type = "int", name = "pointCount"},
|
||||
{type = "float", name = "thick"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawSplineBezierQuadratic",
|
||||
description = "Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2 *", name = "points"},
|
||||
{type = "int", name = "pointCount"},
|
||||
{type = "float", name = "thick"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawSplineBezierCubic",
|
||||
description = "Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2 *", name = "points"},
|
||||
{type = "int", name = "pointCount"},
|
||||
{type = "float", name = "thick"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawSplineSegmentLinear",
|
||||
description = "Draw spline segment: Linear, 2 points",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2", name = "p1"},
|
||||
{type = "Vector2", name = "p2"},
|
||||
{type = "float", name = "thick"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawSplineSegmentBasis",
|
||||
description = "Draw spline segment: B-Spline, 4 points",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2", name = "p1"},
|
||||
{type = "Vector2", name = "p2"},
|
||||
{type = "Vector2", name = "p3"},
|
||||
{type = "Vector2", name = "p4"},
|
||||
{type = "float", name = "thick"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawSplineSegmentCatmullRom",
|
||||
description = "Draw spline segment: Catmull-Rom, 4 points",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2", name = "p1"},
|
||||
{type = "Vector2", name = "p2"},
|
||||
{type = "Vector2", name = "p3"},
|
||||
{type = "Vector2", name = "p4"},
|
||||
{type = "float", name = "thick"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawSplineSegmentBezierQuadratic",
|
||||
description = "Draw spline segment: Quadratic Bezier, 2 points, 1 control point",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2", name = "p1"},
|
||||
{type = "Vector2", name = "c2"},
|
||||
{type = "Vector2", name = "p3"},
|
||||
{type = "float", name = "thick"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "DrawSplineSegmentBezierCubic",
|
||||
description = "Draw spline segment: Cubic Bezier, 2 points, 2 control points",
|
||||
returnType = "void",
|
||||
params = {
|
||||
{type = "Vector2", name = "p1"},
|
||||
{type = "Vector2", name = "c2"},
|
||||
{type = "Vector2", name = "c3"},
|
||||
{type = "Vector2", name = "p4"},
|
||||
{type = "float", name = "thick"},
|
||||
{type = "Color", name = "color"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "GetSplinePointLinear",
|
||||
description = "Get (evaluate) spline point: Linear",
|
||||
returnType = "Vector2",
|
||||
params = {
|
||||
{type = "Vector2", name = "startPos"},
|
||||
{type = "Vector2", name = "endPos"},
|
||||
{type = "float", name = "t"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "GetSplinePointBasis",
|
||||
description = "Get (evaluate) spline point: B-Spline",
|
||||
returnType = "Vector2",
|
||||
params = {
|
||||
{type = "Vector2", name = "p1"},
|
||||
{type = "Vector2", name = "p2"},
|
||||
{type = "Vector2", name = "p3"},
|
||||
{type = "Vector2", name = "p4"},
|
||||
{type = "float", name = "t"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "GetSplinePointCatmullRom",
|
||||
description = "Get (evaluate) spline point: Catmull-Rom",
|
||||
returnType = "Vector2",
|
||||
params = {
|
||||
{type = "Vector2", name = "p1"},
|
||||
{type = "Vector2", name = "p2"},
|
||||
{type = "Vector2", name = "p3"},
|
||||
{type = "Vector2", name = "p4"},
|
||||
{type = "float", name = "t"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "GetSplinePointBezierQuad",
|
||||
description = "Get (evaluate) spline point: Quadratic Bezier",
|
||||
returnType = "Vector2",
|
||||
params = {
|
||||
{type = "Vector2", name = "p1"},
|
||||
{type = "Vector2", name = "c2"},
|
||||
{type = "Vector2", name = "p3"},
|
||||
{type = "float", name = "t"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "GetSplinePointBezierCubic",
|
||||
description = "Get (evaluate) spline point: Cubic Bezier",
|
||||
returnType = "Vector2",
|
||||
params = {
|
||||
{type = "Vector2", name = "p1"},
|
||||
{type = "Vector2", name = "c2"},
|
||||
{type = "Vector2", name = "c3"},
|
||||
{type = "Vector2", name = "p4"},
|
||||
{type = "float", name = "t"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "CheckCollisionRecs",
|
||||
description = "Check collision between two rectangles",
|
||||
|
@ -5286,6 +5542,16 @@ return {
|
|||
{type = "int", name = "blurSize"}
|
||||
}
|
||||
},
|
||||
{
|
||||
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)",
|
||||
|
@ -7195,6 +7461,11 @@ return {
|
|||
{type = "float", name = "volume"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "GetMasterVolume",
|
||||
description = "Get master volume (listener)",
|
||||
returnType = "float"
|
||||
},
|
||||
{
|
||||
name = "LoadWave",
|
||||
description = "Load wave data from file",
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -2,10 +2,10 @@
|
|||
<raylibAPI>
|
||||
<Defines count="56">
|
||||
<Define name="RAYLIB_H" type="GUARD" value="" desc="" />
|
||||
<Define name="RAYLIB_VERSION_MAJOR" type="INT" value="4" desc="" />
|
||||
<Define name="RAYLIB_VERSION_MINOR" type="INT" value="6" desc="" />
|
||||
<Define name="RAYLIB_VERSION_MAJOR" type="INT" value="5" desc="" />
|
||||
<Define name="RAYLIB_VERSION_MINOR" type="INT" value="1" desc="" />
|
||||
<Define name="RAYLIB_VERSION_PATCH" type="INT" value="0" desc="" />
|
||||
<Define name="RAYLIB_VERSION" type="STRING" value="4.6-dev" desc="" />
|
||||
<Define name="RAYLIB_VERSION" type="STRING" value="5.1-dev" desc="" />
|
||||
<Define name="__declspec(x)" type="MACRO" value="__attribute__((x))" desc="" />
|
||||
<Define name="RLAPI" type="UNKNOWN" value="__declspec(dllexport)" desc="We are building the library as a Win32 shared library (.dll)" />
|
||||
<Define name="PI" type="FLOAT" value="3.14159265358979323846" desc="" />
|
||||
|
@ -58,7 +58,7 @@
|
|||
<Define name="SHADER_LOC_MAP_DIFFUSE" type="UNKNOWN" value="SHADER_LOC_MAP_ALBEDO" desc="" />
|
||||
<Define name="SHADER_LOC_MAP_SPECULAR" type="UNKNOWN" value="SHADER_LOC_MAP_METALNESS" desc="" />
|
||||
</Defines>
|
||||
<Structs count="32">
|
||||
<Structs count="34">
|
||||
<Struct name="Vector2" fieldCount="2" desc="Vector2, 2 components">
|
||||
<Field type="float" name="x" desc="Vector x component" />
|
||||
<Field type="float" name="y" desc="Vector y component" />
|
||||
|
@ -283,6 +283,16 @@
|
|||
<Field type="unsigned int" name="count" desc="Filepaths entries count" />
|
||||
<Field type="char **" name="paths" desc="Filepaths entries" />
|
||||
</Struct>
|
||||
<Struct name="AutomationEvent" fieldCount="3" desc="Automation event">
|
||||
<Field type="unsigned int" name="frame" desc="Event frame" />
|
||||
<Field type="unsigned int" name="type" desc="Event type (AutomationEventType)" />
|
||||
<Field type="int[4]" name="params" desc="Event parameters (if required)" />
|
||||
</Struct>
|
||||
<Struct name="AutomationEventList" fieldCount="3" desc="Automation event list">
|
||||
<Field type="unsigned int" name="capacity" desc="Events max entries (MAX_AUTOMATION_EVENTS)" />
|
||||
<Field type="unsigned int" name="count" desc="Events entries count" />
|
||||
<Field type="AutomationEvent *" name="events" desc="Events entries" />
|
||||
</Struct>
|
||||
</Structs>
|
||||
<Aliases count="5">
|
||||
<Alias type="Quaternion" name="Vector4" desc="Quaternion, 4 components (Vector4 alias)" />
|
||||
|
@ -660,16 +670,16 @@
|
|||
<Param type="unsigned int" name="frames" desc="" />
|
||||
</Callback>
|
||||
</Callbacks>
|
||||
<Functions count="529">
|
||||
<Functions count="553">
|
||||
<Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
|
||||
<Param type="int" name="width" desc="" />
|
||||
<Param type="int" name="height" desc="" />
|
||||
<Param type="const char *" name="title" desc="" />
|
||||
</Function>
|
||||
<Function name="WindowShouldClose" retType="bool" paramCount="0" desc="Check if KEY_ESCAPE pressed or Close icon pressed">
|
||||
</Function>
|
||||
<Function name="CloseWindow" retType="void" paramCount="0" desc="Close window and unload OpenGL context">
|
||||
</Function>
|
||||
<Function name="WindowShouldClose" retType="bool" paramCount="0" desc="Check if application should close (KEY_ESCAPE pressed or windows close icon clicked)">
|
||||
</Function>
|
||||
<Function name="IsWindowReady" retType="bool" paramCount="0" desc="Check if window has been initialized successfully">
|
||||
</Function>
|
||||
<Function name="IsWindowFullscreen" retType="bool" paramCount="0" desc="Check if window is currently fullscreen">
|
||||
|
@ -785,13 +795,6 @@
|
|||
</Function>
|
||||
<Function name="DisableEventWaiting" retType="void" paramCount="0" desc="Disable waiting for events on EndDrawing(), automatic events polling">
|
||||
</Function>
|
||||
<Function name="SwapScreenBuffer" retType="void" paramCount="0" desc="Swap back buffer with front buffer (screen drawing)">
|
||||
</Function>
|
||||
<Function name="PollInputEvents" retType="void" paramCount="0" desc="Register all input events">
|
||||
</Function>
|
||||
<Function name="WaitTime" retType="void" paramCount="1" desc="Wait for some time (halt program execution)">
|
||||
<Param type="double" name="seconds" desc="" />
|
||||
</Function>
|
||||
<Function name="ShowCursor" retType="void" paramCount="0" desc="Shows cursor">
|
||||
</Function>
|
||||
<Function name="HideCursor" retType="void" paramCount="0" desc="Hides cursor">
|
||||
|
@ -931,18 +934,33 @@
|
|||
<Function name="SetTargetFPS" retType="void" paramCount="1" desc="Set target FPS (maximum)">
|
||||
<Param type="int" name="fps" desc="" />
|
||||
</Function>
|
||||
<Function name="GetFPS" retType="int" paramCount="0" desc="Get current FPS">
|
||||
</Function>
|
||||
<Function name="GetFrameTime" retType="float" paramCount="0" desc="Get time in seconds for last frame drawn (delta time)">
|
||||
</Function>
|
||||
<Function name="GetTime" retType="double" paramCount="0" desc="Get elapsed time in seconds since InitWindow()">
|
||||
</Function>
|
||||
<Function name="GetFPS" retType="int" paramCount="0" desc="Get current FPS">
|
||||
</Function>
|
||||
<Function name="SwapScreenBuffer" retType="void" paramCount="0" desc="Swap back buffer with front buffer (screen drawing)">
|
||||
</Function>
|
||||
<Function name="PollInputEvents" retType="void" paramCount="0" desc="Register all input events">
|
||||
</Function>
|
||||
<Function name="WaitTime" retType="void" paramCount="1" desc="Wait for some time (halt program execution)">
|
||||
<Param type="double" name="seconds" desc="" />
|
||||
</Function>
|
||||
<Function name="SetRandomSeed" retType="void" paramCount="1" desc="Set the seed for the random number generator">
|
||||
<Param type="unsigned int" name="seed" desc="" />
|
||||
</Function>
|
||||
<Function name="GetRandomValue" retType="int" paramCount="2" desc="Get a random value between min and max (both included)">
|
||||
<Param type="int" name="min" desc="" />
|
||||
<Param type="int" name="max" desc="" />
|
||||
</Function>
|
||||
<Function name="SetRandomSeed" retType="void" paramCount="1" desc="Set the seed for the random number generator">
|
||||
<Param type="unsigned int" name="seed" desc="" />
|
||||
<Function name="LoadRandomSequence" retType="int *" paramCount="3" desc="Load random values sequence, no values repeated">
|
||||
<Param type="unsigned int" name="count" desc="" />
|
||||
<Param type="int" name="min" desc="" />
|
||||
<Param type="int" name="max" desc="" />
|
||||
</Function>
|
||||
<Function name="UnloadRandomSequence" retType="void" paramCount="1" desc="Unload random values sequence">
|
||||
<Param type="int *" name="sequence" desc="" />
|
||||
</Function>
|
||||
<Function name="TakeScreenshot" retType="void" paramCount="1" desc="Takes a screenshot of current screen (filename extension defines format)">
|
||||
<Param type="const char *" name="fileName" desc="" />
|
||||
|
@ -950,6 +968,9 @@
|
|||
<Function name="SetConfigFlags" retType="void" paramCount="1" desc="Setup init configuration flags (view FLAGS)">
|
||||
<Param type="unsigned int" name="flags" desc="" />
|
||||
</Function>
|
||||
<Function name="OpenURL" retType="void" paramCount="1" desc="Open URL with default system browser (if available)">
|
||||
<Param type="const char *" name="url" desc="" />
|
||||
</Function>
|
||||
<Function name="TraceLog" retType="void" paramCount="3" desc="Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)">
|
||||
<Param type="int" name="logLevel" desc="" />
|
||||
<Param type="const char *" name="text" desc="" />
|
||||
|
@ -968,9 +989,6 @@
|
|||
<Function name="MemFree" retType="void" paramCount="1" desc="Internal memory free">
|
||||
<Param type="void *" name="ptr" desc="" />
|
||||
</Function>
|
||||
<Function name="OpenURL" retType="void" paramCount="1" desc="Open URL with default system browser (if available)">
|
||||
<Param type="const char *" name="url" desc="" />
|
||||
</Function>
|
||||
<Function name="SetTraceLogCallback" retType="void" paramCount="1" desc="Set custom trace log">
|
||||
<Param type="TraceLogCallback" name="callback" desc="" />
|
||||
</Function>
|
||||
|
@ -1091,6 +1109,29 @@
|
|||
<Param type="const unsigned char *" name="data" desc="" />
|
||||
<Param type="int *" name="outputSize" desc="" />
|
||||
</Function>
|
||||
<Function name="LoadAutomationEventList" retType="AutomationEventList" paramCount="1" desc="Load automation events list from file, NULL for empty list, capacity = MAX_AUTOMATION_EVENTS">
|
||||
<Param type="const char *" name="fileName" desc="" />
|
||||
</Function>
|
||||
<Function name="UnloadAutomationEventList" retType="void" paramCount="1" desc="Unload automation events list from file">
|
||||
<Param type="AutomationEventList *" name="list" desc="" />
|
||||
</Function>
|
||||
<Function name="ExportAutomationEventList" retType="bool" paramCount="2" desc="Export automation events list as text file">
|
||||
<Param type="AutomationEventList" name="list" desc="" />
|
||||
<Param type="const char *" name="fileName" desc="" />
|
||||
</Function>
|
||||
<Function name="SetAutomationEventList" retType="void" paramCount="1" desc="Set automation event list to record to">
|
||||
<Param type="AutomationEventList *" name="list" desc="" />
|
||||
</Function>
|
||||
<Function name="SetAutomationEventBaseFrame" retType="void" paramCount="1" desc="Set automation event internal base frame to start recording">
|
||||
<Param type="int" name="frame" desc="" />
|
||||
</Function>
|
||||
<Function name="StartAutomationEventRecording" retType="void" paramCount="0" desc="Start recording automation events (AutomationEventList must be set)">
|
||||
</Function>
|
||||
<Function name="StopAutomationEventRecording" retType="void" paramCount="0" desc="Stop recording automation events">
|
||||
</Function>
|
||||
<Function name="PlayAutomationEvent" retType="void" paramCount="1" desc="Play a recorded automation event">
|
||||
<Param type="AutomationEvent" name="event" desc="" />
|
||||
</Function>
|
||||
<Function name="IsKeyPressed" retType="bool" paramCount="1" desc="Check if a key has been pressed once">
|
||||
<Param type="int" name="key" desc="" />
|
||||
</Function>
|
||||
|
@ -1106,13 +1147,13 @@
|
|||
<Function name="IsKeyUp" retType="bool" paramCount="1" desc="Check if a key is NOT being pressed">
|
||||
<Param type="int" name="key" desc="" />
|
||||
</Function>
|
||||
<Function name="SetExitKey" retType="void" paramCount="1" desc="Set a custom key to exit program (default is ESC)">
|
||||
<Param type="int" name="key" desc="" />
|
||||
</Function>
|
||||
<Function name="GetKeyPressed" retType="int" paramCount="0" desc="Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty">
|
||||
</Function>
|
||||
<Function name="GetCharPressed" retType="int" paramCount="0" desc="Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty">
|
||||
</Function>
|
||||
<Function name="SetExitKey" retType="void" paramCount="1" desc="Set a custom key to exit program (default is ESC)">
|
||||
<Param type="int" name="key" desc="" />
|
||||
</Function>
|
||||
<Function name="IsGamepadAvailable" retType="bool" paramCount="1" desc="Check if a gamepad is available">
|
||||
<Param type="int" name="gamepad" desc="" />
|
||||
</Function>
|
||||
|
@ -1246,55 +1287,28 @@
|
|||
<Param type="int" name="endPosY" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawLineV" retType="void" paramCount="3" desc="Draw a line (Vector version)">
|
||||
<Function name="DrawLineV" retType="void" paramCount="3" desc="Draw a line (using gl lines)">
|
||||
<Param type="Vector2" name="startPos" desc="" />
|
||||
<Param type="Vector2" name="endPos" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawLineEx" retType="void" paramCount="4" desc="Draw a line defining thickness">
|
||||
<Function name="DrawLineEx" retType="void" paramCount="4" desc="Draw a line (using triangles/quads)">
|
||||
<Param type="Vector2" name="startPos" desc="" />
|
||||
<Param type="Vector2" name="endPos" desc="" />
|
||||
<Param type="float" name="thick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawLineBezier" retType="void" paramCount="4" desc="Draw a line using cubic-bezier curves in-out">
|
||||
<Param type="Vector2" name="startPos" desc="" />
|
||||
<Param type="Vector2" name="endPos" desc="" />
|
||||
<Param type="float" name="thick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawLineBezierQuad" retType="void" paramCount="5" desc="Draw line using quadratic bezier curves with a control point">
|
||||
<Param type="Vector2" name="startPos" desc="" />
|
||||
<Param type="Vector2" name="endPos" desc="" />
|
||||
<Param type="Vector2" name="controlPos" desc="" />
|
||||
<Param type="float" name="thick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawLineBezierCubic" retType="void" paramCount="6" desc="Draw line using cubic bezier curves with 2 control points">
|
||||
<Param type="Vector2" name="startPos" desc="" />
|
||||
<Param type="Vector2" name="endPos" desc="" />
|
||||
<Param type="Vector2" name="startControlPos" desc="" />
|
||||
<Param type="Vector2" name="endControlPos" desc="" />
|
||||
<Param type="float" name="thick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawLineBSpline" retType="void" paramCount="4" desc="Draw a B-Spline line, minimum 4 points">
|
||||
<Function name="DrawLineStrip" retType="void" paramCount="3" desc="Draw lines sequence (using gl lines)">
|
||||
<Param type="Vector2 *" name="points" desc="" />
|
||||
<Param type="int" name="pointCount" desc="" />
|
||||
<Param type="float" name="thick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawLineCatmullRom" retType="void" paramCount="4" desc="Draw a Catmull Rom spline line, minimum 4 points">
|
||||
<Param type="Vector2 *" name="points" desc="" />
|
||||
<Param type="int" name="pointCount" desc="" />
|
||||
<Function name="DrawLineBezier" retType="void" paramCount="4" desc="Draw line segment cubic-bezier in-out interpolation">
|
||||
<Param type="Vector2" name="startPos" desc="" />
|
||||
<Param type="Vector2" name="endPos" desc="" />
|
||||
<Param type="float" name="thick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawLineStrip" retType="void" paramCount="3" desc="Draw lines sequence">
|
||||
<Param type="Vector2 *" name="points" desc="" />
|
||||
<Param type="int" name="pointCount" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawCircle" retType="void" paramCount="4" desc="Draw a color-filled circle">
|
||||
<Param type="int" name="centerX" desc="" />
|
||||
<Param type="int" name="centerY" desc="" />
|
||||
|
@ -1335,6 +1349,11 @@
|
|||
<Param type="float" name="radius" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawCircleLinesV" retType="void" paramCount="3" desc="Draw circle outline (Vector version)">
|
||||
<Param type="Vector2" name="center" desc="" />
|
||||
<Param type="float" name="radius" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawEllipse" retType="void" paramCount="5" desc="Draw ellipse">
|
||||
<Param type="int" name="centerX" desc="" />
|
||||
<Param type="int" name="centerY" desc="" />
|
||||
|
@ -1481,6 +1500,105 @@
|
|||
<Param type="float" name="lineThick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawSplineLinear" retType="void" paramCount="4" desc="Draw spline: Linear, minimum 2 points">
|
||||
<Param type="Vector2 *" name="points" desc="" />
|
||||
<Param type="int" name="pointCount" desc="" />
|
||||
<Param type="float" name="thick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawSplineBasis" retType="void" paramCount="4" desc="Draw spline: B-Spline, minimum 4 points">
|
||||
<Param type="Vector2 *" name="points" desc="" />
|
||||
<Param type="int" name="pointCount" desc="" />
|
||||
<Param type="float" name="thick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawSplineCatmullRom" retType="void" paramCount="4" desc="Draw spline: Catmull-Rom, minimum 4 points">
|
||||
<Param type="Vector2 *" name="points" desc="" />
|
||||
<Param type="int" name="pointCount" desc="" />
|
||||
<Param type="float" name="thick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawSplineBezierQuadratic" retType="void" paramCount="4" desc="Draw spline: Quadratic Bezier, minimum 3 points (1 control point): [p1, c2, p3, c4...]">
|
||||
<Param type="Vector2 *" name="points" desc="" />
|
||||
<Param type="int" name="pointCount" desc="" />
|
||||
<Param type="float" name="thick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawSplineBezierCubic" retType="void" paramCount="4" desc="Draw spline: Cubic Bezier, minimum 4 points (2 control points): [p1, c2, c3, p4, c5, c6...]">
|
||||
<Param type="Vector2 *" name="points" desc="" />
|
||||
<Param type="int" name="pointCount" desc="" />
|
||||
<Param type="float" name="thick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawSplineSegmentLinear" retType="void" paramCount="4" desc="Draw spline segment: Linear, 2 points">
|
||||
<Param type="Vector2" name="p1" desc="" />
|
||||
<Param type="Vector2" name="p2" desc="" />
|
||||
<Param type="float" name="thick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawSplineSegmentBasis" retType="void" paramCount="6" desc="Draw spline segment: B-Spline, 4 points">
|
||||
<Param type="Vector2" name="p1" desc="" />
|
||||
<Param type="Vector2" name="p2" desc="" />
|
||||
<Param type="Vector2" name="p3" desc="" />
|
||||
<Param type="Vector2" name="p4" desc="" />
|
||||
<Param type="float" name="thick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawSplineSegmentCatmullRom" retType="void" paramCount="6" desc="Draw spline segment: Catmull-Rom, 4 points">
|
||||
<Param type="Vector2" name="p1" desc="" />
|
||||
<Param type="Vector2" name="p2" desc="" />
|
||||
<Param type="Vector2" name="p3" desc="" />
|
||||
<Param type="Vector2" name="p4" desc="" />
|
||||
<Param type="float" name="thick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawSplineSegmentBezierQuadratic" retType="void" paramCount="5" desc="Draw spline segment: Quadratic Bezier, 2 points, 1 control point">
|
||||
<Param type="Vector2" name="p1" desc="" />
|
||||
<Param type="Vector2" name="c2" desc="" />
|
||||
<Param type="Vector2" name="p3" desc="" />
|
||||
<Param type="float" name="thick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="DrawSplineSegmentBezierCubic" retType="void" paramCount="6" desc="Draw spline segment: Cubic Bezier, 2 points, 2 control points">
|
||||
<Param type="Vector2" name="p1" desc="" />
|
||||
<Param type="Vector2" name="c2" desc="" />
|
||||
<Param type="Vector2" name="c3" desc="" />
|
||||
<Param type="Vector2" name="p4" desc="" />
|
||||
<Param type="float" name="thick" desc="" />
|
||||
<Param type="Color" name="color" desc="" />
|
||||
</Function>
|
||||
<Function name="GetSplinePointLinear" retType="Vector2" paramCount="3" desc="Get (evaluate) spline point: Linear">
|
||||
<Param type="Vector2" name="startPos" desc="" />
|
||||
<Param type="Vector2" name="endPos" desc="" />
|
||||
<Param type="float" name="t" desc="" />
|
||||
</Function>
|
||||
<Function name="GetSplinePointBasis" retType="Vector2" paramCount="5" desc="Get (evaluate) spline point: B-Spline">
|
||||
<Param type="Vector2" name="p1" desc="" />
|
||||
<Param type="Vector2" name="p2" desc="" />
|
||||
<Param type="Vector2" name="p3" desc="" />
|
||||
<Param type="Vector2" name="p4" desc="" />
|
||||
<Param type="float" name="t" desc="" />
|
||||
</Function>
|
||||
<Function name="GetSplinePointCatmullRom" retType="Vector2" paramCount="5" desc="Get (evaluate) spline point: Catmull-Rom">
|
||||
<Param type="Vector2" name="p1" desc="" />
|
||||
<Param type="Vector2" name="p2" desc="" />
|
||||
<Param type="Vector2" name="p3" desc="" />
|
||||
<Param type="Vector2" name="p4" desc="" />
|
||||
<Param type="float" name="t" desc="" />
|
||||
</Function>
|
||||
<Function name="GetSplinePointBezierQuad" retType="Vector2" paramCount="4" desc="Get (evaluate) spline point: Quadratic Bezier">
|
||||
<Param type="Vector2" name="p1" desc="" />
|
||||
<Param type="Vector2" name="c2" desc="" />
|
||||
<Param type="Vector2" name="p3" desc="" />
|
||||
<Param type="float" name="t" desc="" />
|
||||
</Function>
|
||||
<Function name="GetSplinePointBezierCubic" retType="Vector2" paramCount="5" desc="Get (evaluate) spline point: Cubic Bezier">
|
||||
<Param type="Vector2" name="p1" desc="" />
|
||||
<Param type="Vector2" name="c2" desc="" />
|
||||
<Param type="Vector2" name="c3" desc="" />
|
||||
<Param type="Vector2" name="p4" desc="" />
|
||||
<Param type="float" name="t" desc="" />
|
||||
</Function>
|
||||
<Function name="CheckCollisionRecs" retType="bool" paramCount="2" desc="Check collision between two rectangles">
|
||||
<Param type="Rectangle" name="rec1" desc="" />
|
||||
<Param type="Rectangle" name="rec2" desc="" />
|
||||
|
@ -1688,6 +1806,11 @@
|
|||
<Param type="Image *" name="image" desc="" />
|
||||
<Param type="int" name="blurSize" desc="" />
|
||||
</Function>
|
||||
<Function name="ImageKernelConvolution" retType="void" paramCount="3" desc="Apply Custom Square image convolution kernel">
|
||||
<Param type="Image *" name="image" desc="" />
|
||||
<Param type="float*" name="kernel" desc="" />
|
||||
<Param type="int" name="kernelSize" desc="" />
|
||||
</Function>
|
||||
<Function name="ImageResize" retType="void" paramCount="3" desc="Resize image (Bicubic scaling algorithm)">
|
||||
<Param type="Image *" name="image" desc="" />
|
||||
<Param type="int" name="newWidth" desc="" />
|
||||
|
@ -2632,6 +2755,8 @@
|
|||
<Function name="SetMasterVolume" retType="void" paramCount="1" desc="Set master volume (listener)">
|
||||
<Param type="float" name="volume" desc="" />
|
||||
</Function>
|
||||
<Function name="GetMasterVolume" retType="float" paramCount="0" desc="Get master volume (listener)">
|
||||
</Function>
|
||||
<Function name="LoadWave" retType="Wave" paramCount="1" desc="Load wave data from file">
|
||||
<Param type="const char *" name="fileName" desc="" />
|
||||
</Function>
|
||||
|
|
Loading…
Reference in New Issue