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
1 year ago
Ray
c57b8d5a6a
REVIEWED: `ImageKernelConvolution()`, formating and warnings
1 year ago
Blockguy24
d2b1256e5c
Fix bounds check for `ImageDrawRectangleRec` ( #3732 )
1 year ago
Ray
cb2572fe07
Avoid asserts because could crash some decompressions https://github.com/raysan5/raygui/issues/364
1 year ago
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 )
1 year ago
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
1 year ago
kolunmi
9d628d1d49
Enable animation names for the m3d model format. ( #3714 )
1 year ago
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
1 year ago
Lieven Petersen
a820c37ab2
implemented fill color TODO in ImageResizeCanvas() ( #3720 )
1 year ago
Le Juez Victor
746f129bfe
Fix `ImageDrawRectangleRec` ( #3721 )
1 year ago
Hongyu Ouyang
64ba5cb570
Update a comment ( #3724 )
1 year ago
Tim Romero
2c124c96df
[rtext] Adjust font atlas area calculation so padding area is not underestimated at small font sizes. ( #3719 )
1 year ago
Alice Nyaa
be0ea89f83
Simplified for loop for some image manip functions ( #3712 )
1 year ago
Ray
a4dc325a0c
Reviewed Makefile SDL2 expected include/lib paths #3705
1 year ago
Ray
b4cb0f3e7d
REVIEWED: `LoadImageAnimFromMemory()` #3704
1 year ago
Ray
c95b71d40d
Update raudio.c
1 year ago
ubkp
19bdcedf1c
Hide unused warnings from stb_image_resize2.h ( #3708 )
1 year ago
Ray
3f1e59a7cf
Update copyright to 2024
1 year ago
Ray
1f3121d2fa
Revert "Update raylib.h"
This reverts commit 7ea6adb29e
.
1 year ago
ubkp
fd5e1e6afb
[rtextures] Fix `LoadImageAnimFromMemory()` warning for `fileData` ( #3686 )
* Fix LoadImageAnimFromMemory() warning for fileData
* Add LoadImageAnimFromMemory() to raylib.h
* Fix missing ; on previous commit
1 year ago
ubkp
5b5a2d035d
Fix TextReplace warning for const ( #3687 )
1 year ago
Ray
7ea6adb29e
Update raylib.h
1 year ago
IoIxD
3fc43c1096
LoadImageAnimFromMemory ( #3681 )
1 year ago
maverikou
7cfdf33ff0
TextReplace const correctness ( #3678 )
* TextReplace const correctness
* cleanup
1 year ago
ubkp
43b4f90eb7
Fix SUPPORT_WINMM_HIGHRES_TIMER for PLATFORM_DESKTOP_SDL ( #3679 )
1 year ago
WisonYe
1727ddb9ea
[ fix-crash-caused-by-zig-build ] - Fixed 'Illegal instruction' crash on 'rtextures' and 'raudio' model that caused by zig build. ( #3682 )
1 year ago
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
1 year ago
Ray
e039a221a3
Review formating
1 year ago
Antonis Geralis
7ca95512d8
Review UnloadAutomationEventList ( #3658 )
* Review UnloadAutomationEventList
* Update raylib.h
* Update rcore.c
* Update core_automation_events.c
* Fix mistake
1 year ago
Ray
efe3510a9a
REVIEWED: SDL text input to Unicode codepoints #3650
REVIEWED: GLFW naming conventions to reflect codepoints reading
1 year ago
Ray
1792bce292
REVIEWED: `LoadTextureCubemap()`, added `mipmaps` #3665
1 year ago
Ray
68b6c79c3f
Update rlgl.h
1 year ago
Ray
2fe68a8a12
REVIEWED PR deferred render
1 year ago
Jett
e71153258b
fix for deferred rendering example. ( #3655 )
* fix for deferred rendering example.
* missed defines to build.
1 year ago
Cinghy Creations
57a5ebe6c6
Don't use a separate thread when polling for gamepad events on DRM platforms ( #3641 )
1 year ago
kolunmi
8b5943d930
[rmodels] Set cgltf callbacks to use `LoadFileData()` and `UnloadFileData()` ( #3652 )
1 year ago
ubkp
9fcfc8d64b
[rcore] Fix `ShowCursor()`, `HideCursor()` and review `SetMouseCursor()` for `PLATFORM_WEB` ( #3647 )
* Fix ShowCursor(), HideCursor() and review SetMouseCursor() for PLATFORM_WEB
* Add static to cursorLUT[]
* Re-review SetMouseCursor()
1 year ago
ubkp
2487174b48
Fix CORE.Input.Mouse.cursorHidden with callbacks for PLATFORM_WEB ( #3644 )
1 year ago
ubkp
0df78d4eeb
Fix fullscreen known issue 1 for PLATFORM_WEB ( #3642 )
1 year ago
Ray
f3adde8bbd
REVIEWED: `DrawSplineLinear()` to `SUPPORT_SPLINE_MITERS`
1 year ago
Toctave
0fc1765ff3
Implement miters in DrawSplineLinear ( #3585 )
* Implement miters in DrawSplineLinear
* Follow raylib style
1 year ago
Dongkun Lee
9de79861ea
BM Font Extender ( #3536 )
* loadbmfont
* bmfontextender
* bm font
* Modify LoadBM Font
* Delete loadbmfontex.diff
* REVIEWED: `LoadBMFont()` PR
* Update rtext.c
* Update rtext.c
---------
Co-authored-by: Dongkun Lee <hope81dklee@outlook.com>
Co-authored-by: Ray <raysan5@gmail.com>
1 year ago
ubkp
e001f7e75e
Add ToggleFullscreen() and required changes for PLATFORM_WEB ( #3634 )
1 year ago
ubkp
489f0b93f9
[rcore] Add `GetWindowPosition()` implementation for `PLATFORM_WEB` and fixes #3636 style/format ( #3637 )
* Add GetWindowPosition() implementation for PLATFORM_WEB and fixes #3636 style/format
* Remove double space
1 year ago
ubkp
10c82595b0
Add GetMonitorWidth() and GetMonitorHeight() implementations for PLATFORM_WEB ( #3636 )
1 year ago
Ray
38626dcffd
REVIEWED: HighDPI support on Web platform #3372 -WIP-
NOTE: The code is commented until the build system gets updated to latest emscripten.
1 year ago
Ray
88db11fda4
Update rtextures.c
1 year ago
Matthew Oros
cec2261e96
[rcore] Flip VR screens ( #3633 )
1 year ago
Matthew Oros
387506faab
[rcore] Remove unused vScreenCenter ( #3632 )
1 year ago
Romash
222f6f7877
Fix box blur symmetry & simplify code ( #3631 )
1 year ago