mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Update parser outputs for raylib 4.2
This commit is contained in:
@ -9,7 +9,13 @@
|
||||
{
|
||||
"name": "RAYLIB_VERSION",
|
||||
"type": "STRING",
|
||||
"value": "4.1-dev",
|
||||
"value": "4.2",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
"name": "__declspec(x)",
|
||||
"type": "MACRO",
|
||||
"value": "__attribute__((x))",
|
||||
"description": ""
|
||||
},
|
||||
{
|
||||
@ -1279,6 +1285,27 @@
|
||||
"description": "VR distortion scale in"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "FilePathList",
|
||||
"description": "File path list",
|
||||
"fields": [
|
||||
{
|
||||
"type": "unsigned int",
|
||||
"name": "capacity",
|
||||
"description": "Filepaths max entries"
|
||||
},
|
||||
{
|
||||
"type": "unsigned int",
|
||||
"name": "count",
|
||||
"description": "Filepaths entries count"
|
||||
},
|
||||
{
|
||||
"type": "char **",
|
||||
"name": "paths",
|
||||
"description": "Filepaths entries"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"aliases": [
|
||||
@ -1373,6 +1400,11 @@
|
||||
"value": 8192,
|
||||
"description": "Set to support HighDPI"
|
||||
},
|
||||
{
|
||||
"name": "FLAG_WINDOW_MOUSE_PASSTHROUGH",
|
||||
"value": 16384,
|
||||
"description": "Set to support mouse passthrough, only supported when FLAG_WINDOW_UNDECORATED"
|
||||
},
|
||||
{
|
||||
"name": "FLAG_MSAA_4X_HINT",
|
||||
"value": 32,
|
||||
@ -2755,7 +2787,7 @@
|
||||
"description": "Blend textures subtracting colors (alternative)"
|
||||
},
|
||||
{
|
||||
"name": "BLEND_ALPHA_PREMUL",
|
||||
"name": "BLEND_ALPHA_PREMULTIPLY",
|
||||
"value": 5,
|
||||
"description": "Blend premultiplied textures considering alpha"
|
||||
},
|
||||
@ -3247,7 +3279,7 @@
|
||||
},
|
||||
{
|
||||
"name": "GetMonitorWidth",
|
||||
"description": "Get specified monitor width (max available by monitor)",
|
||||
"description": "Get specified monitor width (current video mode used by monitor)",
|
||||
"returnType": "int",
|
||||
"params": [
|
||||
{
|
||||
@ -3258,7 +3290,7 @@
|
||||
},
|
||||
{
|
||||
"name": "GetMonitorHeight",
|
||||
"description": "Get specified monitor height (max available by monitor)",
|
||||
"description": "Get specified monitor height (current video mode used by monitor)",
|
||||
"returnType": "int",
|
||||
"params": [
|
||||
{
|
||||
@ -3337,6 +3369,16 @@
|
||||
"description": "Get clipboard text content",
|
||||
"returnType": "const char *"
|
||||
},
|
||||
{
|
||||
"name": "EnableEventWaiting",
|
||||
"description": "Enable waiting for events on EndDrawing(), no automatic event polling",
|
||||
"returnType": "void"
|
||||
},
|
||||
{
|
||||
"name": "DisableEventWaiting",
|
||||
"description": "Disable waiting for events on EndDrawing(), automatic events polling",
|
||||
"returnType": "void"
|
||||
},
|
||||
{
|
||||
"name": "SwapScreenBuffer",
|
||||
"description": "Swap back buffer with front buffer (screen drawing)",
|
||||
@ -3349,12 +3391,12 @@
|
||||
},
|
||||
{
|
||||
"name": "WaitTime",
|
||||
"description": "Wait for some milliseconds (halt program execution)",
|
||||
"description": "Wait for some time (halt program execution)",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "float",
|
||||
"name": "ms"
|
||||
"type": "double",
|
||||
"name": "seconds"
|
||||
}
|
||||
]
|
||||
},
|
||||
@ -3766,6 +3808,21 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "GetScreenToWorld2D",
|
||||
"description": "Get the world space position for a 2d camera screen space position",
|
||||
"returnType": "Vector2",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "position"
|
||||
},
|
||||
{
|
||||
"type": "Camera2D",
|
||||
"name": "camera"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "GetWorldToScreenEx",
|
||||
"description": "Get size position for a 3d world space position",
|
||||
@ -3804,21 +3861,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "GetScreenToWorld2D",
|
||||
"description": "Get the world space position for a 2d camera screen space position",
|
||||
"returnType": "Vector2",
|
||||
"params": [
|
||||
{
|
||||
"type": "Vector2",
|
||||
"name": "position"
|
||||
},
|
||||
{
|
||||
"type": "Camera2D",
|
||||
"name": "camera"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "SetTargetFPS",
|
||||
"description": "Set target FPS (maximum)",
|
||||
@ -3960,6 +4002,17 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"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",
|
||||
@ -4060,6 +4113,25 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ExportDataAsCode",
|
||||
"description": "Export data to code (.h), returns true on success",
|
||||
"returnType": "bool",
|
||||
"params": [
|
||||
{
|
||||
"type": "const char *",
|
||||
"name": "data"
|
||||
},
|
||||
{
|
||||
"type": "unsigned int",
|
||||
"name": "size"
|
||||
},
|
||||
{
|
||||
"type": "const char *",
|
||||
"name": "fileName"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "LoadFileText",
|
||||
"description": "Load text data from file (read), returns a '\\0' terminated string",
|
||||
@ -4210,26 +4282,6 @@
|
||||
"description": "Get the directory if the running application (uses static string)",
|
||||
"returnType": "const char *"
|
||||
},
|
||||
{
|
||||
"name": "GetDirectoryFiles",
|
||||
"description": "Get filenames in a directory path (memory must be freed)",
|
||||
"returnType": "char **",
|
||||
"params": [
|
||||
{
|
||||
"type": "const char *",
|
||||
"name": "dirPath"
|
||||
},
|
||||
{
|
||||
"type": "int *",
|
||||
"name": "count"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "ClearDirectoryFiles",
|
||||
"description": "Clear directory files paths buffers (free memory)",
|
||||
"returnType": "void"
|
||||
},
|
||||
{
|
||||
"name": "ChangeDirectory",
|
||||
"description": "Change working directory, return true on success",
|
||||
@ -4241,26 +4293,78 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "IsPathFile",
|
||||
"description": "Check if a given path is a file or a directory",
|
||||
"returnType": "bool",
|
||||
"params": [
|
||||
{
|
||||
"type": "const char *",
|
||||
"name": "path"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "LoadDirectoryFiles",
|
||||
"description": "Load directory filepaths",
|
||||
"returnType": "FilePathList",
|
||||
"params": [
|
||||
{
|
||||
"type": "const char *",
|
||||
"name": "dirPath"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "LoadDirectoryFilesEx",
|
||||
"description": "Load directory filepaths with extension filtering and recursive directory scan",
|
||||
"returnType": "FilePathList",
|
||||
"params": [
|
||||
{
|
||||
"type": "const char *",
|
||||
"name": "basePath"
|
||||
},
|
||||
{
|
||||
"type": "const char *",
|
||||
"name": "filter"
|
||||
},
|
||||
{
|
||||
"type": "bool",
|
||||
"name": "scanSubdirs"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "UnloadDirectoryFiles",
|
||||
"description": "Unload filepaths",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "FilePathList",
|
||||
"name": "files"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "IsFileDropped",
|
||||
"description": "Check if a file has been dropped into window",
|
||||
"returnType": "bool"
|
||||
},
|
||||
{
|
||||
"name": "GetDroppedFiles",
|
||||
"description": "Get dropped files names (memory must be freed)",
|
||||
"returnType": "char **",
|
||||
"params": [
|
||||
{
|
||||
"type": "int *",
|
||||
"name": "count"
|
||||
}
|
||||
]
|
||||
"name": "LoadDroppedFiles",
|
||||
"description": "Load dropped filepaths",
|
||||
"returnType": "FilePathList"
|
||||
},
|
||||
{
|
||||
"name": "ClearDroppedFiles",
|
||||
"description": "Clear dropped files paths buffer (free memory)",
|
||||
"returnType": "void"
|
||||
"name": "UnloadDroppedFiles",
|
||||
"description": "Unload dropped filepaths",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "FilePathList",
|
||||
"name": "files"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "GetFileModTime",
|
||||
@ -4345,43 +4449,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "SaveStorageValue",
|
||||
"description": "Save integer value to storage file (to defined position), returns true on success",
|
||||
"returnType": "bool",
|
||||
"params": [
|
||||
{
|
||||
"type": "unsigned int",
|
||||
"name": "position"
|
||||
},
|
||||
{
|
||||
"type": "int",
|
||||
"name": "value"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "LoadStorageValue",
|
||||
"description": "Load integer value from storage file (from defined position)",
|
||||
"returnType": "int",
|
||||
"params": [
|
||||
{
|
||||
"type": "unsigned int",
|
||||
"name": "position"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "OpenURL",
|
||||
"description": "Open URL with default system browser (if available)",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "const char *",
|
||||
"name": "url"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "IsKeyPressed",
|
||||
"description": "Check if a key has been pressed once",
|
||||
@ -4682,9 +4749,14 @@
|
||||
},
|
||||
{
|
||||
"name": "GetMouseWheelMove",
|
||||
"description": "Get mouse wheel movement Y",
|
||||
"description": "Get mouse wheel movement for X or Y, whichever is larger",
|
||||
"returnType": "float"
|
||||
},
|
||||
{
|
||||
"name": "GetMouseWheelMoveV",
|
||||
"description": "Get mouse wheel movement for both X and Y",
|
||||
"returnType": "Vector2"
|
||||
},
|
||||
{
|
||||
"name": "SetMouseCursor",
|
||||
"description": "Set mouse cursor",
|
||||
@ -9378,17 +9450,6 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "GenMeshBinormals",
|
||||
"description": "Compute mesh binormals",
|
||||
"returnType": "void",
|
||||
"params": [
|
||||
{
|
||||
"type": "Mesh *",
|
||||
"name": "mesh"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "GenMeshPoly",
|
||||
"description": "Generate polygonal mesh",
|
||||
|
||||
Reference in New Issue
Block a user