Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1567 commits
Select commit Hold shift + click to select a range
c6b1ecc
Update cgltf.h
raysan5 Oct 26, 2024
c085c73
Update dr_mp3.h
raysan5 Oct 26, 2024
e70bf2b
Update dr_wav.h
raysan5 Oct 26, 2024
d0e11a8
Update qoa.h
raysan5 Oct 26, 2024
28e7e2c
Update stb_image.h
raysan5 Oct 26, 2024
dc679cd
Update stb_image_resize2.h
raysan5 Oct 26, 2024
ec79bff
Update stb_truetype.h
raysan5 Oct 26, 2024
3dcddae
Fix examples Makefile for NetBSD (#4438)
NishiOwO Oct 26, 2024
8b9ea8c
Update Makefile
raysan5 Oct 26, 2024
7ad8fa6
REVIEWED: `LoadTextureCubemap()` to avoid crash #4429
raysan5 Oct 26, 2024
ff66b49
fix (#4440)
NishiOwO Oct 26, 2024
38cf9f3
[rtextures] LoadTextureCubemap(): Copy image before generating mipmap…
Not-Nik Oct 26, 2024
7fe5f71
Fix MSVC errors for PLATFORM_DESKTOP_RGFW (#4441)
ColleagueRiley Oct 26, 2024
0e1fc33
Fix signed/unsigned mismatch in rlgl (#4443)
JeffM2501 Oct 26, 2024
f59e185
Update README.md
raysan5 Oct 27, 2024
de7ab83
Fix empty input string for MeasureTextEx (#4448)
mpv-enjoyer Oct 29, 2024
743e557
Fix inconsistent dll linkage warning on windows (#4447)
JeffM2501 Oct 29, 2024
10c8e4e
Update rcore_desktop_glfw.c
raysan5 Oct 29, 2024
d15e583
Update rtext.c
raysan5 Oct 29, 2024
ad79d4a
[shapes] Add `shapes_rectangle_advanced ` example implementing a `Dra…
evertonse Oct 29, 2024
3bad05a
fix the issue with GetScreenWidth/GetScreenHeight that was identified…
archewashi Oct 30, 2024
b8c0842
Fix SetWindowSize() for PLATFORM_WEB (#4452)
Oct 30, 2024
b7ef2fd
Update HISTORY.md
raysan5 Nov 1, 2024
9e2591e
Update Makefile
raysan5 Nov 1, 2024
8e5d5f8
Update rmodels.c - 'fix' for GenMeshSphere artifact (#4460)
MikiZX1 Nov 1, 2024
24724d3
Added last week commits info
raysan5 Nov 3, 2024
be360d2
RENAMED: `UpdateModelAnimationBoneMatrices()` to `UpdateModelAnimatio…
raysan5 Nov 3, 2024
6028052
Update raylib_api.* by CI
github-actions[bot] Nov 3, 2024
66a4f2e
Fix for issue 4454, MatrixDecompose() gave incorrect output for certa…
waveydave Nov 3, 2024
ec95324
Update CHANGELOG
raysan5 Nov 3, 2024
281ee51
implemented new linear gradient generation function (#4462)
decromo Nov 4, 2024
b47fffb
Update Makefile.Web
raysan5 Nov 4, 2024
a617e1e
Update core_2d_camera_mouse_zoom.c
raysan5 Nov 6, 2024
55a64f5
fix float casting warnings (#4471)
JeffM2501 Nov 7, 2024
dc48978
UpdateModelAnimation speedup (#4470)
JettMonstersGoBoom Nov 8, 2024
53b929c
Improve cross-compilation with zig builds (#4468)
deathbeam Nov 8, 2024
00396e3
[rcore] Clipboard Image Support (#4459)
evertonse Nov 9, 2024
d8feef5
Update raylib_api.* by CI
github-actions[bot] Nov 9, 2024
ce3b121
build.zig: Remove addRaylib and fix raygui builds when using raylib a…
deathbeam Nov 10, 2024
85de743
Improved logos size
raysan5 Nov 10, 2024
09570a0
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Nov 10, 2024
2af4f31
Fix the X axis of the second vertex of the Y negative cap of a cylind…
JeffM2501 Nov 10, 2024
fb69b39
Fix a typecast warning in glfw clipboard access (#4479)
JeffM2501 Nov 11, 2024
5cc06f4
[rcore]: Issue an warning instead of an error when checking SUPPORT_C…
evertonse Nov 11, 2024
10fd4de
Fix the example lighting shaders to use both frag and diffuse colors …
JeffM2501 Nov 11, 2024
4ddf467
Update CHANGELOG
raysan5 Nov 11, 2024
7053970
build.zig: remove raygui from options and re add adding raygui as a (…
kimierik Nov 13, 2024
377248b
Fix Makefile.Web (#4487)
Nov 13, 2024
f76a5e2
Update CHANGELOG
raysan5 Nov 14, 2024
2841eab
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Nov 14, 2024
0c7edbc
Update HISTORY.md
raysan5 Nov 14, 2024
8af7985
Update CHANGELOG
raysan5 Nov 14, 2024
700e2c5
Fix touch count reset (#4488)
Nov 14, 2024
14d3bbb
Update raygui.h
raysan5 Nov 14, 2024
637debb
Updated Notepad++ autocomplete list for raylib 5.5
raysan5 Nov 14, 2024
928535a
Commented code issuing warnings on w64devkit (GCC)
raysan5 Nov 14, 2024
15eb822
Updated raylib resource data
raysan5 Nov 14, 2024
76016aa
Update raylib.ico
raysan5 Nov 14, 2024
5e6cdf3
Update emsdk path on Windows to match new raylib installer package
raysan5 Nov 14, 2024
a2f6ae6
Fix warnings in examples (#4492)
JeffM2501 Nov 15, 2024
4f091f4
Fix typo in BINDINGS.md (#4493)
OussamaTeyib Nov 15, 2024
7c5d74e
Fixing an OBJ loader bug that fragmented the loaded meshes (#4494)
zet23t Nov 15, 2024
816b605
Update CHANGELOG
raysan5 Nov 16, 2024
d567b35
Update HISTORY.md
raysan5 Nov 16, 2024
dd688d8
Thanks @everyone for everything 😄
raysan5 Nov 16, 2024
da7ab04
Update HISTORY.md
raysan5 Nov 16, 2024
162efc1
Update core_basic_window.c
raysan5 Nov 16, 2024
938b805
Update raylib.h
raysan5 Nov 16, 2024
88c922f
Update raylib_api.* by CI
github-actions[bot] Nov 16, 2024
68503ed
Update webassembly.yml
raysan5 Nov 16, 2024
c1ab645
Update HISTORY.md
raysan5 Nov 18, 2024
71e0b8b
Update BINDINGS.md (#4504)
GuvaCode Nov 18, 2024
8375581
Update README.md
raysan5 Nov 18, 2024
fde3779
BINDINGS: raylib-cpp supports raylib 5.5 (#4511)
RobLoach Nov 18, 2024
05b2603
Update raylib-d binding to 5.5 (#4506)
schveiguy Nov 19, 2024
f979cc6
Fixed grammar mistakes in core_3d_camera_first_person.c (#4508)
Mute124 Nov 19, 2024
65f955a
Add missing VS2022 example projects for models_bone_socket and shader…
kovidomi Nov 19, 2024
2157585
Update BINDINGS.md: raylib-python-cffi is on v5.0 (#4512)
villares Nov 19, 2024
7127cba
typo/spello: arribes->arrives (#4515)
hippietrail Nov 19, 2024
bd706df
Update BINDINGS.md for raylib-beef (#4514)
Booklordofthedings Nov 19, 2024
95e7664
[rmodels] Improve OBJ vertex data precision and lower memory usage by…
mikeemm Nov 19, 2024
10789a4
Update rlgl.h
raysan5 Nov 19, 2024
c78757a
REVIEWED: `GetClipboardImage()`, make symbol available on all platforms
raysan5 Nov 19, 2024
9e4f513
Reviewed formating
raysan5 Nov 19, 2024
26548c1
Remove trail-spaces
raysan5 Nov 19, 2024
4810952
Update BINDINGS.md: github.com/electronstudio/raylib-python-cffi now …
villares Nov 19, 2024
a145779
Update BINDINGS.md: fortran-raylib is on v5.5 (#4518)
interkosmos Nov 19, 2024
57edbc3
Update BINDINGS.md for raylib-py 5.5 (#4519)
overdev Nov 20, 2024
6af664c
Update shaders_basic_pbr example to work on web (#4516)
devdad Nov 20, 2024
532167d
build.zig: fix raygui inclusion in windows crosscompilation (#4489)
kimierik Nov 20, 2024
415a989
update raymath.h: add Vector2CrossProduct function (#4520)
uwiwiow Nov 20, 2024
11429b4
Fix for #4521 (#4523)
veins1 Nov 20, 2024
0d39e71
Fix #4527
raysan5 Nov 21, 2024
a53a895
Add implementation to GetWindowScaleDPI() for PLATFORM_WEB (#4526)
Nov 22, 2024
50a2aff
Update raylib version to 5.6-dev to avoid confusions with release
raysan5 Nov 22, 2024
65e0d2c
Update raylib_api.* by CI
github-actions[bot] Nov 22, 2024
da6fa1d
Fix #4529
raysan5 Nov 22, 2024
47f83aa
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Nov 22, 2024
a9aa6b4
[build.zig] improve build system for zig (#4531)
HaxSam Nov 24, 2024
e494c54
raymath: fix C++ operator overloads (#4535)
ListeriaM Nov 24, 2024
6141489
Fixes casting warnings with RGFW platform. (#4534)
JeffM2501 Nov 24, 2024
79188f5
fixed spacing in sha1 comment (#4540)
CrackedPixel Nov 25, 2024
c53dd8a
[build][cmake] Improve cmake config file generation (#4541)
mobius3 Nov 27, 2024
abb3c8e
Revert "[build][cmake] Improve cmake config file generation (#4541)"
raysan5 Nov 28, 2024
623c437
The Jaylib binding is at 5.5 (#4546)
glowiak Nov 28, 2024
949c316
CMakeOptions.txt: Added a missing `)` (#4545)
PieVieRo Nov 28, 2024
ba1e146
[build] CMake: Set CMake version to 3.12 (#4547)
zyperpl Nov 28, 2024
2c4c6e6
GetKeyName prototype (#4544)
Mossieur-Patate Nov 28, 2024
31a1047
Update raylib_api.* by CI
github-actions[bot] Nov 28, 2024
cd16c9e
Add the D Object Oriented Raylib wrapper to the list of BINDINGS.md …
RealDoigt Nov 28, 2024
58fe34d
[raudio] Fixed buffer overflow when loading WAV files (#4539)
CalebHeydon Nov 28, 2024
9d318a6
Update CONTRIBUTING.md + FAQ.md: small misprints (#4553)
Mossieur-Patate Dec 1, 2024
645f9e3
I've created bindings for raylib 5.5 for c3-lang at https://c3-lang.…
devdad Dec 1, 2024
6c59dc4
Update BINDINGS.md
raysan5 Dec 1, 2024
698bfc4
Update pbr.fs
raysan5 Dec 1, 2024
f9cf684
Update pbr.vs
raysan5 Dec 1, 2024
6fbf08c
Update pbr.fs
raysan5 Dec 1, 2024
1b4e73c
Update documentation for Vector2Angle (#4556)
mrjonjonjon Dec 1, 2024
503cd7b
Update raymath.h
raysan5 Dec 1, 2024
9047630
[rmodels] Fix null pointer dereference in LoadImageFromCgltfImage (#4…
CalebHeydon Dec 1, 2024
962f1c2
Review formatting to follow raylib conventions
raysan5 Dec 1, 2024
e181069
Update BINDINGS.md (#4559)
mrryanjohnston Dec 1, 2024
ff71e3a
use unused variable. Fixes #4560 (#4561)
RicoP Dec 1, 2024
dd26df0
REVIEWED: Parser issue with comment #4558
raysan5 Dec 1, 2024
b50d418
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Dec 1, 2024
e5e2bc8
Update raylib_api.* by CI
github-actions[bot] Dec 1, 2024
f3f5f38
[rmodels] Fix crash when NULL is passed to LoadImageFromCgltfImage (#…
CalebHeydon Dec 2, 2024
87b3085
Added new Jai bindings to BINDINGS.md (#4565)
ahmedqarmout2 Dec 2, 2024
402eab3
Update BINDINGS.md (#4566)
JupiterRider Dec 2, 2024
83587e9
updated raylib-lua version (#4567)
legendaryredfox Dec 2, 2024
e9e463e
[documentation] Updating keybindings versions (#4570)
legendaryredfox Dec 3, 2024
1f0325b
[documentation] Removing 404 repos from bindings (#4572)
legendaryredfox Dec 3, 2024
5feccb1
[rmodels] Fixed null pointer dereference in LoadGLTF (#4564)
CalebHeydon Dec 3, 2024
1f45e7a
REVIEWED: Coding conventions
raysan5 Dec 3, 2024
602583b
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Dec 3, 2024
ca6c5f4
Update BINDINGS.md | Fennel Bindings (#4585)
0riginaln0 Dec 7, 2024
2820fcc
[examples] improve input_virtual_controls example (#4584)
danilwhale Dec 8, 2024
93a6741
Fix examples Makefile PLATFORM define (#4582)
Dec 8, 2024
d2cd2a0
[rlgl][rmodels] Add instranceTransform shader location index #4538 (#…
meadiode Dec 8, 2024
732da94
Update raylib_api.* by CI
github-actions[bot] Dec 8, 2024
2a2acff
Make sure ShaderUniformDataType matches rlShaderUniformDataType (#4577)
RicoP Dec 8, 2024
83f6f3d
Update raylib_api.* by CI
github-actions[bot] Dec 8, 2024
aeb33e6
Adding my bindings to the list (#4586)
legendaryredfox Dec 8, 2024
b747eee
[documentation] Adding a related project (#4589)
legendaryredfox Dec 10, 2024
6b220f2
Review formating
raysan5 Dec 12, 2024
1f704be
Review comments spacing for better alignment
raysan5 Dec 12, 2024
8a5a95c
Removed inaccurate comment about negitves not being supported with Te…
hexmaster111 Dec 13, 2024
0a26d9a
Update raylib_api.* by CI
github-actions[bot] Dec 13, 2024
93a1e75
Disable the threading example in MSVC for release and debug build (wa…
JeffM2501 Dec 13, 2024
d050480
install rcamera.h (#4603)
saxofon Dec 15, 2024
79facde
fix `rlActiveDrawBuffers` for OpenGL ES 3 (#4605)
Bigfoot71 Dec 15, 2024
bdfbd6e
Fix maximizing, minimizing and restoring windows for SDL2 (#4607)
Dec 16, 2024
714cd5e
add SetGamepadVibration to rgfw and template (#4612)
JupiterRider Dec 18, 2024
cdaff16
Fix show, hide, focus and unfocus window/flags states for SDL2 (#4610)
Dec 18, 2024
35c2408
[rmodels] Optimized `UpdateModelAnimationBones()` function (#4602)
Kirandeep-Singh-Khehra Dec 18, 2024
f76734f
REVIEWED: `UpdateModelAnimationBones()`, break on first mesh found an…
raysan5 Dec 18, 2024
de6c09e
WARNING: REVIEWED: Use `libraylib.web.a` naming on PLATFORM_WEB
raysan5 Dec 18, 2024
5800472
[rcore][RGFW] Add new backend option: `PLATFORM_WEB_RGFW` and update …
ColleagueRiley Dec 18, 2024
783ca61
Update Makefile
raysan5 Dec 18, 2024
99cb4cb
Fix SetGamepadVibration() TRACELOG message (#4615)
Dec 18, 2024
6eb1206
fix `shaders_deffered_render.c` for OpenGL ES 3 (#4617)
Bigfoot71 Dec 18, 2024
03ff864
Formating tweaks
raysan5 Dec 18, 2024
ab83e6d
Image manipulation functions depend on a flag
raysan5 Dec 19, 2024
26e12d6
Fix Typo in rcore_desktop_sdl.c (#4621)
Fancy2209 Dec 20, 2024
0212ed0
setting MAX_LEVEL based on actual mipcount input (#4622)
JettMonstersGoBoom Dec 20, 2024
6f0d861
Formating tweaks
raysan5 Dec 23, 2024
67b164b
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Dec 23, 2024
a3a25da
Update BINDINGS.md (#4628)
JupiterRider Dec 23, 2024
e5d8de7
Fix: Setting flags disables fullscreen #4618 (#4619)
veins1 Dec 23, 2024
4fc908b
Update BINDINGS.md (#4633)
james2doyle Dec 23, 2024
7868d60
[rtext] Fix default font alpha on Big Endian systems (#4624)
Fancy2209 Dec 23, 2024
a7686c4
resolved a few segfaults with animation system (#4635)
JettMonstersGoBoom Dec 24, 2024
ae3c0df
Reviewed formating, removed assert() #4635
raysan5 Dec 24, 2024
873bf31
[rmodels] Fix normal transform in `UpdateModelAnimationBones` (#4634)
Bigfoot71 Dec 24, 2024
c333e80
Update RGFW (#4637)
ColleagueRiley Dec 25, 2024
b079679
Update version number for the nim wrapper (#4638)
planetis-m Dec 25, 2024
51b9a0a
Updated BINDINGS.md for Ruby (#4639)
BotRandomness Dec 26, 2024
4758867
[rcore] [SDL2] Add implementation for `FLAG_WINDOW_ALWAYS_RUN` (#4598)
Dec 26, 2024
7ecc47d
Fix `IsWindowFocused()` on web. (#4640)
marionauta Dec 26, 2024
e062dc0
Add filters and platform files so they show up in MSVC for ease of ed…
JeffM2501 Dec 28, 2024
75b6b82
using addCMacro instead of defineCMacro (#4620)
Joonsey Dec 28, 2024
5b82258
[rcore] [GLFW] [SDL2] Updates `CORE.Window.eventWaiting` and `FLAG_WI…
Dec 28, 2024
c0f2067
REVIEWED: `LoadShaderFromMemory()`, use default locations for default…
raysan5 Dec 28, 2024
f355d6f
Transform the vertex normals by the animated matrix (#4646)
JeffM2501 Dec 29, 2024
d1315e8
[rmodels] Fix leaks in LoadIQM() and LoadModelAnimationsIQM() (#4649)
peter15914 Dec 29, 2024
fa0eada
Update year to 2025
raysan5 Dec 31, 2024
0f6e85a
[build] CMake: Don't build examples using audio if audio is disabled …
Peter0x44 Jan 1, 2025
97fa3a7
Fix: Alt-Tab not working in borderless fullscreen (#3865) (#4655)
veins1 Jan 3, 2025
05c4d8a
[rlgl.h] Fixed typo in top comment (#4658)
Brian-ED Jan 5, 2025
2f95e83
typo fix (#4656)
rexept Jan 5, 2025
ad035ed
Fix camera initial position (#4657)
Jan 5, 2025
fc29bc2
Fix Touch pointCount reduction (#4661)
maiconpintoabreu Jan 6, 2025
5d9aed5
[rlgl] Optimize rlReadScreenPixels (#4667)
pope Jan 8, 2025
ddd86a3
[rshapes] Fix pixel offset issue with line drawing (#4666)
Bigfoot71 Jan 8, 2025
bf8962d
REVIEWED: Remove some `const` from text buffer return values
raysan5 Jan 10, 2025
433cc23
Update raylib_api.* by CI
github-actions[bot] Jan 10, 2025
b554b53
fix pixel offset issue with `DrawRectangleLines` (#4669)
Bigfoot71 Jan 10, 2025
eee86dd
[build][CMake] Fix cmake configuration issue for Android (#4671)
Bigfoot71 Jan 10, 2025
43dbaf2
[examples] Fix broken link (#4674)
Hakunamawatta Jan 10, 2025
34f431b
Update xcode-frameworks dependency for latest zig (#4675)
mobiuscog Jan 10, 2025
08b089f
Reviewed shaders_deferred_render (#4676)
veins1 Jan 10, 2025
2b2694a
Fix #4680
raysan5 Jan 10, 2025
62d8969
Reviewed shader formating
raysan5 Jan 10, 2025
49b9050
remove trailing spaces
raysan5 Jan 11, 2025
8e450e4
Reviewed shaders formating to follow raylib coding conventions
raysan5 Jan 11, 2025
e227371
REVIEWED: `TextJoin()`, convert `const char **` to `char**`
raysan5 Jan 11, 2025
43db59d
Update raylib_api.* by CI
github-actions[bot] Jan 11, 2025
a1896c7
REVIEWED: Code/Web-Makefile formatting
raysan5 Jan 12, 2025
4bceddd
ADDED: example: `models_tesseract`
raysan5 Jan 12, 2025
2f6230e
Formatting review and examples review
raysan5 Jan 12, 2025
da5a868
REMOVED: example: `core_gamepad_info`
raysan5 Jan 12, 2025
1cdf3bb
[rshapes] Allow `DrawRectangleRounded()` to draw rectangles with a si…
teatwig Jan 12, 2025
af163ba
REVIEWED: example: `shaders_julia_set`
raysan5 Jan 12, 2025
fddfb58
REVIEWED: Potential shader issues
raysan5 Jan 12, 2025
cfbba79
REVIEWED: example: `models_textures_tiling` shaders
raysan5 Jan 12, 2025
35a9257
Update BINDINGS.md for official V language binding change (#4691)
mobiuscog Jan 15, 2025
5c1cce2
Using Module provided canvas id for event binding (#4690)
zet23t Jan 15, 2025
6bf40ee
Update to RGFW 1.5 (#4688)
ColleagueRiley Jan 15, 2025
7b570bd
Update models_point_rendering.c
raysan5 Jan 16, 2025
94f261c
Update rmodels.c
raysan5 Jan 16, 2025
313067d
Update rlgl.h
raysan5 Jan 16, 2025
7c7b087
REVIEWED: example: `shaders_deferred_render` -WIP-
raysan5 Jan 16, 2025
27e530e
update examples with difficulty stars (#4694)
CrackedPixel Jan 17, 2025
0275d13
Update README.md
raysan5 Jan 17, 2025
8575150
Bump BINDINGS.md version number for Raylib.nelua (#4698)
AuzFox Jan 18, 2025
7425694
REVIEWED: `MAX_GAMEPAD_NAME_LENGTH` #4695
raysan5 Jan 18, 2025
945f181
[examples] Update examples to be consistent (#4699)
anstropleuton Jan 18, 2025
896ff68
REVIEWED: Text functions usage notes #4704
raysan5 Jan 18, 2025
a16e26a
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Jan 18, 2025
09272e2
Updted the comment for SetShaderValueTexture to reflect the differenc…
pejorativefox Jan 18, 2025
e70f915
Update raylib_api.* by CI
github-actions[bot] Jan 18, 2025
10d0616
fix(rtextures): TCC not being able to compile due to: 'emmintrin.h' n…
sleeptightAnsiC Jan 19, 2025
773e3f5
Update more examples inconsistencies (#4711)
anstropleuton Jan 19, 2025
77c509d
removed hardcoded sleep (#4713)
CrackedPixel Jan 20, 2025
d48b8af
Update rcore_web.c
raysan5 Jan 20, 2025
2c50da9
REVIEWED: -sASSERTIONS usage by linker #4717
raysan5 Jan 21, 2025
322ba54
Fix(WEB): Makefile: throw an error when trying to build SHARED librar…
sleeptightAnsiC Jan 21, 2025
87f1753
Reviewed warning on shared library generation for web
raysan5 Jan 21, 2025
7bfc8e8
[example] Add shaders_rounded_rectangle example (#4719)
anstropleuton Jan 23, 2025
49d37b0
[rtexture] Cubemap mipmap loading improvements (#4721)
Not-Nik Jan 24, 2025
139de05
[rcore] [SDL2] Fix gamepad event handling by adding joystick instance…
Jan 25, 2025
861ebaf
Update shaders_mesh_instancing.c
raysan5 Jan 26, 2025
53ea275
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Jan 26, 2025
f6f31a9
[rtextures] Fix `HalfToFloat()` and `FloatToHalf()` dereferencing iss…
Jan 26, 2025
5504983
Update CMakeLists.txt (#4727)
elite0OG Jan 27, 2025
2492dd3
[build] [Makefile]: Undefine _GNU_SOURCE for rglfw.c (#4732)
Peter0x44 Jan 27, 2025
9789ff1
REVERTING: `emscripten_sleep()` previous removal #4713
raysan5 Jan 28, 2025
d46ba9a
Merge branch 'master' of https://github.com/raysan5/raylib
raysan5 Jan 28, 2025
1f6de0c
Replacing hardcoded canvas id references with module variable usages …
zet23t Jan 30, 2025
1850939
Updated to raylib 5.5
afxgroup Jan 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/workflows/webassembly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Setup emsdk
uses: mymindstorm/setup-emsdk@v14
with:
version: 3.1.54
version: 3.1.71
actions-cache-folder: 'emsdk-cache'

- name: Setup Release Version
Expand Down
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ packages/
*.so.*
*.dll

# Emscripten
emsdk

# Ignore wasm data in examples/
examples/**/*.wasm
examples/**/*.data
Expand Down Expand Up @@ -101,6 +104,7 @@ GRTAGS
GTAGS

# Zig programming language
.zig-cache/
zig-cache/
zig-out/
build/
Expand All @@ -109,5 +113,3 @@ docgen_tmp/

# Parser stuff
parser/raylib_parser

.vscode
310 changes: 161 additions & 149 deletions BINDINGS.md

Large diffs are not rendered by default.

481 changes: 476 additions & 5 deletions CHANGELOG

Large diffs are not rendered by default.

10 changes: 4 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cmake_minimum_required(VERSION 3.5)
cmake_minimum_required(VERSION 3.25)
#this change avoid the warning that appear when we include raylib using Cmake fatch content
project(raylib)

# Avoid excessive expansion of variables in conditionals. In particular, if
Expand All @@ -20,7 +21,7 @@ cmake_policy(SET CMP0063 NEW)

# Directory for easier includes
# Anywhere you see include(...) you can check <root>/cmake for that file
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

# RAYLIB_IS_MAIN determines whether the project is being used from root
# or if it is added as a dependency (through add_subdirectory for example).
Expand All @@ -36,9 +37,6 @@ include(CompilerFlags)
# Registers build options that are exposed to cmake
include(CMakeOptions.txt)

# Enforces a few environment and compiler configurations
include(BuildOptions)

if (UNIX AND NOT APPLE)
if (NOT GLFW_BUILD_WAYLAND AND NOT GLFW_BUILD_X11)
MESSAGE(FATAL_ERROR "Cannot disable both Wayland and X11")
Expand All @@ -51,7 +49,7 @@ add_subdirectory(src raylib)
# Uninstall target
if(NOT TARGET uninstall)
configure_file(
"${CMAKE_MODULE_PATH}/Uninstall.cmake"
"${CMAKE_CURRENT_SOURCE_DIR}/cmake/Uninstall.cmake"
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
IMMEDIATE @ONLY)

Expand Down
84 changes: 8 additions & 76 deletions CMakeOptions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ enum_option(OPENGL_VERSION "OFF;4.3;3.3;2.1;1.1;ES 2.0;ES 3.0" "Force a specific
# Configuration options
option(BUILD_EXAMPLES "Build the examples." ${RAYLIB_IS_MAIN})
option(CUSTOMIZE_BUILD "Show options for customizing your Raylib library build." OFF)
option(ENABLE_ASAN "Enable AddressSanitizer (ASAN) for debugging (degrades performance)" OFF)
option(ENABLE_ASAN "Enable AddressSanitizer (ASAN) for debugging (degrades performance)" OFF)
option(ENABLE_UBSAN "Enable UndefinedBehaviorSanitizer (UBSan) for debugging" OFF)
option(ENABLE_MSAN "Enable MemorySanitizer (MSan) for debugging (not recommended to run with ASAN)" OFF)

Expand All @@ -22,83 +22,15 @@ cmake_dependent_option(USE_AUDIO "Build raylib with audio module" ON CUSTOMIZE_B
enum_option(USE_EXTERNAL_GLFW "OFF;IF_POSSIBLE;ON" "Link raylib against system GLFW instead of embedded one")

# GLFW build options
option(GLFW_BUILD_WAYLAND "Build the bundled GLFW with Wayland support" ON)
option(GLFW_BUILD_WAYLAND "Build the bundled GLFW with Wayland support" OFF)
option(GLFW_BUILD_X11 "Build the bundled GLFW with X11 support" ON)

option(INCLUDE_EVERYTHING "Include everything disabled by default (for CI usage" OFF)
option(INCLUDE_EVERYTHING "Include everything disabled by default (for CI usage)" OFF)
set(OFF ${INCLUDE_EVERYTHING} CACHE INTERNAL "Replace any OFF by default with \${OFF} to have it covered by this option")

# raylib modules included
cmake_dependent_option(SUPPORT_MODULE_RSHAPES "Include module: rshapes" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_MODULE_RTEXTURES "Include module: rtextures" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_MODULE_RTEXT "Include module: rtext" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_MODULE_RMODELS "Include module: rmodels" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_MODULE_RAUDIO "Include module: raudio" ON CUSTOMIZE_BUILD ON)
include(ParseConfigHeader)

# rcore.c
cmake_dependent_option(SUPPORT_CAMERA_SYSTEM "Provide camera module (rcamera.h) with multiple predefined cameras: free, 1st/3rd person, orbital" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_GESTURES_SYSTEM "Gestures module is included (rgestures.h) to support gestures detection: tap, hold, swipe, drag" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_RPRAND_GENERATOR "Include pseudo-random numbers generator (rprand.h), based on Xoshiro128** and SplitMix64" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_MOUSE_GESTURES "Mouse gestures are directly mapped like touches and processed by gestures system" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_SSH_KEYBOARD_RPI "Reconfigure standard input to receive key inputs, works with SSH connection" OFF CUSTOMIZE_BUILD OFF)
cmake_dependent_option(SUPPORT_DEFAULT_FONT "Default font is loaded on window initialization to be available for the user to render simple text. If enabled, uses external module functions to load default raylib font (module: text)" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_SCREEN_CAPTURE "Allow automatic screen capture of current screen pressing F12, defined in KeyCallback()" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_GIF_RECORDING "Allow automatic gif recording of current screen pressing CTRL+F12, defined in KeyCallback()" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_BUSY_WAIT_LOOP "Use busy wait loop for timing sync instead of a high-resolution timer" OFF CUSTOMIZE_BUILD OFF)
cmake_dependent_option(SUPPORT_EVENTS_WAITING "Wait for events passively (sleeping while no events) instead of polling them actively every frame" OFF CUSTOMIZE_BUILD OFF)
cmake_dependent_option(SUPPORT_WINMM_HIGHRES_TIMER "Setting a higher resolution can improve the accuracy of time-out intervals in wait functions" OFF CUSTOMIZE_BUILD OFF)
cmake_dependent_option(SUPPORT_COMPRESSION_API "Support for compression API" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_EVENTS_AUTOMATION "Support automatic generated events, loading and recording of those events when required" OFF CUSTOMIZE_BUILD OFF)
cmake_dependent_option(SUPPORT_CUSTOM_FRAME_CONTROL "Enabling this flag allows manual control of the frame processes, use at your own risk" OFF CUSTOMIZE_BUILD OFF)

# rshapes.c
cmake_dependent_option(SUPPORT_QUADS_DRAW_MODE "Use QUADS instead of TRIANGLES for drawing when possible. Some lines-based shapes could still use lines" ON CUSTOMIZE_BUILD ON)

# rtextures.c
cmake_dependent_option(SUPPORT_IMAGE_EXPORT "Support image exporting to file" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_IMAGE_GENERATION "Support procedural image generation functionality (gradient, spot, perlin-noise, cellular)" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_IMAGE_MANIPULATION "Support multiple image editing functions to scale, adjust colors, flip, draw on images, crop... If not defined only three image editing functions supported: ImageFormat(), ImageAlphaMask(), ImageToPOT()" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_PNG "Support loading PNG as textures" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_DDS "Support loading DDS as textures" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_HDR "Support loading HDR as textures" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_PIC "Support loading PIC as textures" ${OFF} CUSTOMIZE_BUILD OFF)
cmake_dependent_option(SUPPORT_FILEFORMAT_PNM "Support loading PNM as textures" ${OFF} CUSTOMIZE_BUILD OFF)
cmake_dependent_option(SUPPORT_FILEFORMAT_KTX "Support loading KTX as textures" ${OFF} CUSTOMIZE_BUILD OFF)
cmake_dependent_option(SUPPORT_FILEFORMAT_ASTC "Support loading ASTC as textures" ${OFF} CUSTOMIZE_BUILD OFF)
cmake_dependent_option(SUPPORT_FILEFORMAT_BMP "Support loading BMP as textures" ${OFF} CUSTOMIZE_BUILD OFF)
cmake_dependent_option(SUPPORT_FILEFORMAT_TGA "Support loading TGA as textures" ${OFF} CUSTOMIZE_BUILD OFF)
cmake_dependent_option(SUPPORT_FILEFORMAT_JPG "Support loading JPG as textures" ${OFF} CUSTOMIZE_BUILD OFF)
cmake_dependent_option(SUPPORT_FILEFORMAT_GIF "Support loading GIF as textures" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_QOI "Support loading QOI as textures" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_PSD "Support loading PSD as textures" ${OFF} CUSTOMIZE_BUILD OFF)
cmake_dependent_option(SUPPORT_FILEFORMAT_PKM "Support loading PKM as textures" ${OFF} CUSTOMIZE_BUILD OFF)
cmake_dependent_option(SUPPORT_FILEFORMAT_PVR "Support loading PVR as textures" ${OFF} CUSTOMIZE_BUILD OFF)
cmake_dependent_option(SUPPORT_FILEFORMAT_SVG "Support loading SVG as textures" ${OFF} CUSTOMIZE_BUILD OFF)

# rtext.c
cmake_dependent_option(SUPPORT_FILEFORMAT_FNT "Support loading fonts in FNT format" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_TTF "Support loading font in TTF/OTF format" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_TEXT_MANIPULATION "Support text manipulation functions" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FONT_ATLAS_WHITE_REC "Support white rec on font atlas bottom-right corner" ON CUSTOMIZE_BUILD ON)

# rmodels.c
cmake_dependent_option(SUPPORT_MESH_GENERATION "Support procedural mesh generation functions, uses external par_shapes.h library. NOTE: Some generated meshes DO NOT include generated texture coordinates" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_OBJ "Support loading OBJ file format" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_MTL "Support loading MTL file format" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_IQM "Support loading IQM file format" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_GLTF "Support loading GLTF file format" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_VOX "Support loading VOX file format" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_M3D "Support loading M3D file format" ON CUSTOMIZE_BUILD ON)

# raudio.c
cmake_dependent_option(SUPPORT_FILEFORMAT_WAV "Support loading WAV for sound" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_OGG "Support loading OGG for sound" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_XM "Support loading XM for sound" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_MOD "Support loading MOD for sound" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_MP3 "Support loading MP3 for sound" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_QOA "Support loading QOA for sound" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_FILEFORMAT_FLAC "Support loading FLAC for sound" ${OFF} CUSTOMIZE_BUILD OFF)

# utils.c
cmake_dependent_option(SUPPORT_STANDARD_FILEIO "Support standard file io library (stdio.h)" ON CUSTOMIZE_BUILD ON)
cmake_dependent_option(SUPPORT_TRACELOG "Show TraceLog() output messages. NOTE: By default LOG_DEBUG traces not shown" ON CUSTOMIZE_BUILD ON)
foreach(FLAG IN LISTS CONFIG_HEADER_FLAGS)
string(REGEX MATCH "([^=]+)=(.+)" _ ${FLAG})
cmake_dependent_option(${CMAKE_MATCH_1} "" ${CMAKE_MATCH_2} CUSTOMIZE_BUILD ${CMAKE_MATCH_2})
endforeach()
16 changes: 8 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ Hello contributors! Welcome to raylib!
Do you enjoy raylib and want to contribute? Nice! You can help with the following points:

- `C programming` - Can you write/review/test/improve the code?
- `Documentation/Tutorials/Example` - Can you write some tutorial/example?
- `Documentation/Tutorials/Example` - Can you write some tutorials/examples?
- `Porting to other platforms` - Can you port/adapt/compile raylib on other systems?
- `Web Development` - Can you help [with the website](https://github.com/raysan5/raylib.com)?
- `Testing` - Can you find some bugs in raylib?

This document contains a set of guidelines to contribute to the project. These are mostly guidelines, not rules.
Use your best judgement, and feel free to propose changes to this document in a pull request.
Use your best judgment, and feel free to propose changes to this document in a pull request.

### raylib philosophy

Expand All @@ -28,14 +28,14 @@ Use your best judgement, and feel free to propose changes to this document in a
- [raylib license](LICENSE)
- [raylib roadmap](ROADMAP.md)

[raylib Wiki](https://github.com/raysan5/raylib/wiki) contains some information about the library and is open to anyone for edit.
[raylib Wiki](https://github.com/raysan5/raylib/wiki) contains some information about the library and is open to anyone to edit.
Feel free to review it if required, just take care not to break something.

### raylib C coding conventions

Despite being written in C, raylib does not follow the standard Hungarian notation for C,
it [follows Pascal-case/camel-case notation](https://github.com/raysan5/raylib/wiki/raylib-coding-conventions),
more common on C# language. All code formatting decisions have been carefully taken
more common in C# language. All code formatting decisions have been carefully taken
to make it easier for students/users to read, write and understand code.

Source code is extensively commented for that purpose, raylib primary learning method is:
Expand All @@ -46,21 +46,21 @@ For detailed information on building raylib and examples, please check [raylib W

### Opening new Issues

To open new issue for raylib (bug, enhancement, discussion...), just try to follow these rules:
To open new issues for raylib (bug, enhancement, discussion...), just try to follow these rules:

- Make sure the issue has not already been reported before by searching on GitHub under Issues.
- If you're unable to find an open issue addressing the problem, open a new one. Be sure to include a
title and clear description, as much relevant information as possible, and a code sample demonstrating the unexpected behavior.
- If applies, attach some screenshot of the issue and a .zip file with the code sample and required resources.
- If applicable, attach some screenshot of the issue and a .zip file with the code sample and required resources.
- On issue description, add a brackets tag about the raylib module that relates to this issue.
If don't know which module, just report the issue, I will review it.
- You can check other issues to see how is being done!
- You can check other issues to see how it's being done!

### Sending a Pull-Request

- Make sure the PR description clearly describes the problem and solution. Include the relevant issue number if applicable.
- Don't send big pull requests (lots of changelists), they are difficult to review. It's better to send small pull requests, one at a time.
- Verify that changes don't break the build (at least on Windows platform). As many platforms where you can test it, the better, but don't worry
- Verify that changes don't break the build (at least on Windows platform). The more platforms where you can test it, the better, but don't worry
if you cannot test all the platforms.

### Contact information
Expand Down
4 changes: 2 additions & 2 deletions CONVENTIONS.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## C Coding Style Conventions

Here it is a list with some of the code conventions used by raylib:
Here is a list with some of the code conventions used by raylib:

Code element | Convention | Example
--- | :---: | ---
Expand Down Expand Up @@ -79,7 +79,7 @@ _NOTE: Avoid any space or special character in the files/dir naming!_

- Data files should be organized by context and usage in the game, think about the loading requirements for data and put all the resources that need to be loaded at the same time together.
- Use descriptive names for the files, it would be perfect if just reading the name of the file, it was possible to know what is that file and where fits in the game.
- Here it is an example, note that some resources require to be loaded all at once while other require to be loaded only at initialization (gui, font).
- Here is an example, note that some resources require to be loaded all at once while other require to be loaded only at initialization (gui, font).

```
resources/audio/fx/long_jump.wav
Expand Down
Loading
Loading