summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2022-08-28Reviewed GLFW compilation requirements on Linux: `_GNU_SOURCE`Ray
Reasons to NOT define `_GNU_SOURCE`: - access to lots of nonstandard GNU/Linux extension functions - access to traditional functions which were omitted from the POSIX standard (often for good reason, such as being replaced with better alternatives, or being tied to particular legacy implementations) - access to low-level functions that cannot be portable, but that you sometimes need for implementing system utilities like mount, ifconfig, etc. - broken behavior for lots of POSIX-specified functions, where the GNU folks disagreed with the standards committee on how the functions should behave and decided to do their own thing.
2022-08-28Update MakefileRay
2022-08-28Reviewed GLFW issue with `ppoll()` functionRay
2022-08-28Avoid error on `implicit-function-declaration`Ray
2022-08-28Update posix_poll.cRay
2022-08-28Update rglfw.cRay
2022-08-28WARNING: UPDATED GLFW to latest master branch!Ray
WARNING: This could be a BREAKING CHANGE for some platforms! I'm afraid something could be wrong on `rglfw.c` module. To be able to compile on Windows I had to modify `glfw/src/platform.c` line 74. I couldn't manage to compile without that change, help is welcome!
2022-08-26REVIEWED: Support M3D file loading #2648Ray
2022-08-22ADDED: `-latomic` library on Linux (only required for ARM32)Ray
This linkage is only required for arm 32bit but I don't know how to detect that specific architecture in the Makefile...
2022-08-22REVIEWED: M3D implementation #2648Ray
2022-08-21Fix PATH for Web target (#2647)Rodrigo Escar
2022-08-21Win32: resolve some symbols re-definition of windows.h in glfw3native.h (#2643)Daijiro Fukuda
* Win32: resolve some symbols re-definition of windows.h in glfw3native.h This reflects GLFW's fix: https://github.com/glfw/glfw/issues/1348 This enables to build with a external GLFW containing the following fix: * https://github.com/glfw/glfw/commit/05f6c13d119ea2662c97527d2421fb4cffd3dbfc Currently, glfw3native.h of the internal GLFW is customized at https://github.com/raysan5/raylib/commit/2feea87b616292b5bce4454a42c2d048f1cce7d8 This fix is compatible with the current customized glfw3native.h. This fix enables us to update it to the latest and remove the customization. * Win32: remove unneeded typedef
2022-08-20ADDED: Support M3D model file format (meshes and materials) #2648Ray
2022-08-18REVIEWED: Avoid crash on bad data providedRay
2022-08-18minor tweakRay
2022-08-17REVIEW: Fix issue with external GLFW missing define #2638Ray
2022-08-13P A I NRay
2022-08-13WARNING: REVIEWED: `rlCheckRenderBatchLimit()`Ray
2022-08-13minor tweaksRay
2022-08-13Fix string lacking null termination in IsFileExtension (#2637)HarriP
When file extension is longer or equal length compared to buffer holding lowercased string, strncpy does not null terminate the string. Increased buffer size by 1 to ensure it will always be null-terminated, so that following strcmp does not read out of buffer bounds.
2022-08-13Fix Codepoint position truncation (#2636)Dan Bechard
This truncation causes text that spans the zero coord boundary to round differently left or zero vs. right of zero, in turn causing letters to appear squished together. If you actually need the position to be an integer, you should instead `floorf()` the float, rather than doing an integer truncation, but I don't see any reason to convert it to an integer in the first place. Everything else in the equation is a float.
2022-08-07Reviewed issue with negative key #2619Ray
2022-08-06Can't alt-tab out of fullscreen window (#2618)veins1
2022-08-05Added commentsRay
2022-08-05Small simplifications (#2615)veins1
2022-08-05GetMusicTimePlayed bug fix (#2614)veins1
GetMusicTimePlayed() was calculated using buffered frames, not played frames. For example: calling LoadMusicStream->UpdateMusicStream->GetMusicTimePlayed would return non-zero value, even though no music was playing.
2022-08-02Update cgltf.hRay
2022-08-02Update miniaudio.hRay
2022-08-02REMOVED: rmem library from raylib sourcesRay
Moved to own repo: https://github.com/raylib-extras/rmem
2022-08-02Update rlgl.hRay
2022-08-02Remove `easings.h` from raylib/src, moved to examplesRay
2022-08-02REVIEWED: `GetMouseWheelMove()`, avoid move scaling on `PLATFORM_WEB`Ray
Tested with latest emscripten 3.1.18
2022-08-02Updated raylib resource data (32bit)Ray
2022-08-02minor tweaksRay
2022-08-02Added note for multi-threading web compilationRay
2022-08-02Update versionRay
2022-08-02Update version to 4.2Ray
2022-08-02Update version to raylib 4.2Ray
2022-08-02Remove trailing spacesRay
2022-08-01Music doesn't stop looping fix (#2605)veins1
This PR fixes a bug when music.looping is set to false but the music continues looping. Also using proper functions to seek to start of an audio file. Removed old comment.
2022-08-01Avoid cleaning the front buffer to a specific color!Ray
ISSUE: Front buffer and backbuffer have different clear colors, if no `ClearBackground()` is called by user, there is screen flickering on buffers swap. It's up to the user to call `ClearBackground()` if desired
2022-08-01Merge branch 'master' of https://github.com/raysan5/raylibRay
2022-08-01REMOVED: Config option: `SUPPORT_MOUSE_CURSOR_POINT`Ray
2022-07-31Use American spelling of colourSpace (#2604)BlueStag
2022-07-29Audio looping fix (#2579)veins1
* WAVs looping fix. But broke other formats looping * Fix audio looping issue * Follow raylib formatting * Cast void* to char* to make MSVC compiler happy Co-authored-by: Ray <[email protected]>
2022-07-29Merge branch 'master' of https://github.com/raysan5/raylibRay
2022-07-29REVIEWED: `GenImageFontAtlas()` #2556Ray
Just reviewed font atlas size estimation, now it considers `fontSize` instead of `chars[i].image.height`, increasing considerably the atlas size estimation.
2022-07-29[raymath] Rotation functions returns clockwise rotation matrix, #2595 (#2599)Nikolay Krasheninnikov
Co-authored-by: Nikolai Krasheninnikov <[email protected]>
2022-07-29Some camera improvements #2563Ray
Reviewed some camera functionality: - Reviewed camera swinging (up-down movement) - Reviewed camera tilting (left-right movement) - Make movement independent of frame-rate - removed unneeded variables NOTE: Camera rotation has some speed issues on first person when fixed 60 fps are used: it moves too fast. Independent framerate movement is not properly implemented.
2022-07-29Review comments and parameter namesRay