summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
AgeCommit message (Collapse)Author
2021-10-10Add CheckCollisionPointLine to the header, it appears to have been missed ↵Jeffery Myers
(#2042)
2021-10-08Add missing #endif to windows API defines (#2038)Jeffery Myers
2021-10-08Simplified RLAPI preprocessor branchingRay
2021-10-07Fix dll exports so that raylib builds in visual studio again. (#2037)Jeffery Myers
2021-10-06WARNING: BREAKING: REMOVED: `GenImagePerlinNoise()`raysan5
raylib was using `stb_perlin.h` library to generate perlin noise, it seems that recently this library has been flagged as it could be infringing some algorythm patent. For security, it has been removed from raylib.
2021-10-05REVIEWED: API functions specifiersraysan5
2021-10-03ADDED: GetImageColor() #2024Ray
2021-10-03Update raylib.hRay
2021-10-03Minor format tweakRay
2021-10-03Added DrawLineBezierCubic() (#2021)SAOMDVN
Co-authored-by: SAOMDVN <[email protected]>
2021-10-03Minor format tweaksRay
2021-10-02Rename BRDG typo to BDRF (#2028)Chris
2021-09-27Update raylib.hRay
2021-09-27Update raylib.hRay
2021-09-23Reviewed some TODO commentsRay
2021-09-22Add function DrawCubeTextureRec (#2001)Timon de Groot
* Add function DrawCubeTextureRec * Add EOF newline * Remove unneeded example
2021-09-22`SeekMusicStream` initial implementation (#2006)Uneven Prankster
2021-09-22Use unsigned int for animation count. (#2002)Ryan Roden-Corrent
LoadModelAnimations takes an `int` for the animation count parameter. The animation count should never be negative, so it makes sense to specify it as unsigned in the API. This matches the API for UnloadModelAnimations, which expects an unsigned int. Both GLTF and IQMM also store the animation count internally as unsigned, and we were casting to a signed int for no reason. GLTF actually uses `size_t` internally, so we're technically risking overflow, but having 2^32 animations seems unlikely.
2021-09-22Update raylib.hRay
2021-09-21Merge branch 'master' of https://github.com/raysan5/raylibraysan5
2021-09-21Tweaksraysan5
2021-09-21Add `up` argument to `DrawBillboardPro` (#1941)Uneven Prankster
* Add `up` argument to `DrawBillboardPro` * Replace tab with proper spaces
2021-09-21ADDED: `GetTouchPointId(index)` #1972raysan5
2021-09-17Add SetRandomSeed(unsigned int seed) function (#1994)Tommi Sinivuo
Specifying a fixed seed for the random number generator is often used in games for various reasons. By adding an api function for seeding the random number generator we solve two different problems regarding the seeding: 1) The underlying RNG implementation does not leak to client code (as would be the case if we called srand directly from the client code) 2) Seeding the RNG would be simple from other programming languages (especially in cases where calling libc functions is non-trivial)
2021-09-10Typoraysan5
2021-09-10REVIEWED: Touch input system #1975 #1960Ray
- ADDED: `GetTouchPointCount()` to core module, removed from gestures module. - Support multiple touch points: `MAX_TOUCH_POINTS`.
2021-09-01REVIEWED: Naming: length vs sizeRay
2021-09-01WARNING: BREAKING: RENAMED: Font struct variablesRay
RENAMED: GetCodepointsCount() -> GetCodepointCount() RENAMED: GetTouchPointsCount() -> GetTouchPointCount()
2021-08-26Change GetColor to take unsigned int (#1954)Richard Smith
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-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-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-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-08ADDED: GenMeshCone() #1903raysan5
2021-07-31REVIEWED: rlgl defines for consistencyraysan5
2021-07-31REVIEWED: Avoid bool type collisionsraysan5
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-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-28ADDED: GetModelBoundingBox()raysan5
Reorganized models functionality, it still needs some review...
2021-07-03Update link address for miniaudioraysan5
2021-06-30Remove trailing spacesraysan5
2021-06-28WARNING: BREAKING: Functions renamed for consistencyRay
RENAMED: GetTextureData() -> LoadImageFromTexture() RENAMED: GetScreenData() -> LoadImageFromScreen()
2021-06-26REVIEWED: Enum values descriptionsraysan5
2021-06-26WARNING: REMOVED: Some deprecated function names mappingraysan5
Some functions/values have been deprecated for long time but some mapping was kept for convenience. Some of those mappings have been removed...
2021-06-25REVIEWED: LoadShader() and default locationsRay
Reviewed locations descriptions