summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2021-08-25UPDATED: raygui to latest version -WIP-Ray
Note this new raygui version embeds ricons and `GuiTextBoxMulti()` is not working properly
2021-08-24Fix tcc not finding emmintrin.h (#1947)Laurentino Luna
* Fix tcc not finding emmintrin.h This allows to compile raylib with tcc with no errors. * Remove __TINYC__ check from stb_image.h This will be placed under textures.c * Move tcc check to textures.c Avoiding to change stb_image.h
2021-08-24REVIEWED: Support mouse wheel on x-axis #1948raysan5
2021-08-22Added note on GLFW custom allocators for the futureRay
2021-08-22Minor tweak to avoid false error logsRay
2021-08-21REMOVED: Old function names definesRay
As far as next raylib version will be 4.0, no backward compatibility hacks will be maintained.
2021-08-20Updated raygui #1939Ray
2021-08-20add NULL check (#1925)atticus
2021-08-16Remove trailing spacesRay
2021-08-16Update rlgl.hRay
2021-08-16Update rlgl.hRay
2021-08-16Add some commentsRay
2021-08-16WARNING: BREAKING: Use `frameCount` on audioRay
This is a big change for optimization and a more professional understanding of audio. Instead of dealing with samples, now we deal with frames, like miniaudio does, so, avoiding continuous conversions from samples to frames.
2021-08-15Updated `RAYLIB_VERSION` to `4.0-dev`raysan5
Several breaking changes have been done lately so I think it's better to mark raylib for next release as 4.0.
2021-08-15REVIEWED: `extern "C"` definition position for consistencyraysan5
Note that `extern "C"` calling convention only affects objects that need to be seen by the linker, in our case only functions... but it would also be required by global variables exposed, if any.
2021-08-15Support C++ usage as standalone libraryraysan5
2021-08-15REVIEWED: `PHYSACDEF` definition and C++ issues #1918raysan5
2021-08-12[Models] Fix for issue #1809 (#1917)630Studios
* GenMeshTangents Fix * GenMeshTangents Fix - Comment Update * GenMeshTangents Fix - Comment Update final * Code Style Changes * Code Style Changes Final * Code Style Changes Final 2 * GenMeshTangents better handling for issue #1876 * GenMeshTangents better handling for issue #1876 * GenMeshTangents: Better fix for issue #1876 * vboId location fix * rlUpdateVertexBuffer - bufferId is an unsigned int * Fix for issue#1809 - Obj with more materials then mesh caused crash * Fix for issue#1809 - Formatting Update
2021-08-12ADDED: rlUpdateVertexBufferElements() #1915raysan5
2021-08-12ADDED: `rlActiveDrawBuffers()` #1911raysan5
- ADDED: rlEnableColorBlend()/rlDisableColorBlend()
2021-08-12[rlgl] rlUpdateVertexBuffer (#1914)630Studios
* GenMeshTangents Fix * GenMeshTangents Fix - Comment Update * GenMeshTangents Fix - Comment Update final * Code Style Changes * Code Style Changes Final * Code Style Changes Final 2 * GenMeshTangents better handling for issue #1876 * GenMeshTangents better handling for issue #1876 * GenMeshTangents: Better fix for issue #1876 * vboId location fix * rlUpdateVertexBuffer - bufferId is an unsigned int
2021-08-11WARNING: BREAKING: Renamed `CharInfo` to `GlyphInfo` and more...raysan5
This commit introduces some breaking changes for library consistency, hopefully not too dramatic... Here the full list: - RENAMED: struct `CharInfo` to `GlyphInfo`, actually that's the correct naming for the data contained. It contains the character glyph metrics and the glyph image; in the past it also contained rectangle within the font atlas but that data has been moved to `Font` struct directly, so, `GlyphInfo` is a more correct name. - RENAMED: `CodepointToUtf8()` to `CodepointToUTF8()`, capitalization of UTF-8 is the correct form, it would also require de hyphen but it can be omitted in this case. - RENAMED: `TextToUtf8()` to `TextCodepointsToUTF8` for consistency and more detail on the functionality. - ADDED: `GetGlyphInfo()` to get glyph info for a specific codepoint - ADDED: `GetGlyphAtlasRec()` to get glyph rectangle within the generated font atlas - Some additional tweaks for consistency
2021-08-11REVIEWED: DrawTextPro()raysan5
WARNING: DrawTextPro() requires including `rlgl.h`, before it was only dependant on `textures` module.
2021-08-11TODO: DrawTextPro() rotation not working?raysan5
2021-08-11ADDED: DrawTextPro() with text rotation supportraysan5
2021-08-11WARNING: REMOVED: DrawTextRec() and DrawTextRecEx()raysan5
- DrawTextRec() and DrawTextRecEx() have been moved to example, those functions could be very specific depending on user needs so it's better to give the user the full source in case of special requirements instead of allowing a function with +10 input parameters.
2021-08-10Document Get{Key,Char}Pressed return value. (#1909)Ryan Roden-Corrent
I think it is useful to know what the empty behavior is in cases where you are enumerating key presses (e.g. implementing "press any key to continue").
2021-08-08Replaced TABS by spacesraysan5
2021-08-08REVIEWED: Avoid conflict with boolraysan5
2021-08-08REVIEWED: Some warnings...raysan5
2021-08-08ADDED: GenMeshCone() #1903raysan5
2021-07-31Improve rlgl descriptionraysan5
2021-07-31REVIEWED: rlgl defines for consistencyraysan5
2021-07-31REVIEWED: rlgl module header inforaysan5
2021-07-31REVIEWED: Improved font loading inforaysan5
2021-07-31REVIEWED: Avoid bool type collisionsraysan5
2021-07-30Revert "REVIEWED: Avoid UBSAN warnings #1891"raysan5
This reverts commit a8e9e1387f0abaa46557dd2076973cd30784148c.
2021-07-30REVIEWED: Avoid UBSAN warnings #1891raysan5
2021-07-30Update raudio.craysan5
2021-07-30REVIEWED: Added new mechanism to avoid data types collision between modules ↵raysan5
that share same data types and can be used in standalone mode
2021-07-30REVERTED: Removed the need for `rlMatrix`raysan5
Now rlgl uses the `Matrix` type, just make sure it has been previously defined somewhere... I don't like this approach but it's probably the easier one for the users... still looking for a better solution... maybe using something like `#define MATRIX_TYPE`, so it can be checked in other modules.
2021-07-30Review include path that was breaking the buildraysan5
2021-07-30Review some issuesraysan5
2021-07-29WARNING: BREAKING CHANGE: rlgl complete decoupling from raylib -WIP-raysan5
rlgl has been redesigned to avoid any dependency to `raylib` or `raymath`, all functions using some of those libs have been reviewed. - REMOVED: `Texture2D`, `Shader` structs dependency - REMOVED: `Vector3`, `Matrix` structs dependency - REMOVED: raymath functions dependency, all required math is implemented in rlgl - ADDED: `rlMatrix` custom rlgl type - ADDED: `utils.c`: `rlMatrixFromMatrix()` and `rlMatrixToMatrix()` for a safe conversion between raylib<->rlgl matrix types - ADDED: `rl` prefix to all `rlgl` structs - Other small tweaks here and there
2021-07-29Reviewed some functions to avoid calling other functionsraysan5
2021-07-29impoves raylib_parser: makes it generic, adds -d key for functions define ↵iskolbin
(RLAPI for raylib.h), increases maxiumum number of fields in structs and values in enums, doubles max length of struct field names; split float3/float16 struct typedefs in raymath to allow parser to process the file (#1901)
2021-07-29Add external folder to build (just in case)raysan5
2021-07-28fixed DisableCursor() on web by registering an empty mouse click event ↵Kyle Appelgate
function in emscripten (#1900)
2021-07-28REVIEWED: Info on image loading failureraysan5
2021-07-28ADDED: raygui to extras libraries for convenienceraysan5