Idir Carlos Aliane
6f1c31b25d
Change some minor comments to align with comments style ( #3755 )
hace 1 año
Idir Carlos Aliane
c133fee286
[raymath.h] Small code refactor ( #3753 )
* [raymath.h] Small refactor to avoid duplicated code
* Fixing some blank spaces to match same syle convention
hace 1 año
Brian E
27645e16ab
fixed small typo, replaced `th` with `the` ( #3752 )
hace 1 año
Antonio Raúl
ef92ced370
fix CheckCollisionPointPoly ( #3750 )
hace 1 año
Idir Carlos Aliane
68c32a4184
Fix typo in HISTORY.md ( #3751 )
There is a typo where 'undoubtdly' appears instead of 'undoubtedly'.
hace 1 año
Alexandre Almeida
5c25913e09
Fix Android keycode translation and duplicate key constants ( #3733 )
* Fix Android keycode translation
* Simplify code a bit
* Rename KEYCODE_MAPPED_NUM to KEYCODE_MAP_SIZE
* Fix KEY_R and KEY_MENU duplicate
* Update raylib_api.* by CI
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
hace 1 año
John
192f7f1b29
[rcore rglfw] Feature Test Macros before include ( #3737 )
Move/Add Feature Test Macros before any includes.
See: [GNU Feature Test Macros](https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html )
> You should define these macros by using ‘#define’ preprocessor directives at the top of your source code files. These directives must come before any #include of a system header file. It is best to make them the very first thing in the file, preceded only by comments.
Alternative changes to rcore would be to change _POSIX_C_SOURCE to
200809L, which removes the need to define _XOPEN_SOURCE >= 500.
These changes allow for compilation with -std=c* (such as -std=c99)
without adding -D macros to the build step.
Co-authored-by: JayLCypher <jaylcypher@github.com>
hace 1 año
Hongyu Ouyang
0a8165c0ac
Make raylib/raygui work better on touchscreen ( #3728 )
* Fix that touch doesn't work for click/drag/raygui
* Add comments
* comments update
hace 1 año
Anand Swaroop
b600786c52
Update BINDINGS.md ( #3739 )
hace 1 año
Ray
c57b8d5a6a
REVIEWED: `ImageKernelConvolution()`, formating and warnings
hace 1 año
Blockguy24
d2b1256e5c
Fix bounds check for `ImageDrawRectangleRec` ( #3732 )
hace 1 año
Tobias Mock
02133092f8
Update OCaml bindings version ( #3730 )
hace 1 año
Ray
cb2572fe07
Avoid asserts because could crash some decompressions https://github.com/raysan5/raygui/issues/364
hace 1 año
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 )
hace 1 año
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
hace 1 año
kolunmi
9d628d1d49
Enable animation names for the m3d model format. ( #3714 )
hace 1 año
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
hace 1 año
Lieven Petersen
a820c37ab2
implemented fill color TODO in ImageResizeCanvas() ( #3720 )
hace 1 año
Le Juez Victor
746f129bfe
Fix `ImageDrawRectangleRec` ( #3721 )
hace 1 año
Hongyu Ouyang
64ba5cb570
Update a comment ( #3724 )
hace 1 año
Tim Romero
2c124c96df
[rtext] Adjust font atlas area calculation so padding area is not underestimated at small font sizes. ( #3719 )
hace 1 año
Ray
be78255bea
Update codeql.yml: Exclude src/external files
hace 1 año
Alice Nyaa
be0ea89f83
Simplified for loop for some image manip functions ( #3712 )
hace 1 año
Hongyu Ouyang
721e273547
Fix a bug in examples/shapes/shapes_following_eyes ( #3710 )
hace 1 año
Ray
a4dc325a0c
Reviewed Makefile SDL2 expected include/lib paths #3705
hace 1 año
Ray
b4cb0f3e7d
REVIEWED: `LoadImageAnimFromMemory()` #3704
hace 1 año
Ray
e428ec940b
Merge branch 'master' of https://github.com/raysan5/raylib
hace 1 año
Ray
c95b71d40d
Update raudio.c
hace 1 año
Ray
3afb4dda97
Update raygui.h
hace 1 año
ubkp
19bdcedf1c
Hide unused warnings from stb_image_resize2.h ( #3708 )
hace 1 año
Michael Scherbakow
eb6dcab308
Update raylib.zig version to 5.1-dev ( #3698 )
hace 1 año
Ray
e46b6147fc
Update copyright year to 2024
hace 1 año
Ray
3f1e59a7cf
Update copyright to 2024
hace 1 año
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>
hace 1 año
Kenta
710e811b27
Update BINDINGS.md ( #3689 )
Update Raylib.c3 to 5.0
hace 1 año
Ray
1f3121d2fa
Revert "Update raylib.h"
This reverts commit 7ea6adb29e
.
hace 1 año
Ray
dde738a2fd
Merge branch 'master' of https://github.com/raysan5/raylib
hace 1 año
ubkp
fd5e1e6afb
[rtextures] Fix `LoadImageAnimFromMemory()` warning for `fileData` ( #3686 )
* Fix LoadImageAnimFromMemory() warning for fileData
* Add LoadImageAnimFromMemory() to raylib.h
* Fix missing ; on previous commit
hace 1 año
ubkp
5b5a2d035d
Fix TextReplace warning for const ( #3687 )
hace 1 año
Ray
7ea6adb29e
Update raylib.h
hace 1 año
IoIxD
3fc43c1096
LoadImageAnimFromMemory ( #3681 )
hace 1 año
maverikou
7cfdf33ff0
TextReplace const correctness ( #3678 )
* TextReplace const correctness
* cleanup
hace 1 año
ubkp
43b4f90eb7
Fix SUPPORT_WINMM_HIGHRES_TIMER for PLATFORM_DESKTOP_SDL ( #3679 )
hace 1 año
WisonYe
1727ddb9ea
[ fix-crash-caused-by-zig-build ] - Fixed 'Illegal instruction' crash on 'rtextures' and 'raudio' model that caused by zig build. ( #3682 )
hace 1 año
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
hace 1 año
Ray
99f22a47ff
Update some versions BINDINGS.md
hace 1 año
iacore
21bfd06570
Update BINDINGS.md ( #3672 )
Update zig libs version
hace 1 año
Ray
36df9c5bd6
Update shaders_basic_pbr.c
hace 1 año
Ray
e039a221a3
Review formating
hace 1 año
Ray
706f74bce0
Update shaders_basic_pbr.c
hace 1 año