mirror of
				https://github.com/raysan5/raylib.git
				synced 2025-10-26 12:27:01 +00:00 
			
		
		
		
	Fix string defines generating invalid XML (#2426)
This commit is contained in:
		| @@ -735,6 +735,11 @@ | |||||||
|           "name": "buffer", |           "name": "buffer", | ||||||
|           "description": "Pointer to internal data used by the audio system" |           "description": "Pointer to internal data used by the audio system" | ||||||
|         }, |         }, | ||||||
|  |         { | ||||||
|  |           "type": "rAudioProcessor *", | ||||||
|  |           "name": "processor", | ||||||
|  |           "description": "Pointer to internal data processor, useful for audio effects" | ||||||
|  |         }, | ||||||
|         { |         { | ||||||
|           "type": "unsigned int", |           "type": "unsigned int", | ||||||
|           "name": "sampleRate", |           "name": "sampleRate", | ||||||
| @@ -9645,21 +9650,6 @@ | |||||||
|         } |         } | ||||||
|       ] |       ] | ||||||
|     }, |     }, | ||||||
|     { |  | ||||||
|       "name": "GetRayCollisionModel", |  | ||||||
|       "description": "Get collision info between ray and model", |  | ||||||
|       "returnType": "RayCollision", |  | ||||||
|       "params": [ |  | ||||||
|         { |  | ||||||
|           "type": "Ray", |  | ||||||
|           "name": "ray" |  | ||||||
|         }, |  | ||||||
|         { |  | ||||||
|           "type": "Model", |  | ||||||
|           "name": "model" |  | ||||||
|         } |  | ||||||
|       ] |  | ||||||
|     }, |  | ||||||
|     { |     { | ||||||
|       "name": "GetRayCollisionMesh", |       "name": "GetRayCollisionMesh", | ||||||
|       "description": "Get collision info between ray and mesh", |       "description": "Get collision info between ray and mesh", | ||||||
| @@ -10433,6 +10423,51 @@ | |||||||
|           "name": "size" |           "name": "size" | ||||||
|         } |         } | ||||||
|       ] |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "name": "SetAudioStreamCallback", | ||||||
|  |       "description": "Audio thread callback to request new data", | ||||||
|  |       "returnType": "void", | ||||||
|  |       "params": [ | ||||||
|  |         { | ||||||
|  |           "type": "AudioStream", | ||||||
|  |           "name": "stream" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "type": "AudioCallback", | ||||||
|  |           "name": "callback" | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "name": "AttachAudioStreamProcessor", | ||||||
|  |       "description": "", | ||||||
|  |       "returnType": "void", | ||||||
|  |       "params": [ | ||||||
|  |         { | ||||||
|  |           "type": "AudioStream", | ||||||
|  |           "name": "stream" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "type": "AudioCallback", | ||||||
|  |           "name": "processor" | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       "name": "DetachAudioStreamProcessor", | ||||||
|  |       "description": "", | ||||||
|  |       "returnType": "void", | ||||||
|  |       "params": [ | ||||||
|  |         { | ||||||
|  |           "type": "AudioStream", | ||||||
|  |           "name": "stream" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |           "type": "AudioCallback", | ||||||
|  |           "name": "processor" | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|     } |     } | ||||||
|   ] |   ] | ||||||
| } | } | ||||||
|   | |||||||
| @@ -735,6 +735,11 @@ return { | |||||||
|           name = "buffer", |           name = "buffer", | ||||||
|           description = "Pointer to internal data used by the audio system" |           description = "Pointer to internal data used by the audio system" | ||||||
|         }, |         }, | ||||||
|  |         { | ||||||
|  |           type = "rAudioProcessor *", | ||||||
|  |           name = "processor", | ||||||
|  |           description = "Pointer to internal data processor, useful for audio effects" | ||||||
|  |         }, | ||||||
|         { |         { | ||||||
|           type = "unsigned int", |           type = "unsigned int", | ||||||
|           name = "sampleRate", |           name = "sampleRate", | ||||||
| @@ -6702,15 +6707,6 @@ return { | |||||||
|         {type = "BoundingBox", name = "box"} |         {type = "BoundingBox", name = "box"} | ||||||
|       } |       } | ||||||
|     }, |     }, | ||||||
|     { |  | ||||||
|       name = "GetRayCollisionModel", |  | ||||||
|       description = "Get collision info between ray and model", |  | ||||||
|       returnType = "RayCollision", |  | ||||||
|       params = { |  | ||||||
|         {type = "Ray", name = "ray"}, |  | ||||||
|         {type = "Model", name = "model"} |  | ||||||
|       } |  | ||||||
|     }, |  | ||||||
|     { |     { | ||||||
|       name = "GetRayCollisionMesh", |       name = "GetRayCollisionMesh", | ||||||
|       description = "Get collision info between ray and mesh", |       description = "Get collision info between ray and mesh", | ||||||
| @@ -7211,6 +7207,33 @@ return { | |||||||
|       params = { |       params = { | ||||||
|         {type = "int", name = "size"} |         {type = "int", name = "size"} | ||||||
|       } |       } | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       name = "SetAudioStreamCallback", | ||||||
|  |       description = "Audio thread callback to request new data", | ||||||
|  |       returnType = "void", | ||||||
|  |       params = { | ||||||
|  |         {type = "AudioStream", name = "stream"}, | ||||||
|  |         {type = "AudioCallback", name = "callback"} | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       name = "AttachAudioStreamProcessor", | ||||||
|  |       description = "", | ||||||
|  |       returnType = "void", | ||||||
|  |       params = { | ||||||
|  |         {type = "AudioStream", name = "stream"}, | ||||||
|  |         {type = "AudioCallback", name = "processor"} | ||||||
|  |       } | ||||||
|  |     }, | ||||||
|  |     { | ||||||
|  |       name = "DetachAudioStreamProcessor", | ||||||
|  |       description = "", | ||||||
|  |       returnType = "void", | ||||||
|  |       params = { | ||||||
|  |         {type = "AudioStream", name = "stream"}, | ||||||
|  |         {type = "AudioCallback", name = "processor"} | ||||||
|  |       } | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
| } | } | ||||||
|   | |||||||
| @@ -193,13 +193,14 @@ Struct 26: Wave (5 fields) | |||||||
|   Field[3]: unsigned int sampleSize // Bit depth (bits per sample): 8, 16, 32 (24 not supported) |   Field[3]: unsigned int sampleSize // Bit depth (bits per sample): 8, 16, 32 (24 not supported) | ||||||
|   Field[4]: unsigned int channels // Number of channels (1-mono, 2-stereo, ...) |   Field[4]: unsigned int channels // Number of channels (1-mono, 2-stereo, ...) | ||||||
|   Field[5]: void * data // Buffer data pointer |   Field[5]: void * data // Buffer data pointer | ||||||
| Struct 27: AudioStream (4 fields) | Struct 27: AudioStream (5 fields) | ||||||
|   Name: AudioStream |   Name: AudioStream | ||||||
|   Description: AudioStream, custom audio stream |   Description: AudioStream, custom audio stream | ||||||
|   Field[1]: rAudioBuffer * buffer // Pointer to internal data used by the audio system |   Field[1]: rAudioBuffer * buffer // Pointer to internal data used by the audio system | ||||||
|   Field[2]: unsigned int sampleRate // Frequency (samples per second) |   Field[2]: rAudioProcessor * processor // Pointer to internal data processor, useful for audio effects | ||||||
|   Field[3]: unsigned int sampleSize // Bit depth (bits per sample): 8, 16, 32 (24 not supported) |   Field[3]: unsigned int sampleRate // Frequency (samples per second) | ||||||
|   Field[4]: unsigned int channels // Number of channels (1-mono, 2-stereo, ...) |   Field[4]: unsigned int sampleSize // Bit depth (bits per sample): 8, 16, 32 (24 not supported) | ||||||
|  |   Field[5]: unsigned int channels // Number of channels (1-mono, 2-stereo, ...) | ||||||
| Struct 28: Sound (2 fields) | Struct 28: Sound (2 fields) | ||||||
|   Name: Sound |   Name: Sound | ||||||
|   Description: Sound |   Description: Sound | ||||||
| @@ -596,7 +597,7 @@ Enum 21: NPatchLayout (3 values) | |||||||
|   Value[NPATCH_THREE_PATCH_VERTICAL]: 1 |   Value[NPATCH_THREE_PATCH_VERTICAL]: 1 | ||||||
|   Value[NPATCH_THREE_PATCH_HORIZONTAL]: 2 |   Value[NPATCH_THREE_PATCH_HORIZONTAL]: 2 | ||||||
|  |  | ||||||
| Functions found: 497 | Functions found: 499 | ||||||
|  |  | ||||||
| Function 001: InitWindow() (3 input parameters) | Function 001: InitWindow() (3 input parameters) | ||||||
|   Name: InitWindow |   Name: InitWindow | ||||||
| @@ -3391,20 +3392,14 @@ Function 436: GetRayCollisionBox() (2 input parameters) | |||||||
|   Description: Get collision info between ray and box |   Description: Get collision info between ray and box | ||||||
|   Param[1]: ray (type: Ray) |   Param[1]: ray (type: Ray) | ||||||
|   Param[2]: box (type: BoundingBox) |   Param[2]: box (type: BoundingBox) | ||||||
| Function 437: GetRayCollisionModel() (2 input parameters) | Function 437: GetRayCollisionMesh() (3 input parameters) | ||||||
|   Name: GetRayCollisionModel |  | ||||||
|   Return type: RayCollision |  | ||||||
|   Description: Get collision info between ray and model |  | ||||||
|   Param[1]: ray (type: Ray) |  | ||||||
|   Param[2]: model (type: Model) |  | ||||||
| Function 438: GetRayCollisionMesh() (3 input parameters) |  | ||||||
|   Name: GetRayCollisionMesh |   Name: GetRayCollisionMesh | ||||||
|   Return type: RayCollision |   Return type: RayCollision | ||||||
|   Description: Get collision info between ray and mesh |   Description: Get collision info between ray and mesh | ||||||
|   Param[1]: ray (type: Ray) |   Param[1]: ray (type: Ray) | ||||||
|   Param[2]: mesh (type: Mesh) |   Param[2]: mesh (type: Mesh) | ||||||
|   Param[3]: transform (type: Matrix) |   Param[3]: transform (type: Matrix) | ||||||
| Function 439: GetRayCollisionTriangle() (4 input parameters) | Function 438: GetRayCollisionTriangle() (4 input parameters) | ||||||
|   Name: GetRayCollisionTriangle |   Name: GetRayCollisionTriangle | ||||||
|   Return type: RayCollision |   Return type: RayCollision | ||||||
|   Description: Get collision info between ray and triangle |   Description: Get collision info between ray and triangle | ||||||
| @@ -3412,7 +3407,7 @@ Function 439: GetRayCollisionTriangle() (4 input parameters) | |||||||
|   Param[2]: p1 (type: Vector3) |   Param[2]: p1 (type: Vector3) | ||||||
|   Param[3]: p2 (type: Vector3) |   Param[3]: p2 (type: Vector3) | ||||||
|   Param[4]: p3 (type: Vector3) |   Param[4]: p3 (type: Vector3) | ||||||
| Function 440: GetRayCollisionQuad() (5 input parameters) | Function 439: GetRayCollisionQuad() (5 input parameters) | ||||||
|   Name: GetRayCollisionQuad |   Name: GetRayCollisionQuad | ||||||
|   Return type: RayCollision |   Return type: RayCollision | ||||||
|   Description: Get collision info between ray and quad |   Description: Get collision info between ray and quad | ||||||
| @@ -3421,148 +3416,148 @@ Function 440: GetRayCollisionQuad() (5 input parameters) | |||||||
|   Param[3]: p2 (type: Vector3) |   Param[3]: p2 (type: Vector3) | ||||||
|   Param[4]: p3 (type: Vector3) |   Param[4]: p3 (type: Vector3) | ||||||
|   Param[5]: p4 (type: Vector3) |   Param[5]: p4 (type: Vector3) | ||||||
| Function 441: InitAudioDevice() (0 input parameters) | Function 440: InitAudioDevice() (0 input parameters) | ||||||
|   Name: InitAudioDevice |   Name: InitAudioDevice | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Initialize audio device and context |   Description: Initialize audio device and context | ||||||
|   No input parameters |   No input parameters | ||||||
| Function 442: CloseAudioDevice() (0 input parameters) | Function 441: CloseAudioDevice() (0 input parameters) | ||||||
|   Name: CloseAudioDevice |   Name: CloseAudioDevice | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Close the audio device and context |   Description: Close the audio device and context | ||||||
|   No input parameters |   No input parameters | ||||||
| Function 443: IsAudioDeviceReady() (0 input parameters) | Function 442: IsAudioDeviceReady() (0 input parameters) | ||||||
|   Name: IsAudioDeviceReady |   Name: IsAudioDeviceReady | ||||||
|   Return type: bool |   Return type: bool | ||||||
|   Description: Check if audio device has been initialized successfully |   Description: Check if audio device has been initialized successfully | ||||||
|   No input parameters |   No input parameters | ||||||
| Function 444: SetMasterVolume() (1 input parameters) | Function 443: SetMasterVolume() (1 input parameters) | ||||||
|   Name: SetMasterVolume |   Name: SetMasterVolume | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Set master volume (listener) |   Description: Set master volume (listener) | ||||||
|   Param[1]: volume (type: float) |   Param[1]: volume (type: float) | ||||||
| Function 445: LoadWave() (1 input parameters) | Function 444: LoadWave() (1 input parameters) | ||||||
|   Name: LoadWave |   Name: LoadWave | ||||||
|   Return type: Wave |   Return type: Wave | ||||||
|   Description: Load wave data from file |   Description: Load wave data from file | ||||||
|   Param[1]: fileName (type: const char *) |   Param[1]: fileName (type: const char *) | ||||||
| Function 446: LoadWaveFromMemory() (3 input parameters) | Function 445: LoadWaveFromMemory() (3 input parameters) | ||||||
|   Name: LoadWaveFromMemory |   Name: LoadWaveFromMemory | ||||||
|   Return type: Wave |   Return type: Wave | ||||||
|   Description: Load wave from memory buffer, fileType refers to extension: i.e. '.wav' |   Description: Load wave from memory buffer, fileType refers to extension: i.e. '.wav' | ||||||
|   Param[1]: fileType (type: const char *) |   Param[1]: fileType (type: const char *) | ||||||
|   Param[2]: fileData (type: const unsigned char *) |   Param[2]: fileData (type: const unsigned char *) | ||||||
|   Param[3]: dataSize (type: int) |   Param[3]: dataSize (type: int) | ||||||
| Function 447: LoadSound() (1 input parameters) | Function 446: LoadSound() (1 input parameters) | ||||||
|   Name: LoadSound |   Name: LoadSound | ||||||
|   Return type: Sound |   Return type: Sound | ||||||
|   Description: Load sound from file |   Description: Load sound from file | ||||||
|   Param[1]: fileName (type: const char *) |   Param[1]: fileName (type: const char *) | ||||||
| Function 448: LoadSoundFromWave() (1 input parameters) | Function 447: LoadSoundFromWave() (1 input parameters) | ||||||
|   Name: LoadSoundFromWave |   Name: LoadSoundFromWave | ||||||
|   Return type: Sound |   Return type: Sound | ||||||
|   Description: Load sound from wave data |   Description: Load sound from wave data | ||||||
|   Param[1]: wave (type: Wave) |   Param[1]: wave (type: Wave) | ||||||
| Function 449: UpdateSound() (3 input parameters) | Function 448: UpdateSound() (3 input parameters) | ||||||
|   Name: UpdateSound |   Name: UpdateSound | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Update sound buffer with new data |   Description: Update sound buffer with new data | ||||||
|   Param[1]: sound (type: Sound) |   Param[1]: sound (type: Sound) | ||||||
|   Param[2]: data (type: const void *) |   Param[2]: data (type: const void *) | ||||||
|   Param[3]: sampleCount (type: int) |   Param[3]: sampleCount (type: int) | ||||||
| Function 450: UnloadWave() (1 input parameters) | Function 449: UnloadWave() (1 input parameters) | ||||||
|   Name: UnloadWave |   Name: UnloadWave | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Unload wave data |   Description: Unload wave data | ||||||
|   Param[1]: wave (type: Wave) |   Param[1]: wave (type: Wave) | ||||||
| Function 451: UnloadSound() (1 input parameters) | Function 450: UnloadSound() (1 input parameters) | ||||||
|   Name: UnloadSound |   Name: UnloadSound | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Unload sound |   Description: Unload sound | ||||||
|   Param[1]: sound (type: Sound) |   Param[1]: sound (type: Sound) | ||||||
| Function 452: ExportWave() (2 input parameters) | Function 451: ExportWave() (2 input parameters) | ||||||
|   Name: ExportWave |   Name: ExportWave | ||||||
|   Return type: bool |   Return type: bool | ||||||
|   Description: Export wave data to file, returns true on success |   Description: Export wave data to file, returns true on success | ||||||
|   Param[1]: wave (type: Wave) |   Param[1]: wave (type: Wave) | ||||||
|   Param[2]: fileName (type: const char *) |   Param[2]: fileName (type: const char *) | ||||||
| Function 453: ExportWaveAsCode() (2 input parameters) | Function 452: ExportWaveAsCode() (2 input parameters) | ||||||
|   Name: ExportWaveAsCode |   Name: ExportWaveAsCode | ||||||
|   Return type: bool |   Return type: bool | ||||||
|   Description: Export wave sample data to code (.h), returns true on success |   Description: Export wave sample data to code (.h), returns true on success | ||||||
|   Param[1]: wave (type: Wave) |   Param[1]: wave (type: Wave) | ||||||
|   Param[2]: fileName (type: const char *) |   Param[2]: fileName (type: const char *) | ||||||
| Function 454: PlaySound() (1 input parameters) | Function 453: PlaySound() (1 input parameters) | ||||||
|   Name: PlaySound |   Name: PlaySound | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Play a sound |   Description: Play a sound | ||||||
|   Param[1]: sound (type: Sound) |   Param[1]: sound (type: Sound) | ||||||
| Function 455: StopSound() (1 input parameters) | Function 454: StopSound() (1 input parameters) | ||||||
|   Name: StopSound |   Name: StopSound | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Stop playing a sound |   Description: Stop playing a sound | ||||||
|   Param[1]: sound (type: Sound) |   Param[1]: sound (type: Sound) | ||||||
| Function 456: PauseSound() (1 input parameters) | Function 455: PauseSound() (1 input parameters) | ||||||
|   Name: PauseSound |   Name: PauseSound | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Pause a sound |   Description: Pause a sound | ||||||
|   Param[1]: sound (type: Sound) |   Param[1]: sound (type: Sound) | ||||||
| Function 457: ResumeSound() (1 input parameters) | Function 456: ResumeSound() (1 input parameters) | ||||||
|   Name: ResumeSound |   Name: ResumeSound | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Resume a paused sound |   Description: Resume a paused sound | ||||||
|   Param[1]: sound (type: Sound) |   Param[1]: sound (type: Sound) | ||||||
| Function 458: PlaySoundMulti() (1 input parameters) | Function 457: PlaySoundMulti() (1 input parameters) | ||||||
|   Name: PlaySoundMulti |   Name: PlaySoundMulti | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Play a sound (using multichannel buffer pool) |   Description: Play a sound (using multichannel buffer pool) | ||||||
|   Param[1]: sound (type: Sound) |   Param[1]: sound (type: Sound) | ||||||
| Function 459: StopSoundMulti() (0 input parameters) | Function 458: StopSoundMulti() (0 input parameters) | ||||||
|   Name: StopSoundMulti |   Name: StopSoundMulti | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Stop any sound playing (using multichannel buffer pool) |   Description: Stop any sound playing (using multichannel buffer pool) | ||||||
|   No input parameters |   No input parameters | ||||||
| Function 460: GetSoundsPlaying() (0 input parameters) | Function 459: GetSoundsPlaying() (0 input parameters) | ||||||
|   Name: GetSoundsPlaying |   Name: GetSoundsPlaying | ||||||
|   Return type: int |   Return type: int | ||||||
|   Description: Get number of sounds playing in the multichannel |   Description: Get number of sounds playing in the multichannel | ||||||
|   No input parameters |   No input parameters | ||||||
| Function 461: IsSoundPlaying() (1 input parameters) | Function 460: IsSoundPlaying() (1 input parameters) | ||||||
|   Name: IsSoundPlaying |   Name: IsSoundPlaying | ||||||
|   Return type: bool |   Return type: bool | ||||||
|   Description: Check if a sound is currently playing |   Description: Check if a sound is currently playing | ||||||
|   Param[1]: sound (type: Sound) |   Param[1]: sound (type: Sound) | ||||||
| Function 462: SetSoundVolume() (2 input parameters) | Function 461: SetSoundVolume() (2 input parameters) | ||||||
|   Name: SetSoundVolume |   Name: SetSoundVolume | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Set volume for a sound (1.0 is max level) |   Description: Set volume for a sound (1.0 is max level) | ||||||
|   Param[1]: sound (type: Sound) |   Param[1]: sound (type: Sound) | ||||||
|   Param[2]: volume (type: float) |   Param[2]: volume (type: float) | ||||||
| Function 463: SetSoundPitch() (2 input parameters) | Function 462: SetSoundPitch() (2 input parameters) | ||||||
|   Name: SetSoundPitch |   Name: SetSoundPitch | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Set pitch for a sound (1.0 is base level) |   Description: Set pitch for a sound (1.0 is base level) | ||||||
|   Param[1]: sound (type: Sound) |   Param[1]: sound (type: Sound) | ||||||
|   Param[2]: pitch (type: float) |   Param[2]: pitch (type: float) | ||||||
| Function 464: SetSoundPan() (2 input parameters) | Function 463: SetSoundPan() (2 input parameters) | ||||||
|   Name: SetSoundPan |   Name: SetSoundPan | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Set pan for a sound (0.5 is center) |   Description: Set pan for a sound (0.5 is center) | ||||||
|   Param[1]: sound (type: Sound) |   Param[1]: sound (type: Sound) | ||||||
|   Param[2]: pan (type: float) |   Param[2]: pan (type: float) | ||||||
| Function 465: WaveCopy() (1 input parameters) | Function 464: WaveCopy() (1 input parameters) | ||||||
|   Name: WaveCopy |   Name: WaveCopy | ||||||
|   Return type: Wave |   Return type: Wave | ||||||
|   Description: Copy a wave to a new wave |   Description: Copy a wave to a new wave | ||||||
|   Param[1]: wave (type: Wave) |   Param[1]: wave (type: Wave) | ||||||
| Function 466: WaveCrop() (3 input parameters) | Function 465: WaveCrop() (3 input parameters) | ||||||
|   Name: WaveCrop |   Name: WaveCrop | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Crop a wave to defined samples range |   Description: Crop a wave to defined samples range | ||||||
|   Param[1]: wave (type: Wave *) |   Param[1]: wave (type: Wave *) | ||||||
|   Param[2]: initSample (type: int) |   Param[2]: initSample (type: int) | ||||||
|   Param[3]: finalSample (type: int) |   Param[3]: finalSample (type: int) | ||||||
| Function 467: WaveFormat() (4 input parameters) | Function 466: WaveFormat() (4 input parameters) | ||||||
|   Name: WaveFormat |   Name: WaveFormat | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Convert wave data to desired format |   Description: Convert wave data to desired format | ||||||
| @@ -3570,169 +3565,187 @@ Function 467: WaveFormat() (4 input parameters) | |||||||
|   Param[2]: sampleRate (type: int) |   Param[2]: sampleRate (type: int) | ||||||
|   Param[3]: sampleSize (type: int) |   Param[3]: sampleSize (type: int) | ||||||
|   Param[4]: channels (type: int) |   Param[4]: channels (type: int) | ||||||
| Function 468: LoadWaveSamples() (1 input parameters) | Function 467: LoadWaveSamples() (1 input parameters) | ||||||
|   Name: LoadWaveSamples |   Name: LoadWaveSamples | ||||||
|   Return type: float * |   Return type: float * | ||||||
|   Description: Load samples data from wave as a 32bit float data array |   Description: Load samples data from wave as a 32bit float data array | ||||||
|   Param[1]: wave (type: Wave) |   Param[1]: wave (type: Wave) | ||||||
| Function 469: UnloadWaveSamples() (1 input parameters) | Function 468: UnloadWaveSamples() (1 input parameters) | ||||||
|   Name: UnloadWaveSamples |   Name: UnloadWaveSamples | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Unload samples data loaded with LoadWaveSamples() |   Description: Unload samples data loaded with LoadWaveSamples() | ||||||
|   Param[1]: samples (type: float *) |   Param[1]: samples (type: float *) | ||||||
| Function 470: LoadMusicStream() (1 input parameters) | Function 469: LoadMusicStream() (1 input parameters) | ||||||
|   Name: LoadMusicStream |   Name: LoadMusicStream | ||||||
|   Return type: Music |   Return type: Music | ||||||
|   Description: Load music stream from file |   Description: Load music stream from file | ||||||
|   Param[1]: fileName (type: const char *) |   Param[1]: fileName (type: const char *) | ||||||
| Function 471: LoadMusicStreamFromMemory() (3 input parameters) | Function 470: LoadMusicStreamFromMemory() (3 input parameters) | ||||||
|   Name: LoadMusicStreamFromMemory |   Name: LoadMusicStreamFromMemory | ||||||
|   Return type: Music |   Return type: Music | ||||||
|   Description: Load music stream from data |   Description: Load music stream from data | ||||||
|   Param[1]: fileType (type: const char *) |   Param[1]: fileType (type: const char *) | ||||||
|   Param[2]: data (type: const unsigned char *) |   Param[2]: data (type: const unsigned char *) | ||||||
|   Param[3]: dataSize (type: int) |   Param[3]: dataSize (type: int) | ||||||
| Function 472: UnloadMusicStream() (1 input parameters) | Function 471: UnloadMusicStream() (1 input parameters) | ||||||
|   Name: UnloadMusicStream |   Name: UnloadMusicStream | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Unload music stream |   Description: Unload music stream | ||||||
|   Param[1]: music (type: Music) |   Param[1]: music (type: Music) | ||||||
| Function 473: PlayMusicStream() (1 input parameters) | Function 472: PlayMusicStream() (1 input parameters) | ||||||
|   Name: PlayMusicStream |   Name: PlayMusicStream | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Start music playing |   Description: Start music playing | ||||||
|   Param[1]: music (type: Music) |   Param[1]: music (type: Music) | ||||||
| Function 474: IsMusicStreamPlaying() (1 input parameters) | Function 473: IsMusicStreamPlaying() (1 input parameters) | ||||||
|   Name: IsMusicStreamPlaying |   Name: IsMusicStreamPlaying | ||||||
|   Return type: bool |   Return type: bool | ||||||
|   Description: Check if music is playing |   Description: Check if music is playing | ||||||
|   Param[1]: music (type: Music) |   Param[1]: music (type: Music) | ||||||
| Function 475: UpdateMusicStream() (1 input parameters) | Function 474: UpdateMusicStream() (1 input parameters) | ||||||
|   Name: UpdateMusicStream |   Name: UpdateMusicStream | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Updates buffers for music streaming |   Description: Updates buffers for music streaming | ||||||
|   Param[1]: music (type: Music) |   Param[1]: music (type: Music) | ||||||
| Function 476: StopMusicStream() (1 input parameters) | Function 475: StopMusicStream() (1 input parameters) | ||||||
|   Name: StopMusicStream |   Name: StopMusicStream | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Stop music playing |   Description: Stop music playing | ||||||
|   Param[1]: music (type: Music) |   Param[1]: music (type: Music) | ||||||
| Function 477: PauseMusicStream() (1 input parameters) | Function 476: PauseMusicStream() (1 input parameters) | ||||||
|   Name: PauseMusicStream |   Name: PauseMusicStream | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Pause music playing |   Description: Pause music playing | ||||||
|   Param[1]: music (type: Music) |   Param[1]: music (type: Music) | ||||||
| Function 478: ResumeMusicStream() (1 input parameters) | Function 477: ResumeMusicStream() (1 input parameters) | ||||||
|   Name: ResumeMusicStream |   Name: ResumeMusicStream | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Resume playing paused music |   Description: Resume playing paused music | ||||||
|   Param[1]: music (type: Music) |   Param[1]: music (type: Music) | ||||||
| Function 479: SeekMusicStream() (2 input parameters) | Function 478: SeekMusicStream() (2 input parameters) | ||||||
|   Name: SeekMusicStream |   Name: SeekMusicStream | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Seek music to a position (in seconds) |   Description: Seek music to a position (in seconds) | ||||||
|   Param[1]: music (type: Music) |   Param[1]: music (type: Music) | ||||||
|   Param[2]: position (type: float) |   Param[2]: position (type: float) | ||||||
| Function 480: SetMusicVolume() (2 input parameters) | Function 479: SetMusicVolume() (2 input parameters) | ||||||
|   Name: SetMusicVolume |   Name: SetMusicVolume | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Set volume for music (1.0 is max level) |   Description: Set volume for music (1.0 is max level) | ||||||
|   Param[1]: music (type: Music) |   Param[1]: music (type: Music) | ||||||
|   Param[2]: volume (type: float) |   Param[2]: volume (type: float) | ||||||
| Function 481: SetMusicPitch() (2 input parameters) | Function 480: SetMusicPitch() (2 input parameters) | ||||||
|   Name: SetMusicPitch |   Name: SetMusicPitch | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Set pitch for a music (1.0 is base level) |   Description: Set pitch for a music (1.0 is base level) | ||||||
|   Param[1]: music (type: Music) |   Param[1]: music (type: Music) | ||||||
|   Param[2]: pitch (type: float) |   Param[2]: pitch (type: float) | ||||||
| Function 482: SetMusicPan() (2 input parameters) | Function 481: SetMusicPan() (2 input parameters) | ||||||
|   Name: SetMusicPan |   Name: SetMusicPan | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Set pan for a music (0.5 is center) |   Description: Set pan for a music (0.5 is center) | ||||||
|   Param[1]: music (type: Music) |   Param[1]: music (type: Music) | ||||||
|   Param[2]: pan (type: float) |   Param[2]: pan (type: float) | ||||||
| Function 483: GetMusicTimeLength() (1 input parameters) | Function 482: GetMusicTimeLength() (1 input parameters) | ||||||
|   Name: GetMusicTimeLength |   Name: GetMusicTimeLength | ||||||
|   Return type: float |   Return type: float | ||||||
|   Description: Get music time length (in seconds) |   Description: Get music time length (in seconds) | ||||||
|   Param[1]: music (type: Music) |   Param[1]: music (type: Music) | ||||||
| Function 484: GetMusicTimePlayed() (1 input parameters) | Function 483: GetMusicTimePlayed() (1 input parameters) | ||||||
|   Name: GetMusicTimePlayed |   Name: GetMusicTimePlayed | ||||||
|   Return type: float |   Return type: float | ||||||
|   Description: Get current music time played (in seconds) |   Description: Get current music time played (in seconds) | ||||||
|   Param[1]: music (type: Music) |   Param[1]: music (type: Music) | ||||||
| Function 485: LoadAudioStream() (3 input parameters) | Function 484: LoadAudioStream() (3 input parameters) | ||||||
|   Name: LoadAudioStream |   Name: LoadAudioStream | ||||||
|   Return type: AudioStream |   Return type: AudioStream | ||||||
|   Description: Load audio stream (to stream raw audio pcm data) |   Description: Load audio stream (to stream raw audio pcm data) | ||||||
|   Param[1]: sampleRate (type: unsigned int) |   Param[1]: sampleRate (type: unsigned int) | ||||||
|   Param[2]: sampleSize (type: unsigned int) |   Param[2]: sampleSize (type: unsigned int) | ||||||
|   Param[3]: channels (type: unsigned int) |   Param[3]: channels (type: unsigned int) | ||||||
| Function 486: UnloadAudioStream() (1 input parameters) | Function 485: UnloadAudioStream() (1 input parameters) | ||||||
|   Name: UnloadAudioStream |   Name: UnloadAudioStream | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Unload audio stream and free memory |   Description: Unload audio stream and free memory | ||||||
|   Param[1]: stream (type: AudioStream) |   Param[1]: stream (type: AudioStream) | ||||||
| Function 487: UpdateAudioStream() (3 input parameters) | Function 486: UpdateAudioStream() (3 input parameters) | ||||||
|   Name: UpdateAudioStream |   Name: UpdateAudioStream | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Update audio stream buffers with data |   Description: Update audio stream buffers with data | ||||||
|   Param[1]: stream (type: AudioStream) |   Param[1]: stream (type: AudioStream) | ||||||
|   Param[2]: data (type: const void *) |   Param[2]: data (type: const void *) | ||||||
|   Param[3]: frameCount (type: int) |   Param[3]: frameCount (type: int) | ||||||
| Function 488: IsAudioStreamProcessed() (1 input parameters) | Function 487: IsAudioStreamProcessed() (1 input parameters) | ||||||
|   Name: IsAudioStreamProcessed |   Name: IsAudioStreamProcessed | ||||||
|   Return type: bool |   Return type: bool | ||||||
|   Description: Check if any audio stream buffers requires refill |   Description: Check if any audio stream buffers requires refill | ||||||
|   Param[1]: stream (type: AudioStream) |   Param[1]: stream (type: AudioStream) | ||||||
| Function 489: PlayAudioStream() (1 input parameters) | Function 488: PlayAudioStream() (1 input parameters) | ||||||
|   Name: PlayAudioStream |   Name: PlayAudioStream | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Play audio stream |   Description: Play audio stream | ||||||
|   Param[1]: stream (type: AudioStream) |   Param[1]: stream (type: AudioStream) | ||||||
| Function 490: PauseAudioStream() (1 input parameters) | Function 489: PauseAudioStream() (1 input parameters) | ||||||
|   Name: PauseAudioStream |   Name: PauseAudioStream | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Pause audio stream |   Description: Pause audio stream | ||||||
|   Param[1]: stream (type: AudioStream) |   Param[1]: stream (type: AudioStream) | ||||||
| Function 491: ResumeAudioStream() (1 input parameters) | Function 490: ResumeAudioStream() (1 input parameters) | ||||||
|   Name: ResumeAudioStream |   Name: ResumeAudioStream | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Resume audio stream |   Description: Resume audio stream | ||||||
|   Param[1]: stream (type: AudioStream) |   Param[1]: stream (type: AudioStream) | ||||||
| Function 492: IsAudioStreamPlaying() (1 input parameters) | Function 491: IsAudioStreamPlaying() (1 input parameters) | ||||||
|   Name: IsAudioStreamPlaying |   Name: IsAudioStreamPlaying | ||||||
|   Return type: bool |   Return type: bool | ||||||
|   Description: Check if audio stream is playing |   Description: Check if audio stream is playing | ||||||
|   Param[1]: stream (type: AudioStream) |   Param[1]: stream (type: AudioStream) | ||||||
| Function 493: StopAudioStream() (1 input parameters) | Function 492: StopAudioStream() (1 input parameters) | ||||||
|   Name: StopAudioStream |   Name: StopAudioStream | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Stop audio stream |   Description: Stop audio stream | ||||||
|   Param[1]: stream (type: AudioStream) |   Param[1]: stream (type: AudioStream) | ||||||
| Function 494: SetAudioStreamVolume() (2 input parameters) | Function 493: SetAudioStreamVolume() (2 input parameters) | ||||||
|   Name: SetAudioStreamVolume |   Name: SetAudioStreamVolume | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Set volume for audio stream (1.0 is max level) |   Description: Set volume for audio stream (1.0 is max level) | ||||||
|   Param[1]: stream (type: AudioStream) |   Param[1]: stream (type: AudioStream) | ||||||
|   Param[2]: volume (type: float) |   Param[2]: volume (type: float) | ||||||
| Function 495: SetAudioStreamPitch() (2 input parameters) | Function 494: SetAudioStreamPitch() (2 input parameters) | ||||||
|   Name: SetAudioStreamPitch |   Name: SetAudioStreamPitch | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Set pitch for audio stream (1.0 is base level) |   Description: Set pitch for audio stream (1.0 is base level) | ||||||
|   Param[1]: stream (type: AudioStream) |   Param[1]: stream (type: AudioStream) | ||||||
|   Param[2]: pitch (type: float) |   Param[2]: pitch (type: float) | ||||||
| Function 496: SetAudioStreamPan() (2 input parameters) | Function 495: SetAudioStreamPan() (2 input parameters) | ||||||
|   Name: SetAudioStreamPan |   Name: SetAudioStreamPan | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Set pan for audio stream (0.5 is centered) |   Description: Set pan for audio stream (0.5 is centered) | ||||||
|   Param[1]: stream (type: AudioStream) |   Param[1]: stream (type: AudioStream) | ||||||
|   Param[2]: pan (type: float) |   Param[2]: pan (type: float) | ||||||
| Function 497: SetAudioStreamBufferSizeDefault() (1 input parameters) | Function 496: SetAudioStreamBufferSizeDefault() (1 input parameters) | ||||||
|   Name: SetAudioStreamBufferSizeDefault |   Name: SetAudioStreamBufferSizeDefault | ||||||
|   Return type: void |   Return type: void | ||||||
|   Description: Default size for new audio streams |   Description: Default size for new audio streams | ||||||
|   Param[1]: size (type: int) |   Param[1]: size (type: int) | ||||||
|  | Function 497: SetAudioStreamCallback() (2 input parameters) | ||||||
|  |   Name: SetAudioStreamCallback | ||||||
|  |   Return type: void | ||||||
|  |   Description: Audio thread callback to request new data | ||||||
|  |   Param[1]: stream (type: AudioStream) | ||||||
|  |   Param[2]: callback (type: AudioCallback) | ||||||
|  | Function 498: AttachAudioStreamProcessor() (2 input parameters) | ||||||
|  |   Name: AttachAudioStreamProcessor | ||||||
|  |   Return type: void | ||||||
|  |   Description:  | ||||||
|  |   Param[1]: stream (type: AudioStream) | ||||||
|  |   Param[2]: processor (type: AudioCallback) | ||||||
|  | Function 499: DetachAudioStreamProcessor() (2 input parameters) | ||||||
|  |   Name: DetachAudioStreamProcessor | ||||||
|  |   Return type: void | ||||||
|  |   Description:  | ||||||
|  |   Param[1]: stream (type: AudioStream) | ||||||
|  |   Param[2]: processor (type: AudioCallback) | ||||||
|  |  | ||||||
| Defines found: 52 | Defines found: 52 | ||||||
|  |  | ||||||
|   | |||||||
| @@ -167,8 +167,9 @@ | |||||||
|             <Field type="unsigned int" name="channels" desc="Number of channels (1-mono, 2-stereo, ...)" /> |             <Field type="unsigned int" name="channels" desc="Number of channels (1-mono, 2-stereo, ...)" /> | ||||||
|             <Field type="void *" name="data" desc="Buffer data pointer" /> |             <Field type="void *" name="data" desc="Buffer data pointer" /> | ||||||
|         </Struct> |         </Struct> | ||||||
|         <Struct name="AudioStream" fieldCount="4" desc="AudioStream, custom audio stream"> |         <Struct name="AudioStream" fieldCount="5" desc="AudioStream, custom audio stream"> | ||||||
|             <Field type="rAudioBuffer *" name="buffer" desc="Pointer to internal data used by the audio system" /> |             <Field type="rAudioBuffer *" name="buffer" desc="Pointer to internal data used by the audio system" /> | ||||||
|  |             <Field type="rAudioProcessor *" name="processor" desc="Pointer to internal data processor, useful for audio effects" /> | ||||||
|             <Field type="unsigned int" name="sampleRate" desc="Frequency (samples per second)" /> |             <Field type="unsigned int" name="sampleRate" desc="Frequency (samples per second)" /> | ||||||
|             <Field type="unsigned int" name="sampleSize" desc="Bit depth (bits per sample): 8, 16, 32 (24 not supported)" /> |             <Field type="unsigned int" name="sampleSize" desc="Bit depth (bits per sample): 8, 16, 32 (24 not supported)" /> | ||||||
|             <Field type="unsigned int" name="channels" desc="Number of channels (1-mono, 2-stereo, ...)" /> |             <Field type="unsigned int" name="channels" desc="Number of channels (1-mono, 2-stereo, ...)" /> | ||||||
| @@ -545,8 +546,8 @@ | |||||||
|     </Enums> |     </Enums> | ||||||
|     <Defines count="52"> |     <Defines count="52"> | ||||||
|         <Define name="RAYLIB_H" type="GUARD" value="" desc="" /> |         <Define name="RAYLIB_H" type="GUARD" value="" desc="" /> | ||||||
|         <Define name="RAYLIB_VERSION" type="STRING" value=""4.1-dev"" desc="" /> |         <Define name="RAYLIB_VERSION" type="STRING" value="4.1-dev" desc="" /> | ||||||
|         <Define name="RLAPI" type="UNKNOWN" value="__declspec(dllexport)" desc="// We are building the library as a Win32 shared library (.dll)" /> |         <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="" /> |         <Define name="PI" type="FLOAT" value="3.14159265358979323846" desc="" /> | ||||||
|         <Define name="DEG2RAD" type="UNKNOWN" value="(PI/180.0f)" desc="" /> |         <Define name="DEG2RAD" type="UNKNOWN" value="(PI/180.0f)" desc="" /> | ||||||
|         <Define name="RAD2DEG" type="UNKNOWN" value="(180.0f/PI)" desc="" /> |         <Define name="RAD2DEG" type="UNKNOWN" value="(180.0f/PI)" desc="" /> | ||||||
| @@ -562,32 +563,32 @@ | |||||||
|         <Define name="RL_VECTOR4_TYPE" type="GUARD" value="" desc="" /> |         <Define name="RL_VECTOR4_TYPE" type="GUARD" value="" desc="" /> | ||||||
|         <Define name="RL_QUATERNION_TYPE" type="GUARD" value="" desc="" /> |         <Define name="RL_QUATERNION_TYPE" type="GUARD" value="" desc="" /> | ||||||
|         <Define name="RL_MATRIX_TYPE" type="GUARD" value="" desc="" /> |         <Define name="RL_MATRIX_TYPE" type="GUARD" value="" desc="" /> | ||||||
|         <Define name="LIGHTGRAY" type="COLOR" value="CLITERAL(Color){ 200, 200, 200, 255 }" desc="// Light Gray" /> |         <Define name="LIGHTGRAY" type="COLOR" value="CLITERAL(Color){ 200, 200, 200, 255 }" desc="Light Gray" /> | ||||||
|         <Define name="GRAY" type="COLOR" value="CLITERAL(Color){ 130, 130, 130, 255 }" desc="// Gray" /> |         <Define name="GRAY" type="COLOR" value="CLITERAL(Color){ 130, 130, 130, 255 }" desc="Gray" /> | ||||||
|         <Define name="DARKGRAY" type="COLOR" value="CLITERAL(Color){ 80, 80, 80, 255 }" desc="// Dark Gray" /> |         <Define name="DARKGRAY" type="COLOR" value="CLITERAL(Color){ 80, 80, 80, 255 }" desc="Dark Gray" /> | ||||||
|         <Define name="YELLOW" type="COLOR" value="CLITERAL(Color){ 253, 249, 0, 255 }" desc="// Yellow" /> |         <Define name="YELLOW" type="COLOR" value="CLITERAL(Color){ 253, 249, 0, 255 }" desc="Yellow" /> | ||||||
|         <Define name="GOLD" type="COLOR" value="CLITERAL(Color){ 255, 203, 0, 255 }" desc="// Gold" /> |         <Define name="GOLD" type="COLOR" value="CLITERAL(Color){ 255, 203, 0, 255 }" desc="Gold" /> | ||||||
|         <Define name="ORANGE" type="COLOR" value="CLITERAL(Color){ 255, 161, 0, 255 }" desc="// Orange" /> |         <Define name="ORANGE" type="COLOR" value="CLITERAL(Color){ 255, 161, 0, 255 }" desc="Orange" /> | ||||||
|         <Define name="PINK" type="COLOR" value="CLITERAL(Color){ 255, 109, 194, 255 }" desc="// Pink" /> |         <Define name="PINK" type="COLOR" value="CLITERAL(Color){ 255, 109, 194, 255 }" desc="Pink" /> | ||||||
|         <Define name="RED" type="COLOR" value="CLITERAL(Color){ 230, 41, 55, 255 }" desc="// Red" /> |         <Define name="RED" type="COLOR" value="CLITERAL(Color){ 230, 41, 55, 255 }" desc="Red" /> | ||||||
|         <Define name="MAROON" type="COLOR" value="CLITERAL(Color){ 190, 33, 55, 255 }" desc="// Maroon" /> |         <Define name="MAROON" type="COLOR" value="CLITERAL(Color){ 190, 33, 55, 255 }" desc="Maroon" /> | ||||||
|         <Define name="GREEN" type="COLOR" value="CLITERAL(Color){ 0, 228, 48, 255 }" desc="// Green" /> |         <Define name="GREEN" type="COLOR" value="CLITERAL(Color){ 0, 228, 48, 255 }" desc="Green" /> | ||||||
|         <Define name="LIME" type="COLOR" value="CLITERAL(Color){ 0, 158, 47, 255 }" desc="// Lime" /> |         <Define name="LIME" type="COLOR" value="CLITERAL(Color){ 0, 158, 47, 255 }" desc="Lime" /> | ||||||
|         <Define name="DARKGREEN" type="COLOR" value="CLITERAL(Color){ 0, 117, 44, 255 }" desc="// Dark Green" /> |         <Define name="DARKGREEN" type="COLOR" value="CLITERAL(Color){ 0, 117, 44, 255 }" desc="Dark Green" /> | ||||||
|         <Define name="SKYBLUE" type="COLOR" value="CLITERAL(Color){ 102, 191, 255, 255 }" desc="// Sky Blue" /> |         <Define name="SKYBLUE" type="COLOR" value="CLITERAL(Color){ 102, 191, 255, 255 }" desc="Sky Blue" /> | ||||||
|         <Define name="BLUE" type="COLOR" value="CLITERAL(Color){ 0, 121, 241, 255 }" desc="// Blue" /> |         <Define name="BLUE" type="COLOR" value="CLITERAL(Color){ 0, 121, 241, 255 }" desc="Blue" /> | ||||||
|         <Define name="DARKBLUE" type="COLOR" value="CLITERAL(Color){ 0, 82, 172, 255 }" desc="// Dark Blue" /> |         <Define name="DARKBLUE" type="COLOR" value="CLITERAL(Color){ 0, 82, 172, 255 }" desc="Dark Blue" /> | ||||||
|         <Define name="PURPLE" type="COLOR" value="CLITERAL(Color){ 200, 122, 255, 255 }" desc="// Purple" /> |         <Define name="PURPLE" type="COLOR" value="CLITERAL(Color){ 200, 122, 255, 255 }" desc="Purple" /> | ||||||
|         <Define name="VIOLET" type="COLOR" value="CLITERAL(Color){ 135, 60, 190, 255 }" desc="// Violet" /> |         <Define name="VIOLET" type="COLOR" value="CLITERAL(Color){ 135, 60, 190, 255 }" desc="Violet" /> | ||||||
|         <Define name="DARKPURPLE" type="COLOR" value="CLITERAL(Color){ 112, 31, 126, 255 }" desc="// Dark Purple" /> |         <Define name="DARKPURPLE" type="COLOR" value="CLITERAL(Color){ 112, 31, 126, 255 }" desc="Dark Purple" /> | ||||||
|         <Define name="BEIGE" type="COLOR" value="CLITERAL(Color){ 211, 176, 131, 255 }" desc="// Beige" /> |         <Define name="BEIGE" type="COLOR" value="CLITERAL(Color){ 211, 176, 131, 255 }" desc="Beige" /> | ||||||
|         <Define name="BROWN" type="COLOR" value="CLITERAL(Color){ 127, 106, 79, 255 }" desc="// Brown" /> |         <Define name="BROWN" type="COLOR" value="CLITERAL(Color){ 127, 106, 79, 255 }" desc="Brown" /> | ||||||
|         <Define name="DARKBROWN" type="COLOR" value="CLITERAL(Color){ 76, 63, 47, 255 }" desc="// Dark Brown" /> |         <Define name="DARKBROWN" type="COLOR" value="CLITERAL(Color){ 76, 63, 47, 255 }" desc="Dark Brown" /> | ||||||
|         <Define name="WHITE" type="COLOR" value="CLITERAL(Color){ 255, 255, 255, 255 }" desc="// White" /> |         <Define name="WHITE" type="COLOR" value="CLITERAL(Color){ 255, 255, 255, 255 }" desc="White" /> | ||||||
|         <Define name="BLACK" type="COLOR" value="CLITERAL(Color){ 0, 0, 0, 255 }" desc="// Black" /> |         <Define name="BLACK" type="COLOR" value="CLITERAL(Color){ 0, 0, 0, 255 }" desc="Black" /> | ||||||
|         <Define name="BLANK" type="COLOR" value="CLITERAL(Color){ 0, 0, 0, 0 }" desc="// Blank (Transparent)" /> |         <Define name="BLANK" type="COLOR" value="CLITERAL(Color){ 0, 0, 0, 0 }" desc="Blank (Transparent)" /> | ||||||
|         <Define name="MAGENTA" type="COLOR" value="CLITERAL(Color){ 255, 0, 255, 255 }" desc="// Magenta" /> |         <Define name="MAGENTA" type="COLOR" value="CLITERAL(Color){ 255, 0, 255, 255 }" desc="Magenta" /> | ||||||
|         <Define name="RAYWHITE" type="COLOR" value="CLITERAL(Color){ 245, 245, 245, 255 }" desc="// My own White (raylib logo)" /> |         <Define name="RAYWHITE" type="COLOR" value="CLITERAL(Color){ 245, 245, 245, 255 }" desc="My own White (raylib logo)" /> | ||||||
|         <Define name="RL_BOOL_TYPE" type="GUARD" value="" desc="" /> |         <Define name="RL_BOOL_TYPE" type="GUARD" value="" desc="" /> | ||||||
|         <Define name="MOUSE_LEFT_BUTTON" type="UNKNOWN" value="MOUSE_BUTTON_LEFT" desc="" /> |         <Define name="MOUSE_LEFT_BUTTON" type="UNKNOWN" value="MOUSE_BUTTON_LEFT" desc="" /> | ||||||
|         <Define name="MOUSE_RIGHT_BUTTON" type="UNKNOWN" value="MOUSE_BUTTON_RIGHT" desc="" /> |         <Define name="MOUSE_RIGHT_BUTTON" type="UNKNOWN" value="MOUSE_BUTTON_RIGHT" desc="" /> | ||||||
| @@ -597,7 +598,7 @@ | |||||||
|         <Define name="SHADER_LOC_MAP_DIFFUSE" type="UNKNOWN" value="SHADER_LOC_MAP_ALBEDO" desc="" /> |         <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="" /> |         <Define name="SHADER_LOC_MAP_SPECULAR" type="UNKNOWN" value="SHADER_LOC_MAP_METALNESS" desc="" /> | ||||||
|     </Defines> |     </Defines> | ||||||
|     <Functions count="497"> |     <Functions count="499"> | ||||||
|         <Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context"> |         <Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context"> | ||||||
|             <Param type="int" name="width" desc="" /> |             <Param type="int" name="width" desc="" /> | ||||||
|             <Param type="int" name="height" desc="" /> |             <Param type="int" name="height" desc="" /> | ||||||
| @@ -2451,10 +2452,6 @@ | |||||||
|             <Param type="Ray" name="ray" desc="" /> |             <Param type="Ray" name="ray" desc="" /> | ||||||
|             <Param type="BoundingBox" name="box" desc="" /> |             <Param type="BoundingBox" name="box" desc="" /> | ||||||
|         </Function> |         </Function> | ||||||
|         <Function name="GetRayCollisionModel" retType="RayCollision" paramCount="2" desc="Get collision info between ray and model"> |  | ||||||
|             <Param type="Ray" name="ray" desc="" /> |  | ||||||
|             <Param type="Model" name="model" desc="" /> |  | ||||||
|         </Function> |  | ||||||
|         <Function name="GetRayCollisionMesh" retType="RayCollision" paramCount="3" desc="Get collision info between ray and mesh"> |         <Function name="GetRayCollisionMesh" retType="RayCollision" paramCount="3" desc="Get collision info between ray and mesh"> | ||||||
|             <Param type="Ray" name="ray" desc="" /> |             <Param type="Ray" name="ray" desc="" /> | ||||||
|             <Param type="Mesh" name="mesh" desc="" /> |             <Param type="Mesh" name="mesh" desc="" /> | ||||||
| @@ -2666,5 +2663,17 @@ | |||||||
|         <Function name="SetAudioStreamBufferSizeDefault" retType="void" paramCount="1" desc="Default size for new audio streams"> |         <Function name="SetAudioStreamBufferSizeDefault" retType="void" paramCount="1" desc="Default size for new audio streams"> | ||||||
|             <Param type="int" name="size" desc="" /> |             <Param type="int" name="size" desc="" /> | ||||||
|         </Function> |         </Function> | ||||||
|  |         <Function name="SetAudioStreamCallback" retType="void" paramCount="2" desc="Audio thread callback to request new data"> | ||||||
|  |             <Param type="AudioStream" name="stream" desc="" /> | ||||||
|  |             <Param type="AudioCallback" name="callback" desc="" /> | ||||||
|  |         </Function> | ||||||
|  |         <Function name="AttachAudioStreamProcessor" retType="void" paramCount="2" desc=""> | ||||||
|  |             <Param type="AudioStream" name="stream" desc="" /> | ||||||
|  |             <Param type="AudioCallback" name="processor" desc="" /> | ||||||
|  |         </Function> | ||||||
|  |         <Function name="DetachAudioStreamProcessor" retType="void" paramCount="2" desc=""> | ||||||
|  |             <Param type="AudioStream" name="stream" desc="" /> | ||||||
|  |             <Param type="AudioCallback" name="processor" desc="" /> | ||||||
|  |         </Function> | ||||||
|     </Functions> |     </Functions> | ||||||
| </raylibAPI> | </raylibAPI> | ||||||
|   | |||||||
| @@ -1281,7 +1281,16 @@ static void ExportParsedData(const char *fileName, int format) | |||||||
|             fprintf(outFile, "    <Defines count=\"%i\">\n", defineCount); |             fprintf(outFile, "    <Defines count=\"%i\">\n", defineCount); | ||||||
|             for (int i = 0; i < defineCount; i++) |             for (int i = 0; i < defineCount; i++) | ||||||
|             { |             { | ||||||
|                 fprintf(outFile, "        <Define name=\"%s\" type=\"%s\" value=\"%s\" desc=\"%s\" />\n", defines[i].name, StrDefineType(defines[i].type), defines[i].value, defines[i].desc); |                 fprintf(outFile, "        <Define name=\"%s\" type=\"%s\" ", defines[i].name, StrDefineType(defines[i].type)); | ||||||
|  |                 if (defines[i].type == STRING) | ||||||
|  |                 { | ||||||
|  |                     fprintf(outFile, "value=%s", defines[i].value); | ||||||
|  |                 } | ||||||
|  |                 else | ||||||
|  |                 { | ||||||
|  |                     fprintf(outFile, "value=\"%s\"", defines[i].value); | ||||||
|  |                 } | ||||||
|  |                 fprintf(outFile, " desc=\"%s\" />\n", defines[i].desc + 3); | ||||||
|             } |             } | ||||||
|             fprintf(outFile, "    </Defines>\n"); |             fprintf(outFile, "    </Defines>\n"); | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Benedek Szilvasy
					Benedek Szilvasy