summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2024-07-16Removes the redundant USE_AUDIO flag (#4158)Lázaro Albuquerque
2024-07-16Adding GetKeyName(int key) (WIP) (#4161)MrScautHD
2024-07-13Fix crash when switching playback device (#4102)jkaup
Co-authored-by: jj <[email protected]>
2024-07-11Replace `glGetInteger64v` with `glGetBufferParameteri64v` (#4154)Kai Kitagawa-Jones
2024-07-11[build.zig] GLFW Platform Detection Support (#4150)InventorXtreme
* Zig Both Linux Desktop Platform Support * Formating and Default Fix Made formating fit within raylib standards and changed the default option to support both X11 and wayland on Linux. * caught one hiding tab
2024-07-09[Shapes] Remove duplicate color calls in DrawGrid (#4148)Jeffery Myers
* Update raylib_api.* by CI * No need to call the color 4 times in a row, it's batched --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-09`WindowSizeCallback()` should not try to handle DPI since already managed by ↵SuperUserNameMan
GLFW (#4143) If `FLAG_WINDOW_HIGHDPI` is set, `InitPlatform()` will aks GLFW to handle resize window content area based on the monitor content scale using : ` glfwWindowHint(GLFW_SCALE_TO_MONITOR, GLFW_TRUE); ` So `WindowSizeCallback()` does not have to handle it a second time.
2024-07-09REVIEWED: Code formatting to follow raylib conventionsRay
2024-07-09update RGFW to RGFW 1.0 (#4144)Colleague Riley
* update RGFW * fix bug with GetCurrentMonitor
2024-07-08Minor tweaksRay
2024-07-08Add workaround for NetBSD (#4139)NishiOwO
2024-07-07Update rmodels.cRay
2024-07-07REVIEWED: Direction must be normalized #4131Ray
2024-07-07[rmodels] Consistent `DrawBillboardPro` with `DrawTexturePro` (#4132)bohonghuang
* [rmodels] Re-implement `DrawBillboardPro` * [rmodels] Add comments to `DrawBillboardPro` * [rmodels] Make `DrawBillboardPro` consistent with `DrawTexturePro` * Update raylib_api.* by CI --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-07REVIEWED: `CheckCollisionPointRec()`Ray
2024-07-07[rshapes] Give CheckCollisionPointCircle() its own implementation (#4135)kai-z99
* remove function call * fix
2024-07-04Update rlgl.hRay
2024-07-04Change SDL_Joystick to SDL_GameController (#4129)Frank Kartheuser
With SDL_Joystick my game controller wasn't working properly. That's why I changed it to SDL_GameController.
2024-07-01[CORE] Fix MSVC warnings/errors and raymath.h in C++ (#4125)Jeffery Myers
* Update raylib_api.* by CI * Fix MSVC warnings. Make raymath.h work in C++ in MSVC * whitespace cleanup --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-07-01WARNING: UPDATE: Starting works on `raylib 5.5` releaseRay
2024-07-01Reverted memory allocators additional checksRay
2024-07-01WARNING: BREAKING: Renamed `PLATFORM_DESKTOP` to `PLATFORM_DESKTOP_GLFW`Ray
This could potentially be a breaking change, for consistency, now every possible desktop backend has the proper name assigned: GLFW, SDL, RGFW raylib build system has been reviewed to fallback to `PLATFORM_DESKTOP_GLFW` by default when `PLATFORM_DESKTOP` defined
2024-07-01WARNING: TEST: Security check to address potential overflow cocernsRay
2024-07-01Merge branch 'master' of https://github.com/raysan5/raylibRay
2024-07-01Minor tweaksRay
2024-07-01[rtextures] advance k in LoadImageColors (#4120)Bruno Cabral
Some formats are not advancing k to get pixels values
2024-07-01[build.zig] Make emscripten build compatible with Zig 0.13.0 (#4121)Mike Will
2024-07-01Update Storage base path, use provided SDL base pathRay
2024-06-30REVIEWED: Formatting, follow raylib coding conventionsRay
2024-06-30REVIEWED: `DrawSphereEx()`, added educational infoRay
2024-06-30[rmodels] `DrawSphereEx()` optimization (#4106)smalltimewizard
* Optimize DrawSphereEx() Precalculates sin/cos to eliminate unnecessary calls. * Formatting correction to previous commit * Bugfix to optimized DrawSphereEx() OBO error -- added 1 additional precalculated cos/sin value to each array to complete the 360-degree wraparound. Technically the value of these last elements will always be the same as the first element due to 360-degree wraparound, but this is the simplest solution. * Corrected missing free() * Formatting correction * New DrawSphereEx() algorithm
2024-06-30REVIEWED: Formatting, follow raylib coding conventionsRay
2024-06-30[rtextures] Created `ImageFromChannel()` (#4105)Bruno Cabral
* created ImageFromChannel Adds the possibility to extract a specific channel from an image * naming convention * example window height * removed threshold * removed alpha channel * channel example organization * updated channel example image
2024-06-30[rmodels] Return true if no need to interpolate to avoid log flooding (#4118)VitoTringolo
2024-06-28rmodels.c, `LoadImageFromCgltfImage()` : fix base64 padding support (#4112)SuperUserNameMan
* rmodels.c, LoadImageFromCgltfImage() : fix base64 padding support This should fix the issue related to `.gltf` embeded image in base64 format, by ignoring `=` padding and calculating the data size in bytes correctly. * follow guidelin convention * try to follow guideline convention as much as possible * clarify comments i hope it's clear ennough
2024-06-28Update RGFW and replace long switch in rcore_desktop_rgfw.c with a lookup ↵Colleague Riley
table (#4108) * Fix Makefile issues (RGFW) (linux) (macOS) * Do not use nanosleep on windows at all (PLATFORM_DESKTOP_RGFW) * remove #define RGFWDEF and make the #undefs only happen for their OS * Update RGFW.h * fix to match the RGFW updates * remove line that shows the cursor for no reason * Update RGFW, replace long switch with an array, update rgfw platform for RGFW * update RGFW (fix reported glitch with drag and drop files) (linux) * remove u16
2024-06-28Fix GLTF animations (#4107)VitoTringolo
Co-authored-by: Vito Tringolo <[email protected]>
2024-06-27[build.zig] pass the real build.zig file (#4113)InKryption
`@This()` was naively passed to `dependencyFromBuildZig` while inside a file that is not actually the build file, causing a panic when actually used. Passing `@import("../build.zig")` fixes this.
2024-06-27[build.zig] Leverage `dependencyFromBuildZig` (#4109)InKryption
2024-06-25[web] Fix undesired scrollbars on shell files (#4104)jspast
2024-06-25WARNING: REMOVED: Default font fallbackRay
2024-06-25Update rshapes.cRay
2024-06-25[rtext] Don't return default font if LoadFontEx fails (#4077)Peter0x44
It is currently impossible to check a font loaded successfully with IsFontReady because LoadFontEx will always return a valid font. DrawTextEx has this check: if (font.texture.id == 0) font = GetFontDefault(); // Security check in case of not valid font So anyone relying on the default font as a fallback for fonts failing to load should still be covered.
2024-06-25REVIEWED: `DrawLine()` #4075Ray
2024-06-24Minor tweaksRay
2024-06-24[Build] Fix warnings when building in VS 2022 (#4095)Jeffery Myers
* Update raylib_api.* by CI * Fix warnings when building examples in MSVC 2022 * fix auto-format that sneaked in there. --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-06-24[rmodels] Fix -Wstringop-truncation warning (#4096)Peter0x44
rmodels.c: In function ‘LoadBoneInfoGLTF.isra’: rmodels.c:4874:32: warning: ‘strncpy’ specified bound 32 equals destination size [-Wstringop-truncation] 4874 | if (node.name != NULL) strncpy(bones[i].name, node.name, sizeof(bones[i].name)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2024-06-24[rtextures] Adding `ImageDrawLineEx` function (#4097)Le Juez Victor
* adding `ImageDrawLineEx` function also review other functions for drawing lines in images * fix `ImageDrawLineV`
2024-06-23[rtextures] Adding triangle drawing function for images (#4094)Le Juez Victor
* adding triangle drawing function for images * remove unnecessary check * fix an iteration mistake
2024-06-23LoadIQM() set model.meshMaterial[] (#4092)SuperUserNameMan