Commit Graph

8154 Commits

Author SHA1 Message Date
Jeffery Myers
aa684a33de make save file callback match const correctness of calling function 2025-05-12 19:54:34 -07:00
github-actions[bot]
63b988ade9 Update raylib_api.* by CI 2025-05-11 09:05:50 +00:00
Ray
f7d03efb49 REVIEWED: DecodeDataBase64(), follow convention:
- All `char *` refer to text strings
- All `unsigned char *` refer to generic byte arrays
2025-05-11 11:05:25 +02:00
Ray
3083f0cd43 REVIEWED: SaveFileText(), const input text 2025-05-11 11:03:49 +02:00
Ray
693c9c292a Formatting tweaks 2025-05-10 22:45:08 +02:00
Ray
4ac31f7cde Merge pull request #4928 from JeffM2501/unload_default_font
[rtext] Properly clean up the default font on unload
2025-05-10 21:47:53 +02:00
Jeffery Myers
ebaa922f6b Properly clean up the default font on unload, it may be reused if the window is created again 2025-05-08 09:57:31 -07:00
Ray
7e07278368 Update rprand.h 2025-05-08 17:06:29 +02:00
Ray
1402e830b4 Merge pull request #4926 from karl-zylinski/draw-sphere-normals
Add normals to DrawSphereEx
2025-05-08 00:26:21 +02:00
Ray
6fad12db73 Merge pull request #4927 from lumenkeyes/master
build.zig fixes for android targets
2025-05-06 18:41:53 +02:00
lumenkeyes
35de7b26a4 catch error in build.zig 2025-05-06 10:08:12 -06:00
lumenkeyes
eae3fd83d5 properly detect if abi is android 2025-05-06 10:04:54 -06:00
lumenkeyes
c4b9c0e039 properly generate android triple in build.zig 2025-05-06 09:46:42 -06:00
Karl Zylinski
a15548fb5a Add normals to DrawSphereEx 2025-05-06 13:09:05 +02:00
Ray
3d6e24af4f Merge pull request #4906 from Bigfoot71/fix-clip
[rlgl] Proposed fix for default near/far clipping range
2025-05-06 11:12:35 +02:00
Ray
512b1bed4f Merge pull request #4925 from JeffM2501/animated_meshes_GL11
[rmodels] support CPU animation in OpenGL 1.1
2025-05-06 00:54:54 +02:00
Jeffery Myers
e07e3354a3 Merge branch 'animated_meshes_GL11' of github.com:JeffM2501/raylib into animated_meshes_GL11 2025-05-05 15:51:13 -07:00
Jeffery Myers
ee2ab11cc5 Use the animated verts and normals in GL 1.1 if they exist 2025-05-05 15:49:23 -07:00
Jeffery Myers
95c96b345c Use the animated verts and normals in GL 1.1 if they exist 2025-05-05 14:54:35 -07:00
Ray
31d63d08e2 Merge pull request #4922 from Bigfoot71/review-file-dir-2
[rcore] Some adjustments for `FilePathList`
2025-05-05 16:57:22 +02:00
Ray
a7ad2d1965 Merge pull request #4918 from JeffM2501/default_font_image_leaks
[rText] Fix issues with default font being used before InitWindow in the image API.
2025-05-05 12:06:55 +02:00
Ray
3d292a6c3c Merge pull request #4923 from JeffM2501/gltf_bone_fix
[rmodels] Fix GLTF bone weight assignments for meshes that are parented to armature bones.
2025-05-05 10:22:21 +02:00
Jeffery Myers
e53a43b7b5 Assign meshes without bone weights to the bone they are attached to so they animate. 2025-05-04 17:32:37 -07:00
Bigfoot71
38aec920b5 makes path static in ScanDirectoryFilesRecursively 2025-05-04 14:47:52 +02:00
Bigfoot71
03988d2ce8 added a NULL check in UnloadDirectoryFiles 2025-05-04 14:46:39 +02:00
Le Juez Victor
c087144385 Merge branch 'raysan5:master' into fix-clip 2025-05-04 12:29:19 +02:00
Ray
82c87d1f69 Merge pull request #4920 from MrScautHD/patch-1
Update BINDINGS.md
2025-05-04 11:41:06 +02:00
MrScautHD
8533d284c1 Update BINDINGS.md 2025-05-04 11:20:11 +02:00
Jeffery Myers
94c5de33a0 Make the default font loadable before InitWindow, for use with the image API.
Make the default font loader early out if we have already loaded parts of it, so we don't leak memory
2025-04-30 17:56:30 -07:00
Ray
3a1d6261e2 Merge pull request #4916 from daniel-abbott/audio_sound_positioning_fix
[examples] PR for #4904, calculate 'right' Vector3 to correctly perform audio positioning.
2025-04-30 19:41:15 +02:00
Daniel Abbott
696f225f29 Update audio_sound_positioning.c
Calculate `right` Vector3 for correct audio stereo positioning.
2025-04-30 10:12:35 -06:00
Ray
1ec281e86f Merge pull request #4914 from Servall4/master
[raudio] fix: GetMusicTimePlayed returns incorrect time after restarting a paused track
2025-04-28 23:13:31 +02:00
Ray
d1a3f93077 Merge pull request #4915 from rael346/cmake-replace-custom-variable
cmake: replace custom variable with built-in one
2025-04-28 23:11:56 +02:00
Duy Tran
f0de896f36 cmake: replace custom variable with built-in one 2025-04-28 11:57:53 -04:00
Ivan Ugryumov
ec5ce8c7fe Update raudio.c 2025-04-28 14:29:51 +03:00
Ray
1d020d6db1 Merge pull request #4913 from rael346/cmake-uninstall-conflict
Only create uninstall target when raylib is top level
2025-04-27 21:12:10 +02:00
Duy Tran
629d4c1721 only create uninstall target when raylib is top level 2025-04-27 14:35:30 -04:00
Ray
27a4fe8851 Merge pull request #4910 from marler8997/fixEmscripten
build.zig: fix building raylib for emscripten
2025-04-26 22:50:49 +02:00
Jonathan Marler
8d03636132 build.zig: fix building raylib for emscripten
build.zig doesn't support the examples for the emscripten OS but it does
support the raylib library. However, the examples panic if emscripten
is configured which prevents it from building the library. I've replaced
this panic with a fail step to fix this.
2025-04-26 10:37:11 -06:00
Ray
5c954c1f52 Merge pull request #4909 from gfaster/alt_fix
Revert GLFW_SCALE_FRAMEBUFFER to pre GLFW 4.3 behavior
2025-04-26 15:14:58 +02:00
Ray
7c6537a34f Merge pull request #4907 from ZeanKey/master
[example] Closes #4901, Fix Problems in 'text_draw_3d.c'
2025-04-26 15:12:44 +02:00
Gavin Rohrer
10478ff756 Revert GLFW_SCALE_FRAMEBUFFER to pre GLFW 4.3 behavior 2025-04-25 14:32:02 -04:00
Z-AKey
12bf30ce04 Merge branch 'raysan5:master' into master 2025-04-22 16:49:12 -04:00
Zean Key
77f31178ed fixed text_draw_3d 2025-04-22 16:48:50 -04:00
Le Juez Victor
461c9c9d90 review tabs 2025-04-22 15:02:09 +02:00
Le Juez Victor
a7333a9dae review near/far 2025-04-22 15:00:54 +02:00
Ray
688a81d333 Update ROADMAP.md 2025-04-20 13:15:28 +02:00
Ray
f3b68184c0 Merge pull request #4903 from JeffM2501/audio_code_formatting
[RAUDIO]Fix code formatting issue from PR #4898
2025-04-20 11:20:28 +02:00
Jeffery Myers
0f6b9ee738 format math the way ray likes it 2025-04-18 07:27:20 -07:00
Ray
b185f482d0 Merge pull request #4896 from mUnicorn/fix_bones_animation_scale
[rmodels] Fix bones animation scale
2025-04-18 10:46:00 +02:00