summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
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 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 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-03REVIEWED: `GetScreenToWorldRayEx()`Ray
2024-04-03Fix framerate recording for .gifs (#3894)Rob Loach
2024-04-02Remove TABSRay
2024-04-02Remove trailing spacesRay
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-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]>
2024-03-09Implement IsCursorOnScreen for PLATFORM_DESKTOP_SDL (#3862)Peter0x44
I did some testing and this seems to work okay, but it *is* different to GLFW. GLFW seems to lose "IsCursorOnScreen" for one frame upon pressing alt+tab over the window, without a different window covering it. SDL seems to have a more reasonable behavior for this case. Either way it's an edge case and I don't know the exact way to fix, likely requires internal GLFW changes.
2024-03-07Update rmodels.cRay
2024-03-07REVIEWED: GetMouseRay() functions rename #3830Ray
2024-03-07Screen space related functions consistency (#3830)aiafrasinei
* Screen/world-space related functions rename * Update raylib_api.* by CI --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-07Implemented fix for #3859Ray
2024-03-07Merge branch 'master' of https://github.com/raysan5/raylibRay
2024-03-07Update raylib.hRay
2024-03-01Fix fix-build-paths (#3849)Caleb Barger
2024-03-01Remove GLFW mouse passthrough hack and increase GLFW version in CMake (#3852)Alexandre Almeida
2024-02-29Review formattingRay
2024-02-29ADDED: New function `ColorIsEqual()`Ray
2024-02-29Fix SDL multitouch tracking (#3810)mooff
The fingerId from SDL was used as an index into the CORE.Input.Touch arrays, but it's an opaque / arbitrary int64, way bigger than MAX_TOUCH_POINTS, so the first non-simulated touch event would segfault.
2024-02-29Update GLFW to 3.4 (#3827)Alexandre Almeida
* Update GLFW to 3.4 (draft) * Add _glfwConnectNull() function to rglfw.c * Update rglfw.c * Update Makefile * Makefile: Replace USE_WAYLAND_DISPLAY with DISABLE_WAYLAND * Revert "Makefile: Replace USE_WAYLAND_DISPLAY with DISABLE_WAYLAND" This reverts commit 9e79abde786bf797d8133fd95e8a475cf6e2b066. * GlfwImport.cmake: Replace GLFW_USE_WAYLAND with GLFW_BUILD_WAYLAND * Update rglfw.c * Output platform selected by GLFW to TRACELOG * GLFW has removed Mir support
2024-02-29feat: vox_loader normals and new voxels shader (#3843)johann nadalutti
2024-02-28Update rtextures.cRay
2024-02-27Change sanitization check for `ExportDataAsCode` (#3837)Laurentino Luna
* Change sanitization check for `ExportDataAsCode` I opted to use `isalnum` function since it should handle most cases. It cannot however handle cases of files beginning with numbers. * Update `ExportDataAsCode` condition * Reinsert comment on `ExportDataAsCode`
2024-02-26fix build paths (#3835)Steve Biedermann
2024-02-26Added note #3822Ray