Commit Graph

7356 Commits

Author SHA1 Message Date
Ray c57b8d5a6a REVIEWED: `ImageKernelConvolution()`, formating and warnings 2024-01-15 20:32:46 +01:00
Blockguy24 d2b1256e5c
Fix bounds check for `ImageDrawRectangleRec` (#3732) 2024-01-14 11:21:29 +01:00
Tobias Mock 02133092f8
Update OCaml bindings version (#3730) 2024-01-13 23:46:33 +01:00
Ray cb2572fe07 Avoid asserts because could crash some decompressions https://github.com/raysan5/raygui/issues/364 2024-01-13 16:57:25 +01:00
Karl Zylinski 520c8cffb2
Simplified GetWindowScaleDPI() so it does not fetch the wrong DPI scale some times (Windows looks at center of window while the old raylib code looked on upper left corner of window, now it just uses the glfw function to fetch the window's current scaling). Also introduced a callback to update the CORE.Window.screenScaling when the content scaling updates, previously scaling did not work correctly on systems with multiple monitors that have different DPI scaling. (#3701) 2024-01-13 10:49:04 +01:00
Andrew Lee b7141d556e
Add shared library build option for build.zig and update to zig 0.12.0-dev.2139 (#3727)
* update build.zig to 0.12.0-dev.2139 and add shared lib option

* add no-sanitize workarounds
2024-01-13 10:46:53 +01:00
kolunmi 9d628d1d49
Enable animation names for the m3d model format. (#3714) 2024-01-11 19:49:25 +01:00
freakmangd 482722d881
Update to latest zig 0.12.0dev while keeping 0.11.0 compatibility (#3715)
* update build.zig for latest zig 0.12.0dev while still allowing 0.11.0

* update examples/build.zig and add nicer message for type mismatch
2024-01-11 19:48:37 +01:00
Lieven Petersen a820c37ab2
implemented fill color TODO in ImageResizeCanvas() (#3720) 2024-01-11 19:48:14 +01:00
Le Juez Victor 746f129bfe
Fix `ImageDrawRectangleRec` (#3721) 2024-01-11 19:37:42 +01:00
Hongyu Ouyang 64ba5cb570
Update a comment (#3724) 2024-01-11 19:33:24 +01:00
Tim Romero 2c124c96df
[rtext] Adjust font atlas area calculation so padding area is not underestimated at small font sizes. (#3719) 2024-01-10 21:34:04 +01:00
Ray be78255bea
Update codeql.yml: Exclude src/external files 2024-01-08 01:13:44 +01:00
Alice Nyaa be0ea89f83
Simplified for loop for some image manip functions (#3712) 2024-01-06 19:41:43 +01:00
Hongyu Ouyang 721e273547
Fix a bug in examples/shapes/shapes_following_eyes (#3710) 2024-01-06 11:32:10 +01:00
Ray a4dc325a0c Reviewed Makefile SDL2 expected include/lib paths #3705 2024-01-05 22:51:46 +01:00
Ray b4cb0f3e7d REVIEWED: `LoadImageAnimFromMemory()` #3704 2024-01-05 22:33:56 +01:00
Ray e428ec940b Merge branch 'master' of https://github.com/raysan5/raylib 2024-01-05 22:33:22 +01:00
Ray c95b71d40d Update raudio.c 2024-01-05 22:33:02 +01:00
Ray 3afb4dda97 Update raygui.h 2024-01-05 22:32:59 +01:00
ubkp 19bdcedf1c
Hide unused warnings from stb_image_resize2.h (#3708) 2024-01-05 22:22:58 +01:00
Michael Scherbakow eb6dcab308
Update raylib.zig version to 5.1-dev (#3698) 2024-01-04 10:51:53 +01:00
Ray e46b6147fc Update copyright year to 2024 2024-01-03 14:16:39 +01:00
Ray 3f1e59a7cf Update copyright to 2024 2024-01-02 20:58:12 +01:00
seiren 0a25a3ed70
Update raylib_api.* by CI (#3692)
* wip: add parse.yml

* Temporarily force run

* Auto commit parse files

* Update raylib_api.* by CI

* Remove temporary setting

* format

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2023-12-31 15:06:46 +01:00
Kenta 710e811b27
Update BINDINGS.md (#3689)
Update Raylib.c3 to 5.0
2023-12-29 23:41:44 +01:00
Ray 1f3121d2fa Revert "Update raylib.h"
This reverts commit 7ea6adb29e.
2023-12-28 23:17:07 +01:00
Ray dde738a2fd Merge branch 'master' of https://github.com/raysan5/raylib 2023-12-28 23:16:57 +01:00
ubkp fd5e1e6afb
[rtextures] Fix `LoadImageAnimFromMemory()` warning for `fileData` (#3686)
* Fix LoadImageAnimFromMemory() warning for fileData

* Add LoadImageAnimFromMemory() to raylib.h

* Fix missing ; on previous commit
2023-12-28 23:15:04 +01:00
ubkp 5b5a2d035d
Fix TextReplace warning for const (#3687) 2023-12-28 23:13:47 +01:00
Ray 7ea6adb29e Update raylib.h 2023-12-28 22:10:10 +01:00
IoIxD 3fc43c1096
LoadImageAnimFromMemory (#3681) 2023-12-28 20:12:52 +01:00
maverikou 7cfdf33ff0
TextReplace const correctness (#3678)
* TextReplace const correctness

* cleanup
2023-12-28 20:09:49 +01:00
ubkp 43b4f90eb7
Fix SUPPORT_WINMM_HIGHRES_TIMER for PLATFORM_DESKTOP_SDL (#3679) 2023-12-28 20:08:04 +01:00
WisonYe 1727ddb9ea
[ fix-crash-caused-by-zig-build ] - Fixed 'Illegal instruction' crash on 'rtextures' and 'raudio' model that caused by zig build. (#3682) 2023-12-28 15:41:33 +01:00
Jeffery Myers ad64a43b34
[rshapes] Expose shapes drawing texture and rectangle (#3677)
* provide access to the shape texture so that shapes can be extended outside of raylib with the same optimizations as internal raylib functions.

* PR feedback, comply with C standards

* oops
2023-12-28 15:40:03 +01:00
Ray 99f22a47ff
Update some versions BINDINGS.md 2023-12-25 14:44:49 +01:00
iacore 21bfd06570
Update BINDINGS.md (#3672)
Update zig libs version
2023-12-25 14:38:49 +01:00
Ray 36df9c5bd6 Update shaders_basic_pbr.c 2023-12-23 18:16:06 +01:00
Ray e039a221a3 Review formating 2023-12-23 14:07:45 +01:00
Ray 706f74bce0 Update shaders_basic_pbr.c 2023-12-23 13:32:47 +01:00
Antonis Geralis 7ca95512d8
Review UnloadAutomationEventList (#3658)
* Review UnloadAutomationEventList

* Update raylib.h

* Update rcore.c

* Update core_automation_events.c

* Fix mistake
2023-12-23 12:14:39 +01:00
Ray efe3510a9a REVIEWED: SDL text input to Unicode codepoints #3650
REVIEWED: GLFW naming conventions to reflect codepoints reading
2023-12-23 12:04:19 +01:00
Ray 1792bce292 REVIEWED: `LoadTextureCubemap()`, added `mipmaps` #3665 2023-12-23 11:26:23 +01:00
Tim Romero f914020d45
VSCode sample project Mac fixup (#3666)
Change vscode config and makefile to add a missing IOKit framework reference and use whichever MacOSX sdk symlink is available
2023-12-23 11:22:16 +01:00
o3o a06f3d0e34
Update BINDINGS.md (#3662)
Udated version of `bindbd-raylib3` to 5.0.0 (bind to raylib 5.0.0)
2023-12-22 17:40:57 +01:00
Ray bb18018f29 REVIEWED: `shaders_basic_pbr`, added more comments 2023-12-21 21:32:53 +01:00
Ray afbad4bbc6 Merge branch 'master' of https://github.com/raysan5/raylib 2023-12-21 21:32:04 +01:00
Ray 4805dddc18 Update shaders_deferred_render.c 2023-12-21 21:32:00 +01:00
glowiak fbecab32e7
Add new COBOL binding (#3661) 2023-12-21 19:31:34 +01:00