summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2024-04-20Code gardeningRay
- Review formatting - Improve readability for some functions result return - Minimize early returns - Align LoadFileData() to UnloadFileData()
2024-04-20Added security checks #3924Ray
2024-04-19Review code formatingRay
2024-04-19Update rtext.cRay
2024-04-19Disable some font formats supportRay
2024-04-19Fix window not initializing on primary monitor on GLFW backend (#3923)Rafael Bordoni
The way the current code worked was by calling `GetCurrentMonitor()`, which would always return the monitor at position (0,0). This isn't the primary monitor on all platforms, on Linux in particular it isn't the case. This isn't the case on the SDL backend, after calling `InitWindow()` the window would always show up on the primary monitor. Even on the GLFW backend, if the full screen flag was set it would attempt to put it on the primary monitor as it would call `glfwGetPrimaryMonitor()` to do it, so for consistency's sake we should do it on windowed mode too.
2024-04-19Revert "Build specific example using -DBUILD_EXAMPLE cmake flag (#3921)" (#3922)Benji
This reverts commit c1fd98591d7996dd45a5ce9ecbb4b571607d417b.
2024-04-17Build specific example using -DBUILD_EXAMPLE cmake flag (#3921)Benji
2024-04-17FIX: #3918Ray
2024-04-17Update corrupted-header sounds #3554Ray
2024-04-17Replaced SQUAD quat interpolation with cubic hermite to align with gltf 2.0 ↵Benji
spec (#3920)
2024-04-15Fix GetKeyPressed for PLATFORM_DESKTOP_SDL (#3869)Arthur
The key handling in PLATFORM_DESKTOP_SDL was faulty in two ways, which led to GetKeyPressed returning incorrect data. CORE.Input.Keyboard.keyPressedQueue was updated only on SDL_TEXTINPUT, meaning only text characters were registered as a pressed key, but not function keys (eg. tab, backspace...). Also on such event, both CORE.Input.Keyboard.keyPressedQueue and CORE.Input.Keyboard.charPressedQueue were assigned the key's corresponding codepoint, when CORE.Input.Keyboard.keyPressedQueue should get the raylib keycode instead. CORE.Input.Keyboard.keyPressedQueue is now updated on SDL_KEYDOWN event instead. Co-authored-by: Arthur <[email protected]>
2024-04-15Added missing interpolation types for GLTF animation channels (#3919)Benji
2024-04-14Reset music.ctxType if loading wasn't succesful (#3917)veins1
Fixes some crashes, e.g. calling StopMusicStream after trying to load Music from a non-existant .mp3 file
2024-04-13Fix FileNotFound: .../src/raylib.h (#3915)Dylan
2024-04-13[build.zig] Fix local dependency breakage (#3913)freakmangd
* fix local dependency breakage * revert accidental change in include path
2024-04-13Changed RLGL_VERSION from "4.5" to "5.0 (#3914)Mute
Line 110 of file rlgl.h is the one in question.
2024-04-10Update to latest zig and simplify build.zig (#3905)freakmangd
* update to latest zig, and don't use srcdir * preserve compatibility, simplify Child.run compatibility
2024-04-10Update shaders_hybrid_render.c (#3908)Yousif
Fix typo
2024-04-10Update rcore_android.c (#3910)Aria
add gamepad previous button state tracking to Android
2024-04-08REVIEWED: Window positioning, avoid out-of-screen window-barRay
2024-04-07Update raylib-zig version (#3902)Nikolas
2024-04-07Update Makefile RAYLIB_VERSION (#3901)Belllg
Changed the raylib version from 4.2.0 to 5.1-dev, just like the raylib.h file
2024-04-07Remove broken-link bindings #3899Ray
2024-04-07Update cgltf.hRay
2024-04-06Remove redundant axis length calculation (#3900)jtainer
2024-04-05Fix #3891 breaking builds for Zig v0.11.0 (#3896)iarkn
The changes brought by #3891 uses `std.process.Child.run` which was renamed from `std.process.Child.exec` in Zig version 0.11.0. This commit adds a version check to use the appropriate function names. Additionally, the `linux_display_backend` configuration option is added so users can set it when running `zig build` with the `-D` option or when using raylib as a dependency.
2024-04-04Update raylib.hRay
2024-04-03Update raylib_api.* by CIgithub-actions[bot]
2024-04-03REVIEWED: `GetScreenToWorldRayEx()`Ray
2024-04-03Fix framerate recording for .gifs (#3894)Rob Loach
2024-04-02Remove TABSRay
2024-04-02Remove trailing spacesRay
2024-04-01Update raylib_api.* by CIgithub-actions[bot]
2024-04-01Merge branch 'master' of https://github.com/raysan5/raylibRay
2024-04-01Address parsing issue when generating XML #3893Ray
2024-03-30Fixes zig build that was broken on #3863 (#3891)Nikolas Mauropoulos
* Fixes zig build that was broken on #3863 * Make this work with wayland
2024-03-29Update raylib_api.* by CIgithub-actions[bot]
2024-03-29Fixing gamepad buttons not working in drm backend (#3888)MrMugame
* Fixing gamepad buttons in drm backend * Remove trailing spaces * Axis enumeration now works properly
2024-03-28Update rcore_drm.cRay
2024-03-28Organizing the drm backend to only use one api to allow for more devices (#3879)MrMugame
* Updating rcore_drm.c to only use one api for input * Change RPI log prefix to DRM * Remove relative checking which is not supported currently * Loop should continue on invalid event in drm backend * Fixed and cleaned up PollKeyboardEvents() in drm backend
2024-03-26[rtextures] Fix LoadImageFromScreen scaling (#3881)proberge-dev
2024-03-21Merge branch 'master' of https://github.com/raysan5/raylibRay
2024-03-21Update rcore.cRay
2024-03-18Remove redundant rlDisableVertexAttribute for SHADER_LOC_VERTEX_COLOR (#3871)Kacper Zybała
2024-03-18Update rcore_desktop.cRay
2024-03-18Put GLFW in relative mouse mode when the cursor is disabled. (#3874)Jeffery Myers
2024-03-18Fix #3876 and also `rlgl` review on #3783Ray
2024-03-18Fix #3876 and also `rlgl` review on #3783Ray
2024-03-14Fix GLFW runtime platform detection (#3863)Alexandre Almeida
* Fix GLFW runtime platform detection * Add libwayland-dev package to workflows * Add libxkbcommon-dev package to workflows * Add libwayland-bin package to codeql.yml * Add libwayland-client0 and libwayland-cursor0 packages to codeql.yml * Use libwayland-dev in codeql.yml * Add libxkbcommon-dev to codeql.yml * Remove libwayland-bin from linux.yml and linux_examples.yml (libwayland-dev includes it as a dependency) --------- Co-authored-by: Ray <[email protected]>