Commit Graph

9600 Commits

Author SHA1 Message Date
Wertual08
4b9d802d4e Adapt build.zig to redesigned raylib build features config system (#5645) 2026-03-13 18:53:11 +01:00
dan-hoang
70cb8d15e0 [examples] Add audio_stream_callback (#5638)
* Add audio_raw_stream_callback.c

* Update audio_raw_stream_callback.c to more closely follow raylib coding conventions

* Remove spaces before asterisks in comments in audio_raw_stream_callback.c

* Put SetTargetFPS(30) before while(!WindowShouldClose()) in audio_raw_stream_callback.c

* Add audio_stream_callback.c

* Delete examples/audio/audio_raw_stream_callback.c

* Delete examples/audio/audio_raw_stream_callback.png

* Update audio_raw_stream.c to more closely follow raylib coding conventions

Drawing code wasn't tabbed in

* Remove screenshot code in audio_stream_callback.c

* Update raylib version and copyright year in audio_raw_stream.c

* Update audio_stream_callback.c

Used if instead of switch to compact code; seemed more readable in this case.
2026-03-13 18:51:49 +01:00
Jack
f83590aa37 Update BINDINGS.md (#5648) 2026-03-13 07:30:48 +01:00
Joel Torres
c5712db1e0 Update raylib-odin binding license (#5647) 2026-03-13 07:30:05 +01:00
Thomas Anderson
f9ea607385 fix error in textinsert, found by github user chrg127 (#5644) 2026-03-12 11:38:06 +01:00
Thomas Prowse
8a93587eaa Fix raycasting logic in models_basic_voxel.c (#5643)
The original logic iterated through the world and broke at the first found voxel that intersected the ray. This broke in some cases, removing a voxel out of view. I changed the algorithm to track the closest found voxel, and remove it at the end of the loop if one was found.
2026-03-12 11:36:53 +01:00
Thomas Anderson
64e8bfcfb6 remove path override/change for linux (#5641) 2026-03-12 11:35:48 +01:00
Thomas Anderson
4e360c97f4 remove duplicate line in makefile (#5640) 2026-03-12 11:34:38 +01:00
dan-hoang
ee4f4a29c2 [examples] Update audio_raw_stream.c (#5637)
* Update audio_raw_stream.c

* Update audio_raw_stream.c to more closely follow raylib coding conventions

* Update audio_raw_stream.c to more closely follow raylib coding conventions

I accidentally put the file in the wrong folder.

* Delete examples/audio_raw_stream.c

* Remove spaces before asterisks in comments in audio_raw_stream.c

* Put SetTargetFPS(30) before while (!WindowShouldClose()) in audio_raw_stream.c
2026-03-12 11:33:47 +01:00
Thomas Prowse
6cebf63cba Change GetRenderWidth() to GetScreenWidth() for consistency (#5635) 2026-03-11 00:21:53 +01:00
Thomas Anderson
7b1096dc53 [raylib.h] fix audio pan comment (#5633)
* fix audio pan comment -- found by a.b.c.d.a.b.c.d

* rlparser: update raylib_api.* by CI

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-03-10 09:51:12 +01:00
Ray
e40ddfabbb **WARNING: BREAKING:** REDESIGNED: rlgl shader loading API function names for more consistency #5631
ADDED: `rlUnloadShader()` to unload shaders (that function was missing and compute shaders leak memory)
RENAMED: `rlCompileShader()` to p `rlLoadShader()` to be consistent with `rlUnloadShader()`
RENAMED: `rlLoadShaderCode()` to `rlLoadShaderProgram()`, more descriptive of return
RENAMED: `rlLoadShaderProgram()` to `rlLoadShaderProgramEx()`
RENAMED: `rlLoadComputeShaderProgram()` to `rlLoadShaderProgramCompute()`
RENAMED: Some functions parameters for consistency
2026-03-09 14:23:54 +01:00
Ray
2b207be11e ADDED: rlUnloadShader() #5631 2026-03-09 13:22:29 +01:00
Ray
d604cd7f65 Update rmodels.c 2026-03-09 12:52:27 +01:00
victorberdugo1
78023ffca5 Fix memory leak in LoadGLTF when model has no bones (#5629)
Co-authored-by: Victor <victor@localhost.localdomain>
2026-03-09 12:50:19 +01:00
Ray
32005b9edf Update textures_bunnymark.c 2026-03-08 23:00:05 +01:00
Ray
99cab6d3a7 Update rtext.c 2026-03-06 17:11:48 +01:00
Ray
1839b3edb0 Update shaders_cel_shading.c 2026-03-06 17:11:44 +01:00
Ray
eed30b6f90 Update HISTORY.md 2026-03-06 16:54:15 +01:00
Ray
a0ffefcb9d Update rlgl.h 2026-03-06 16:53:56 +01:00
Ray
12039ba7d0 Update raylib.h 2026-03-06 16:53:40 +01:00
JoeStrout
c8d1f3e750 Make LoadFontFromImage limit its scanning to image dimensions. (#5626) 2026-03-06 16:52:58 +01:00
Gleb A
54f630774d [example] cel-shading and outline using inverted hull (#5615)
* added cel-shading and outline using inverted hull example

* new screenshot

* added glsl100+120 compat

* updated view

* unnecessary spacing
2026-03-06 16:52:28 +01:00
Maicon Santana
3e926d65a0 add x11 libraries for raylib as glfw make private (#5625) 2026-03-05 14:51:16 +01:00
ghera
f9ee714c76 [rcore][android] Add WARNING comment for --wrap=fopen build system requirements (#5624)
Co-authored-by: Federico Gherardi <ghera@libero.it>
2026-03-05 11:50:47 +01:00
github-actions[bot]
ea00b97c59 rlparser: update raylib_api.* by CI 2026-03-05 10:50:09 +00:00
moe li
02b592cd7b [rtext] Add MeasureTextCodepoints() for direct measurement of codepoints (#5623)
* Measuring length of an array of codepoints

* Applied style changes and removed default measurement function
2026-03-05 11:49:57 +01:00
Ray
84dc56ba89 Update README.md 2026-03-04 20:32:16 +01:00
Ray
d6926eb46a Update CMakeLists.txt 2026-03-04 19:17:46 +01:00
Ray
eb1e85e400 Update rmodels.c 2026-03-04 19:17:41 +01:00
Maicon Santana
2eaac95df0 Check if locs is not null before try to access (#5622) 2026-03-04 19:16:22 +01:00
Thomas Anderson
de720a8d4c [backend/GLFW] Added bounds check (#5621)
* added bounds check

* update from PR feedback
2026-03-04 08:40:15 +01:00
Jeffery Myers
28288fafb1 Fix MSVC warnings. (#5619) 2026-03-04 07:52:50 +01:00
takenoko-pm
71677765c5 Fix Makefile template to support libraylib.web.a (#5620) 2026-03-04 07:49:55 +01:00
github-actions[bot]
e1959a4e5c rlparser: update raylib_api.* by CI 2026-03-04 00:15:21 +00:00
Ray
faf42366ec Code gardening 2026-03-04 01:14:26 +01:00
Ray
23c06bc6f1 Updating raygui for examples 2026-03-04 00:22:50 +01:00
Ray
5ada84cc6d Update rtext.c 2026-03-04 00:13:47 +01:00
Ray
d0f899721b Update raudio.c 2026-03-04 00:01:34 +01:00
Ray
23f86689dc Update CHANGELOG 2026-03-03 22:41:21 +01:00
Ray
1cf278b8b4 Update ROADMAP.md 2026-03-03 22:41:08 +01:00
Ray
1d85071372 Merge branch 'master' of https://github.com/raysan5/raylib 2026-03-03 22:40:44 +01:00
Ray
b4746469d4 Formating review, using imperative mode in comments 2026-03-03 22:40:34 +01:00
Dmitry Mozgin
70a1a57a12 Remove unnecessary define from raylib_opengl_interop.c (#5618) 2026-03-03 19:04:06 +01:00
Maicon Santana
37a852a7ae [web] Add clipboard image implementation for web (#5614)
* Add clipboard image implementation for web

* Making sure that are not malloc empty string or image
2026-03-03 18:57:34 +01:00
Thomas Anderson
b68dbaa8af [tools/rexm] Update nextCatIndex (#5616)
* removed +1 offset

* update from PR feedback
2026-03-03 18:55:50 +01:00
Ray
9ae34d2c4b Update ROADMAP.md 2026-03-03 11:13:33 +01:00
Dmitry Mozgin
8e705b19e4 Update LibraryConfigurations.cmake (#5617)
Typo in find_dependency
2026-03-03 09:11:41 +01:00
Ray
bf830c3f7b Update config.h 2026-03-02 16:07:56 +01:00
Ray
23c8ee855d Update config.h 2026-03-02 16:05:00 +01:00