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
Alice Nyaa
be0ea89f83
Simplified for loop for some image manip functions ( #3712 )
2024-01-06 19:41:43 +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
ubkp
19bdcedf1c
Hide unused warnings from stb_image_resize2.h ( #3708 )
2024-01-05 22:22:58 +01:00
Ray
3f1e59a7cf
Update copyright to 2024
2024-01-02 20:58:12 +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
e039a221a3
Review formating
2023-12-23 14:07:45 +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
Ray
68b6c79c3f
Update rlgl.h
2023-12-20 01:03:52 +01:00
Ray
2fe68a8a12
REVIEWED PR deferred render
2023-12-20 00:51:51 +01:00
Jett
e71153258b
fix for deferred rendering example. ( #3655 )
...
* fix for deferred rendering example.
* missed defines to build.
2023-12-20 00:27:59 +01:00
Cinghy Creations
57a5ebe6c6
Don't use a separate thread when polling for gamepad events on DRM platforms ( #3641 )
2023-12-19 10:47:04 +01:00
kolunmi
8b5943d930
[rmodels] Set cgltf callbacks to use LoadFileData() and UnloadFileData() ( #3652 )
2023-12-19 10:38:57 +01:00
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()
2023-12-17 13:46:21 +01:00
ubkp
2487174b48
Fix CORE.Input.Mouse.cursorHidden with callbacks for PLATFORM_WEB ( #3644 )
2023-12-16 18:25:55 +01:00
ubkp
0df78d4eeb
Fix fullscreen known issue 1 for PLATFORM_WEB ( #3642 )
2023-12-16 18:22:02 +01:00
Ray
f3adde8bbd
REVIEWED: DrawSplineLinear() to SUPPORT_SPLINE_MITERS
2023-12-15 18:40:19 +01:00
Toctave
0fc1765ff3
Implement miters in DrawSplineLinear ( #3585 )
...
* Implement miters in DrawSplineLinear
* Follow raylib style
2023-12-15 18:34:34 +01:00
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>
2023-12-15 18:32:01 +01:00
ubkp
e001f7e75e
Add ToggleFullscreen() and required changes for PLATFORM_WEB ( #3634 )
2023-12-15 17:36:27 +01:00
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
2023-12-15 16:24:45 +01:00
ubkp
10c82595b0
Add GetMonitorWidth() and GetMonitorHeight() implementations for PLATFORM_WEB ( #3636 )
2023-12-14 20:55:33 +01:00
Ray
38626dcffd
REVIEWED: HighDPI support on Web platform #3372 -WIP-
...
NOTE: The code is commented until the build system gets updated to latest emscripten.
2023-12-14 15:32:53 +01:00
Ray
d29b36310f
Merge branch 'master' of https://github.com/raysan5/raylib
2023-12-14 15:32:45 +01:00
Ray
88db11fda4
Update rtextures.c
2023-12-14 15:30:48 +01:00
Matthew Oros
cec2261e96
[rcore] Flip VR screens ( #3633 )
2023-12-13 21:24:24 +01:00
Matthew Oros
387506faab
[rcore] Remove unused vScreenCenter ( #3632 )
2023-12-13 21:22:44 +01:00
Romash
222f6f7877
Fix box blur symmetry & simplify code ( #3631 )
2023-12-13 21:21:08 +01:00
Benjamin Schmid Ties
6083d2b9f3
fixed coding style in function TextToFloat ( #3627 )
...
* function to convert string to float
* fix code to match coding conventions
2023-12-13 21:20:13 +01:00
Ray
c5ebdb8ba7
REVIEWED: Issue in sequence generation #3612
2023-12-11 09:33:21 +01:00
Ray
6f3c87a999
Fix #3613
2023-12-11 09:21:30 +01:00
ubkp
a2e45239c3
[rcore] Complement SetWindowState() and ClearWindowState() for PLATFORM_WEB ( #3625 )
...
* Complement SetWindowState() and ClearWindowState() for PLATFORM_WEB
* Add FLAG_WINDOW_RESIZABLE to SetWindowState() and ClearWindowState() for PLATFORM_WEB
2023-12-11 09:11:42 +01:00
ubkp
39457ace2f
[rcore] Add ToggleBorderlessWindowed() implementation for PLATFORM_WEB ( #3622 )
...
* Add ToggleBorderlessWindowed() for PLATFORM_WEB
* Fix coding convention
2023-12-11 09:11:20 +01:00
ubkp
44eeda2475
Optimize gesture handling for PLATFORM_DRM ( #3616 )
2023-12-11 08:58:55 +01:00
ubkp
ed8a18ea64
[rcore] Fix real touch gestures for PLATFORM_DESKTOP_SDL ( #3614 )
...
* Fix touch gestures for PLATFORM_DESKTOP_SDL
* Complement note and optimization
* Events optimization
* Optimize gesture handling
* Reverts previous commit and fixes GESTURE_DRAG to not trigger GESTURE_SWIPE* when it ends
* Reapply previous gesture handling optimization also fixing GESTURE_DRAG to not trigger GESTURE_SWIPE* when it ends
2023-12-11 08:57:51 +01:00
David Williams
032cc497ca
Updating CMake version to 5.0 so libraries are correctly versioned ( #3615 )
2023-12-09 19:33:12 +01:00
ubkp
a9ba51aa72
[rcore] Fix IsMouseButtonUp() for PLATFORM_WEB and PLATFORM_DRM ( #3611 )
...
* Fix IsMouseButtonUp() for PLATFORM_WEB
* Fix IsMouseButtonUp() for PLATFORM_DRM
2023-12-07 19:53:27 +01:00
ubkp
ab9bddb3bd
[rcore] Fix IsMouseButtonUp() and add touch events for PLATFORM_DESKTOP_SDL ( #3610 )
...
* Fix IsMouseButtonUp() and add touch events for PLATFORM_DESKTOP_SDL
* Fix coding convention
2023-12-07 19:53:02 +01:00
Kenneth M
8b33d1eeb9
Fix IsMouseButtonUp() ( #3609 )
2023-12-07 19:50:36 +01:00
lesleyrs
6b93180130
Fix for free camera mode ( #3603 )
...
* fix free and fp cam
* revert
2023-12-07 19:49:49 +01:00
ubkp
d99617d084
[rcore] Fix IsKeyPressedRepeat() for PLATFORM_DESKTOP_SDL ( #3605 )
...
* Fix IsKeyPressedRepeat() for PLATFORM_DESKTOP_SDL
* Fix missing space
2023-12-07 19:47:58 +01:00
ubkp
984e83c2d0
Fix GetKeyPressed and GetCharPressed for SDL ( #3604 )
2023-12-05 10:02:48 +01:00
Ray
731b210f51
REVIEWED: WARNING: LoadFontData() avoid fallback glyphs
...
This is a redesign on font loading, missing glyphs are skipped instead of falling back to font `.notdef` special character (usually "tofu" character).
It is changed because not all fonts support a fallback glyph.
One improvement could be allowing users to define a custom fallback character, for example `?` glyph.
2023-12-04 17:32:55 +01:00
Ray
a016b4ded2
REVIEWED: LoadFontData(), load image only if glyph has been found in font
2023-12-03 20:17:16 +01:00
Ray
8a586249d7
Fix Wrong Makefile flag #3593
2023-12-03 20:16:19 +01:00
Ray
d0a783e362
Revert "Fix Windows Hardcoding ( #3600 )"
...
This reverts commit 4ae2af0bcc .
2023-12-03 20:08:48 +01:00
Ray
5aa84a34ea
Revert "Fix warning while using external GLFW older than version 3.4.0 ( #3599 )"
...
This reverts commit f1b0d15813 .
2023-12-03 20:06:34 +01:00
mr sihc
4ae2af0bcc
Fix Windows Hardcoding ( #3600 )
...
Compiles on Linux & co. now
2023-12-03 19:55:16 +01:00
Marco Maia
f1b0d15813
Fix warning while using external GLFW older than version 3.4.0 ( #3599 )
...
Co-authored-by: Marco Maia <marco.maia@iarasystems.com.br>
2023-12-03 19:53:52 +01:00
ubkp
0748dc2d1e
Remove a duplicated loop for PLATFORM_DRM ( #3590 )
2023-12-01 14:55:48 +01:00
Peter0x44
55e7d1aad1
Expose OpenGL take 2 ( #3588 )
...
For some reason, there are actually two macros needed to control this.
Yes, I tried with only one, both are needed
2023-11-30 22:43:02 +01:00
Peter0x44
ef5069862d
Fix mistake in pr #3572 ( #3587 )
2023-11-30 20:07:50 +01:00
Ray
e9ddb15d9d
REVIEWED: rlgl function description and comments
2023-11-30 19:04:38 +01:00
Ray
6b136fac67
ADDED: ExportMeshAsCode()
2023-11-30 13:01:19 +01:00
ubkp
e84099bfd4
Fix CheckCollisionCircleRec() ( #3584 )
2023-11-30 10:11:45 +01:00
ubkp
bd81bdc24a
Fix IsKeyPressedRepeat() for PLATFORM_DRM direct input ( #3583 )
2023-11-30 10:09:57 +01:00
Peter0x44
e7a486fa81
Hide unneeded internal symbols when building raylib as an so or dylib ( #3573 )
2023-11-28 20:43:45 +01:00
RadsammyT
fe53ba80dd
Fix typos in src/platforms/rcore_*.c ( #3581 )
2023-11-28 20:39:10 +01:00
ubkp
1906f1eddf
Fix SetMousePosition() for SDL ( #3580 )
2023-11-28 20:37:04 +01:00
ubkp
811abcb19f
Fix rcamera.h so mouse/keyboard and gamepad can coexist for input ( #3579 )
2023-11-27 16:36:09 +01:00
ubkp
c35c531551
Fix SetWindowIcon() for SDL ( #3578 )
2023-11-27 16:34:17 +01:00
Emmanuel Méra
fc4b0c9aec
Corrected the path of android ndk toolchains for OSX platforms ( #3574 )
2023-11-25 19:11:29 +01:00
Peter0x44
94aba23ef4
Expose glad functions when building raylib as a shared lib ( #3572 )
2023-11-24 00:41:44 +01:00
Steven Schveighoffer
b122270aa3
Fix version info in rlgl.h ( #3558 )
2023-11-21 22:47:52 +01:00
Ray
4dae94821b
Merge branch 'master' of https://github.com/raysan5/raylib
2023-11-21 00:15:06 +01:00
Ray
299cd9b830
Update rcore.c
2023-11-21 00:14:42 +01:00
Ray
994c4f4bdf
Update rcore_desktop_sdl.c
2023-11-20 23:21:04 +01:00
MrScautHD
0137efde7a
Expanding Possibilities: Integrating Additional glTF / GLB Data Formats for Enhanced 3D Experiences ( #3546 )
...
* Add more gltf data formats
* Fix forgot to save bone ids
* Fix misstake
* Fix code format
* Removed useless formats
2023-11-18 20:07:30 +01:00
Alexandre Almeida
f6de0358e1
Disable unused miniaudio features ( #3544 )
...
* Disable unused miniaudio features
* Fix mistakes
2023-11-18 20:06:19 +01:00
Karim
21469e92b0
Image convolution function ImageKernelConvolution ( #3528 )
...
* Added image convultion ImageKernelConvolution
* comment changes
* spelling changes and change to kernel size
* removed kernel normalization inside function
* fix to formating
2023-11-18 20:05:45 +01:00
_Tradam
e41a0c9721
fix for running gles2 with sdl on desktop ( #3542 )
2023-11-18 20:03:13 +01:00
Dennis E. Hamilton
f607cac267
Preparing for 5.1-dev ( #3550 )
...
Adjusting raylib.h to reflect post-5.0 changes now.
2023-11-18 20:01:02 +01:00
Ray
e84a420766
Update miniaudio to v0.11.21
2023-11-15 10:25:09 +01:00
ubkp
db70db5f4d
Fix missing keys on PLATFORM_DESKTOP_SDL ( #3539 )
2023-11-14 11:49:27 +01:00
Ray
5c79c5a2ec
Update rcore.c
2023-11-13 16:11:10 +01:00
ubkp
87f26c845c
Fix mouse button order for SDL ( #3534 )
2023-11-13 00:16:31 +01:00
Ray
4f67f5f159
REVIEWED: TakeScreenshot(), potential issues
2023-11-12 12:38:10 +01:00
Le Juez Victor
9099077075
[rlgl] Fixed return type of GetCompressedFormatName ( #3529 )
...
The return type of `GetCompressedFormatName` has been corrected from `char *` to `const char *`
2023-11-12 00:09:00 +01:00
Ray
1b88f2ec03
Review #3526
2023-11-11 20:53:36 +01:00
ubkp
9634c84e1c
Fix automation recording ( #3523 )
2023-11-11 16:06:23 +01:00
Ray
107ece438a
Reviewed duplicate lines
2023-11-10 19:48:47 +01:00
Ray
e4ea116857
Reviewing automation events on web...
2023-11-10 19:25:28 +01:00