summaryrefslogtreecommitdiffhomepage
path: root/src/rcore.c
AgeCommit message (Collapse)Author
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-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-09tweaksRay
2024-05-29ADDED: `IsFileNameValid()`Ray
2024-05-07make RGFW a custom platform (#3941)Colleague Riley
* fix minor bugs and errors (x86) for the RGFW platform, update RGFW platform license, update makefile info for RGFW platform * revert * (RGFW) (winapi) fix mouse hide bug when cursor changes * ensure PLATFORM_SHELL is defined (PLATFORM_RGFW) --------- Co-authored-by: ColleagueRiley <[email protected]>
2024-04-23WARNING: Fix breaking issue (introduced some days ago)Ray
2024-04-23Add rlCullDistance variables/getters and rlSetClipPlanes function (#3912)KotzaBoss
The `RL_CULL_DISTANCE_` definition remains as the initial value of the variables. Basic usage can be: ```c #include <raylib.h> #include <rlgl.h> rlSetClipPlanes(RL_CULL_DISTANCE_NEAR, MY_CULL_DISTANCE_FAR); if (must_reset_clip_planes) rlSetClipPlanes(RL_CULL_DISTANCE_NEAR, RL_CULL_DISTANCE_FAR); ```
2024-04-21Review formattingRay
2024-04-20REVIEWED: Remove final punctuation in code commentsRay
2024-04-20Code gardeningRay
- Review formatting - Improve readability for some functions result return - Minimize early returns - Align LoadFileData() to UnloadFileData()
2024-04-03REVIEWED: `GetScreenToWorldRayEx()`Ray
2024-04-03Fix framerate recording for .gifs (#3894)Rob Loach
2024-04-02Remove trailing spacesRay
2024-03-21Update rcore.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-02-24Gamepad rumble support with SDL2 (#3819)GideonSerf
* Added gamepad rumble to rcore_desktop.c and rcore_desktop_sdl.c Still need to add to the rest of the platforms. * Add SetGamepadVibration warnings to unimplemented platforms. * Added MAX_GAMEPAD_VIBRATION_TIME The rumble in SDL2 will continue for MAX_GAMEPAD_VIBRATION_TIME unless the user cancels it with a call to SetGamepadVibration(0.0f,0.0f,0.0f) * Cast float duration value to Uint 32 * Changed defines from int to float and fixed typo --------- Co-authored-by: Gideon Serfontein <[email protected]>
2024-02-18Remove some unneeded line breaksRay
2024-02-13Minor tweaks to avoid some CodeQL warningsRay
2024-02-10Fix warnings in raylib (#3793)Jeffery Myers
2024-02-04Added viewport independent raycast (#3709)Luís Almeida
* added viewport independent raycast * Renamed GetMouseRayEx to GetViewRay
2024-02-04Review formating and some defines naming consistencyRay
2024-02-04[rcore] Fix `GetFileNameWithoutExt()` (#3771)oblerion
* Update rcore.c fix [rcore] GetFileNameWithoutExt * Update rcore.c * Update rcore.c * Update rcore.c * Update rcore.c * Update rcore.c * Update rcore.c * Update rcore.c * Update rcore.c * Update rcore.c * Update rcore.c * Update rcore.c
2024-01-29Review PR #3746 formatingRay
2024-01-29[CORE,RLGL] Fix scale issues when ending a mode (#3746)Jeffery Myers
* Only restore GL scale back to screen scale if we are returning to a screen, not a render texture. * blankspace * reset back to default screen scale when ending a render texture since we are back on the default fbo
2024-01-20[rcore rglfw] Feature Test Macros before include (#3737)John
Move/Add Feature Test Macros before any includes. See: [GNU Feature Test Macros](https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html) > You should define these macros by using ‘#define’ preprocessor directives at the top of your source code files. These directives must come before any #include of a system header file. It is best to make them the very first thing in the file, preceded only by comments. Alternative changes to rcore would be to change _POSIX_C_SOURCE to 200809L, which removes the need to define _XOPEN_SOURCE >= 500. These changes allow for compilation with -std=c* (such as -std=c99) without adding -D macros to the build step. Co-authored-by: JayLCypher <[email protected]>
2024-01-11Update a comment (#3724)Hongyu Ouyang
2024-01-02Update copyright to 2024Ray
2023-12-23Review UnloadAutomationEventList (#3658)Antonis Geralis
* Review UnloadAutomationEventList * Update raylib.h * Update rcore.c * Update core_automation_events.c * Fix mistake
2023-12-13[rcore] Flip VR screens (#3633)Matthew Oros
2023-11-21Update rcore.cRay
2023-11-13Update rcore.cRay
2023-11-12REVIEWED: `TakeScreenshot()`, potential issuesRay
2023-11-11Fix automation recording (#3523)ubkp
2023-11-10Format tweaksRay
2023-11-09WindowShouldClose(), reset shouldClose flag when window is inited (#3518)maksut
2023-11-09REVIEWED: `BeginScissorMode()` #3510Ray
2023-11-08Update rcore.cRay
2023-11-06Fix warnings in visual studio (#3512)Jeffery Myers
2023-11-06REVIEWED: `ScanDirectoryFiles*()`- Paths building slashes sides #3507Ray
2023-11-06REVIEWED: Scissor mode to support RenderTexture #3510Ray
2023-11-06BeginScissorMode checks for render texture to avoid using GetWindowScaleDPI ↵gulrak
(#3510)
2023-11-06ADDED: Flag to know we are rendering to texture #3510Ray
2023-11-03Update rcore.cRay
2023-11-03ADDED: `LoadRandomSequence()`/`UnloadRandomSequence()`Ray
2023-11-03Fixed Issue 3504 (#3505)AndreaBoroni
2023-11-02Comments tweaksRay
2023-11-01REVIEWED: Potential code issues reported by CodeQL #3476Ray
2023-10-31Remove trailing spacesRay
2023-10-30Minor tweaksRay