diff --git a/tools/rlparser/output/raylib_api.json b/tools/rlparser/output/raylib_api.json index 915d5c665..1c882cd88 100644 --- a/tools/rlparser/output/raylib_api.json +++ b/tools/rlparser/output/raylib_api.json @@ -3800,7 +3800,7 @@ }, { "name": "IsShaderValid", - "description": "Check if a shader is valid (loaded on GPU)", + "description": "Check if shader is valid (loaded on GPU)", "returnType": "bool", "params": [ { @@ -4528,7 +4528,7 @@ }, { "name": "DirectoryExists", - "description": "Check if a directory path exists", + "description": "Check if directory path exists", "returnType": "bool", "params": [ { @@ -4663,7 +4663,7 @@ }, { "name": "IsPathFile", - "description": "Check if a given path is a file or a directory", + "description": "Check if given path is a file or a directory", "returnType": "bool", "params": [ { @@ -4726,7 +4726,7 @@ }, { "name": "IsFileDropped", - "description": "Check if a file has been dropped into window", + "description": "Check if file has been dropped into window", "returnType": "bool" }, { @@ -4989,7 +4989,7 @@ }, { "name": "IsKeyPressed", - "description": "Check if a key has been pressed once", + "description": "Check if key has been pressed once", "returnType": "bool", "params": [ { @@ -5000,7 +5000,7 @@ }, { "name": "IsKeyPressedRepeat", - "description": "Check if a key has been pressed again", + "description": "Check if key has been pressed again", "returnType": "bool", "params": [ { @@ -5011,7 +5011,7 @@ }, { "name": "IsKeyDown", - "description": "Check if a key is being pressed", + "description": "Check if key is being pressed", "returnType": "bool", "params": [ { @@ -5022,7 +5022,7 @@ }, { "name": "IsKeyReleased", - "description": "Check if a key has been released once", + "description": "Check if key has been released once", "returnType": "bool", "params": [ { @@ -5033,7 +5033,7 @@ }, { "name": "IsKeyUp", - "description": "Check if a key is NOT being pressed", + "description": "Check if key is NOT being pressed", "returnType": "bool", "params": [ { @@ -5076,7 +5076,7 @@ }, { "name": "IsGamepadAvailable", - "description": "Check if a gamepad is available", + "description": "Check if gamepad is available", "returnType": "bool", "params": [ { @@ -5098,7 +5098,7 @@ }, { "name": "IsGamepadButtonPressed", - "description": "Check if a gamepad button has been pressed once", + "description": "Check if gamepad button has been pressed once", "returnType": "bool", "params": [ { @@ -5113,7 +5113,7 @@ }, { "name": "IsGamepadButtonDown", - "description": "Check if a gamepad button is being pressed", + "description": "Check if gamepad button is being pressed", "returnType": "bool", "params": [ { @@ -5128,7 +5128,7 @@ }, { "name": "IsGamepadButtonReleased", - "description": "Check if a gamepad button has been released once", + "description": "Check if gamepad button has been released once", "returnType": "bool", "params": [ { @@ -5143,7 +5143,7 @@ }, { "name": "IsGamepadButtonUp", - "description": "Check if a gamepad button is NOT being pressed", + "description": "Check if gamepad button is NOT being pressed", "returnType": "bool", "params": [ { @@ -5223,7 +5223,7 @@ }, { "name": "IsMouseButtonPressed", - "description": "Check if a mouse button has been pressed once", + "description": "Check if mouse button has been pressed once", "returnType": "bool", "params": [ { @@ -5234,7 +5234,7 @@ }, { "name": "IsMouseButtonDown", - "description": "Check if a mouse button is being pressed", + "description": "Check if mouse button is being pressed", "returnType": "bool", "params": [ { @@ -5245,7 +5245,7 @@ }, { "name": "IsMouseButtonReleased", - "description": "Check if a mouse button has been released once", + "description": "Check if mouse button has been released once", "returnType": "bool", "params": [ { @@ -5256,7 +5256,7 @@ }, { "name": "IsMouseButtonUp", - "description": "Check if a mouse button is NOT being pressed", + "description": "Check if mouse button is NOT being pressed", "returnType": "bool", "params": [ { @@ -5401,7 +5401,7 @@ }, { "name": "IsGestureDetected", - "description": "Check if a gesture has been detected", + "description": "Check if gesture has been detected", "returnType": "bool", "params": [ { @@ -8716,7 +8716,7 @@ }, { "name": "IsTextureValid", - "description": "Check if a texture is valid (loaded in GPU)", + "description": "Check if texture is valid (loaded in GPU)", "returnType": "bool", "params": [ { @@ -8738,7 +8738,7 @@ }, { "name": "IsRenderTextureValid", - "description": "Check if a render texture is valid (loaded in GPU)", + "description": "Check if render texture is valid (loaded in GPU)", "returnType": "bool", "params": [ { @@ -9195,7 +9195,7 @@ "returnType": "Color", "params": [ { - "type": "void *", + "type": "const void *", "name": "srcPtr" }, { @@ -9333,7 +9333,7 @@ }, { "name": "IsFontValid", - "description": "Check if a font is valid (font data loaded, WARNING: GPU texture not checked)", + "description": "Check if font is valid (font data loaded, WARNING: GPU texture not checked)", "returnType": "bool", "params": [ { @@ -10800,7 +10800,7 @@ }, { "name": "IsModelValid", - "description": "Check if a model is valid (loaded in GPU, VAO/VBOs)", + "description": "Check if model is valid (loaded in GPU, VAO/VBOs)", "returnType": "bool", "params": [ { @@ -11433,7 +11433,7 @@ }, { "name": "IsMaterialValid", - "description": "Check if a material is valid (shader assigned, map textures loaded in GPU)", + "description": "Check if material is valid (shader assigned, map textures loaded in GPU)", "returnType": "bool", "params": [ { @@ -11853,7 +11853,7 @@ }, { "name": "IsSoundValid", - "description": "Check if a sound is valid (data loaded and buffers initialized)", + "description": "Check if sound is valid (data loaded and buffers initialized)", "returnType": "bool", "params": [ { @@ -11990,7 +11990,7 @@ }, { "name": "IsSoundPlaying", - "description": "Check if a sound is currently playing", + "description": "Check if sound is currently playing", "returnType": "bool", "params": [ { @@ -12151,7 +12151,7 @@ }, { "name": "IsMusicValid", - "description": "Check if a music stream is valid (context and buffers initialized)", + "description": "Check if music stream is valid (context and buffers initialized)", "returnType": "bool", "params": [ { diff --git a/tools/rlparser/output/raylib_api.lua b/tools/rlparser/output/raylib_api.lua index d784cb768..d5024fd45 100644 --- a/tools/rlparser/output/raylib_api.lua +++ b/tools/rlparser/output/raylib_api.lua @@ -3626,7 +3626,7 @@ return { }, { name = "IsShaderValid", - description = "Check if a shader is valid (loaded on GPU)", + description = "Check if shader is valid (loaded on GPU)", returnType = "bool", params = { {type = "Shader", name = "shader"} @@ -4084,7 +4084,7 @@ return { }, { name = "DirectoryExists", - description = "Check if a directory path exists", + description = "Check if directory path exists", returnType = "bool", params = { {type = "const char *", name = "dirPath"} @@ -4183,7 +4183,7 @@ return { }, { name = "IsPathFile", - description = "Check if a given path is a file or a directory", + description = "Check if given path is a file or a directory", returnType = "bool", params = { {type = "const char *", name = "path"} @@ -4225,7 +4225,7 @@ return { }, { name = "IsFileDropped", - description = "Check if a file has been dropped into window", + description = "Check if file has been dropped into window", returnType = "bool" }, { @@ -4395,7 +4395,7 @@ return { }, { name = "IsKeyPressed", - description = "Check if a key has been pressed once", + description = "Check if key has been pressed once", returnType = "bool", params = { {type = "int", name = "key"} @@ -4403,7 +4403,7 @@ return { }, { name = "IsKeyPressedRepeat", - description = "Check if a key has been pressed again", + description = "Check if key has been pressed again", returnType = "bool", params = { {type = "int", name = "key"} @@ -4411,7 +4411,7 @@ return { }, { name = "IsKeyDown", - description = "Check if a key is being pressed", + description = "Check if key is being pressed", returnType = "bool", params = { {type = "int", name = "key"} @@ -4419,7 +4419,7 @@ return { }, { name = "IsKeyReleased", - description = "Check if a key has been released once", + description = "Check if key has been released once", returnType = "bool", params = { {type = "int", name = "key"} @@ -4427,7 +4427,7 @@ return { }, { name = "IsKeyUp", - description = "Check if a key is NOT being pressed", + description = "Check if key is NOT being pressed", returnType = "bool", params = { {type = "int", name = "key"} @@ -4461,7 +4461,7 @@ return { }, { name = "IsGamepadAvailable", - description = "Check if a gamepad is available", + description = "Check if gamepad is available", returnType = "bool", params = { {type = "int", name = "gamepad"} @@ -4477,7 +4477,7 @@ return { }, { name = "IsGamepadButtonPressed", - description = "Check if a gamepad button has been pressed once", + description = "Check if gamepad button has been pressed once", returnType = "bool", params = { {type = "int", name = "gamepad"}, @@ -4486,7 +4486,7 @@ return { }, { name = "IsGamepadButtonDown", - description = "Check if a gamepad button is being pressed", + description = "Check if gamepad button is being pressed", returnType = "bool", params = { {type = "int", name = "gamepad"}, @@ -4495,7 +4495,7 @@ return { }, { name = "IsGamepadButtonReleased", - description = "Check if a gamepad button has been released once", + description = "Check if gamepad button has been released once", returnType = "bool", params = { {type = "int", name = "gamepad"}, @@ -4504,7 +4504,7 @@ return { }, { name = "IsGamepadButtonUp", - description = "Check if a gamepad button is NOT being pressed", + description = "Check if gamepad button is NOT being pressed", returnType = "bool", params = { {type = "int", name = "gamepad"}, @@ -4554,7 +4554,7 @@ return { }, { name = "IsMouseButtonPressed", - description = "Check if a mouse button has been pressed once", + description = "Check if mouse button has been pressed once", returnType = "bool", params = { {type = "int", name = "button"} @@ -4562,7 +4562,7 @@ return { }, { name = "IsMouseButtonDown", - description = "Check if a mouse button is being pressed", + description = "Check if mouse button is being pressed", returnType = "bool", params = { {type = "int", name = "button"} @@ -4570,7 +4570,7 @@ return { }, { name = "IsMouseButtonReleased", - description = "Check if a mouse button has been released once", + description = "Check if mouse button has been released once", returnType = "bool", params = { {type = "int", name = "button"} @@ -4578,7 +4578,7 @@ return { }, { name = "IsMouseButtonUp", - description = "Check if a mouse button is NOT being pressed", + description = "Check if mouse button is NOT being pressed", returnType = "bool", params = { {type = "int", name = "button"} @@ -4690,7 +4690,7 @@ return { }, { name = "IsGestureDetected", - description = "Check if a gesture has been detected", + description = "Check if gesture has been detected", returnType = "bool", params = { {type = "unsigned int", name = "gesture"} @@ -6361,7 +6361,7 @@ return { }, { name = "IsTextureValid", - description = "Check if a texture is valid (loaded in GPU)", + description = "Check if texture is valid (loaded in GPU)", returnType = "bool", params = { {type = "Texture2D", name = "texture"} @@ -6377,7 +6377,7 @@ return { }, { name = "IsRenderTextureValid", - description = "Check if a render texture is valid (loaded in GPU)", + description = "Check if render texture is valid (loaded in GPU)", returnType = "bool", params = { {type = "RenderTexture2D", name = "target"} @@ -6635,7 +6635,7 @@ return { description = "Get Color from a source pixel pointer of certain format", returnType = "Color", params = { - {type = "void *", name = "srcPtr"}, + {type = "const void *", name = "srcPtr"}, {type = "int", name = "format"} } }, @@ -6708,7 +6708,7 @@ return { }, { name = "IsFontValid", - description = "Check if a font is valid (font data loaded, WARNING: GPU texture not checked)", + description = "Check if font is valid (font data loaded, WARNING: GPU texture not checked)", returnType = "bool", params = { {type = "Font", name = "font"} @@ -7479,7 +7479,7 @@ return { }, { name = "IsModelValid", - description = "Check if a model is valid (loaded in GPU, VAO/VBOs)", + description = "Check if model is valid (loaded in GPU, VAO/VBOs)", returnType = "bool", params = { {type = "Model", name = "model"} @@ -7809,7 +7809,7 @@ return { }, { name = "IsMaterialValid", - description = "Check if a material is valid (shader assigned, map textures loaded in GPU)", + description = "Check if material is valid (shader assigned, map textures loaded in GPU)", returnType = "bool", params = { {type = "Material", name = "material"} @@ -8055,7 +8055,7 @@ return { }, { name = "IsSoundValid", - description = "Check if a sound is valid (data loaded and buffers initialized)", + description = "Check if sound is valid (data loaded and buffers initialized)", returnType = "bool", params = { {type = "Sound", name = "sound"} @@ -8147,7 +8147,7 @@ return { }, { name = "IsSoundPlaying", - description = "Check if a sound is currently playing", + description = "Check if sound is currently playing", returnType = "bool", params = { {type = "Sound", name = "sound"} @@ -8245,7 +8245,7 @@ return { }, { name = "IsMusicValid", - description = "Check if a music stream is valid (context and buffers initialized)", + description = "Check if music stream is valid (context and buffers initialized)", returnType = "bool", params = { {type = "Music", name = "music"} diff --git a/tools/rlparser/output/raylib_api.txt b/tools/rlparser/output/raylib_api.txt index 11f23d80a..e322d5fe7 100644 --- a/tools/rlparser/output/raylib_api.txt +++ b/tools/rlparser/output/raylib_api.txt @@ -1397,7 +1397,7 @@ Function 076: LoadShaderFromMemory() (2 input parameters) Function 077: IsShaderValid() (1 input parameters) Name: IsShaderValid Return type: bool - Description: Check if a shader is valid (loaded on GPU) + Description: Check if shader is valid (loaded on GPU) Param[1]: shader (type: Shader) Function 078: GetShaderLocation() (2 input parameters) Name: GetShaderLocation @@ -1708,7 +1708,7 @@ Function 130: FileExists() (1 input parameters) Function 131: DirectoryExists() (1 input parameters) Name: DirectoryExists Return type: bool - Description: Check if a directory path exists + Description: Check if directory path exists Param[1]: dirPath (type: const char *) Function 132: IsFileExtension() (2 input parameters) Name: IsFileExtension @@ -1774,7 +1774,7 @@ Function 143: ChangeDirectory() (1 input parameters) Function 144: IsPathFile() (1 input parameters) Name: IsPathFile Return type: bool - Description: Check if a given path is a file or a directory + Description: Check if given path is a file or a directory Param[1]: path (type: const char *) Function 145: IsFileNameValid() (1 input parameters) Name: IsFileNameValid @@ -1801,7 +1801,7 @@ Function 148: UnloadDirectoryFiles() (1 input parameters) Function 149: IsFileDropped() (0 input parameters) Name: IsFileDropped Return type: bool - Description: Check if a file has been dropped into window + Description: Check if file has been dropped into window No input parameters Function 150: LoadDroppedFiles() (0 input parameters) Name: LoadDroppedFiles @@ -1920,27 +1920,27 @@ Function 169: PlayAutomationEvent() (1 input parameters) Function 170: IsKeyPressed() (1 input parameters) Name: IsKeyPressed Return type: bool - Description: Check if a key has been pressed once + Description: Check if key has been pressed once Param[1]: key (type: int) Function 171: IsKeyPressedRepeat() (1 input parameters) Name: IsKeyPressedRepeat Return type: bool - Description: Check if a key has been pressed again + Description: Check if key has been pressed again Param[1]: key (type: int) Function 172: IsKeyDown() (1 input parameters) Name: IsKeyDown Return type: bool - Description: Check if a key is being pressed + Description: Check if key is being pressed Param[1]: key (type: int) Function 173: IsKeyReleased() (1 input parameters) Name: IsKeyReleased Return type: bool - Description: Check if a key has been released once + Description: Check if key has been released once Param[1]: key (type: int) Function 174: IsKeyUp() (1 input parameters) Name: IsKeyUp Return type: bool - Description: Check if a key is NOT being pressed + Description: Check if key is NOT being pressed Param[1]: key (type: int) Function 175: GetKeyPressed() (0 input parameters) Name: GetKeyPressed @@ -1965,7 +1965,7 @@ Function 178: SetExitKey() (1 input parameters) Function 179: IsGamepadAvailable() (1 input parameters) Name: IsGamepadAvailable Return type: bool - Description: Check if a gamepad is available + Description: Check if gamepad is available Param[1]: gamepad (type: int) Function 180: GetGamepadName() (1 input parameters) Name: GetGamepadName @@ -1975,25 +1975,25 @@ Function 180: GetGamepadName() (1 input parameters) Function 181: IsGamepadButtonPressed() (2 input parameters) Name: IsGamepadButtonPressed Return type: bool - Description: Check if a gamepad button has been pressed once + Description: Check if gamepad button has been pressed once Param[1]: gamepad (type: int) Param[2]: button (type: int) Function 182: IsGamepadButtonDown() (2 input parameters) Name: IsGamepadButtonDown Return type: bool - Description: Check if a gamepad button is being pressed + Description: Check if gamepad button is being pressed Param[1]: gamepad (type: int) Param[2]: button (type: int) Function 183: IsGamepadButtonReleased() (2 input parameters) Name: IsGamepadButtonReleased Return type: bool - Description: Check if a gamepad button has been released once + Description: Check if gamepad button has been released once Param[1]: gamepad (type: int) Param[2]: button (type: int) Function 184: IsGamepadButtonUp() (2 input parameters) Name: IsGamepadButtonUp Return type: bool - Description: Check if a gamepad button is NOT being pressed + Description: Check if gamepad button is NOT being pressed Param[1]: gamepad (type: int) Param[2]: button (type: int) Function 185: GetGamepadButtonPressed() (0 input parameters) @@ -2028,22 +2028,22 @@ Function 189: SetGamepadVibration() (4 input parameters) Function 190: IsMouseButtonPressed() (1 input parameters) Name: IsMouseButtonPressed Return type: bool - Description: Check if a mouse button has been pressed once + Description: Check if mouse button has been pressed once Param[1]: button (type: int) Function 191: IsMouseButtonDown() (1 input parameters) Name: IsMouseButtonDown Return type: bool - Description: Check if a mouse button is being pressed + Description: Check if mouse button is being pressed Param[1]: button (type: int) Function 192: IsMouseButtonReleased() (1 input parameters) Name: IsMouseButtonReleased Return type: bool - Description: Check if a mouse button has been released once + Description: Check if mouse button has been released once Param[1]: button (type: int) Function 193: IsMouseButtonUp() (1 input parameters) Name: IsMouseButtonUp Return type: bool - Description: Check if a mouse button is NOT being pressed + Description: Check if mouse button is NOT being pressed Param[1]: button (type: int) Function 194: GetMouseX() (0 input parameters) Name: GetMouseX @@ -2131,7 +2131,7 @@ Function 209: SetGesturesEnabled() (1 input parameters) Function 210: IsGestureDetected() (1 input parameters) Name: IsGestureDetected Return type: bool - Description: Check if a gesture has been detected + Description: Check if gesture has been detected Param[1]: gesture (type: unsigned int) Function 211: GetGestureDetected() (0 input parameters) Name: GetGestureDetected @@ -3340,7 +3340,7 @@ Function 372: LoadRenderTexture() (2 input parameters) Function 373: IsTextureValid() (1 input parameters) Name: IsTextureValid Return type: bool - Description: Check if a texture is valid (loaded in GPU) + Description: Check if texture is valid (loaded in GPU) Param[1]: texture (type: Texture2D) Function 374: UnloadTexture() (1 input parameters) Name: UnloadTexture @@ -3350,7 +3350,7 @@ Function 374: UnloadTexture() (1 input parameters) Function 375: IsRenderTextureValid() (1 input parameters) Name: IsRenderTextureValid Return type: bool - Description: Check if a render texture is valid (loaded in GPU) + Description: Check if render texture is valid (loaded in GPU) Param[1]: target (type: RenderTexture2D) Function 376: UnloadRenderTexture() (1 input parameters) Name: UnloadRenderTexture @@ -3525,7 +3525,7 @@ Function 402: GetPixelColor() (2 input parameters) Name: GetPixelColor Return type: Color Description: Get Color from a source pixel pointer of certain format - Param[1]: srcPtr (type: void *) + Param[1]: srcPtr (type: const void *) Param[2]: format (type: int) Function 403: SetPixelColor() (3 input parameters) Name: SetPixelColor @@ -3579,7 +3579,7 @@ Function 409: LoadFontFromMemory() (6 input parameters) Function 410: IsFontValid() (1 input parameters) Name: IsFontValid Return type: bool - Description: Check if a font is valid (font data loaded, WARNING: GPU texture not checked) + Description: Check if font is valid (font data loaded, WARNING: GPU texture not checked) Param[1]: font (type: Font) Function 411: LoadFontData() (7 input parameters) Name: LoadFontData @@ -4119,7 +4119,7 @@ Function 486: LoadModelFromMesh() (1 input parameters) Function 487: IsModelValid() (1 input parameters) Name: IsModelValid Return type: bool - Description: Check if a model is valid (loaded in GPU, VAO/VBOs) + Description: Check if model is valid (loaded in GPU, VAO/VBOs) Param[1]: model (type: Model) Function 488: UnloadModel() (1 input parameters) Name: UnloadModel @@ -4353,7 +4353,7 @@ Function 519: LoadMaterialDefault() (0 input parameters) Function 520: IsMaterialValid() (1 input parameters) Name: IsMaterialValid Return type: bool - Description: Check if a material is valid (shader assigned, map textures loaded in GPU) + Description: Check if material is valid (shader assigned, map textures loaded in GPU) Param[1]: material (type: Material) Function 521: UnloadMaterial() (1 input parameters) Name: UnloadMaterial @@ -4527,7 +4527,7 @@ Function 547: LoadSoundAlias() (1 input parameters) Function 548: IsSoundValid() (1 input parameters) Name: IsSoundValid Return type: bool - Description: Check if a sound is valid (data loaded and buffers initialized) + Description: Check if sound is valid (data loaded and buffers initialized) Param[1]: sound (type: Sound) Function 549: UpdateSound() (3 input parameters) Name: UpdateSound @@ -4586,7 +4586,7 @@ Function 558: ResumeSound() (1 input parameters) Function 559: IsSoundPlaying() (1 input parameters) Name: IsSoundPlaying Return type: bool - Description: Check if a sound is currently playing + Description: Check if sound is currently playing Param[1]: sound (type: Sound) Function 560: SetSoundVolume() (2 input parameters) Name: SetSoundVolume @@ -4651,7 +4651,7 @@ Function 569: LoadMusicStreamFromMemory() (3 input parameters) Function 570: IsMusicValid() (1 input parameters) Name: IsMusicValid Return type: bool - Description: Check if a music stream is valid (context and buffers initialized) + Description: Check if music stream is valid (context and buffers initialized) Param[1]: music (type: Music) Function 571: UnloadMusicStream() (1 input parameters) Name: UnloadMusicStream diff --git a/tools/rlparser/output/raylib_api.xml b/tools/rlparser/output/raylib_api.xml index 11ba9fccb..75720ce9f 100644 --- a/tools/rlparser/output/raylib_api.xml +++ b/tools/rlparser/output/raylib_api.xml @@ -880,7 +880,7 @@ - + @@ -1078,7 +1078,7 @@ - + @@ -1116,7 +1116,7 @@ - + @@ -1133,7 +1133,7 @@ - + @@ -1206,19 +1206,19 @@ - + - + - + - + - + @@ -1231,25 +1231,25 @@ - + - + - + - + - + @@ -1271,16 +1271,16 @@ - + - + - + - + @@ -1325,7 +1325,7 @@ - + @@ -2199,13 +2199,13 @@ - + - + @@ -2326,7 +2326,7 @@ - + @@ -2363,7 +2363,7 @@ - + @@ -2749,7 +2749,7 @@ - + @@ -2916,7 +2916,7 @@ - + @@ -3030,7 +3030,7 @@ - + @@ -3067,7 +3067,7 @@ - + @@ -3110,7 +3110,7 @@ - +