summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
AgeCommit message (Collapse)Author
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
2021-06-23WARNING: BREAKING: Functions renamed!Ray
RENAMED: GetCodepoints() -> LoadCodepoints(), now codepoint array data is loaded dynamically instead of reusing a limited static buffer. ADDED: UnloadCodepoints() to safely free loaded codepoints RENAMED: GetNextCodepoint() -> GetCodepoint()
2021-06-22Review and un-expose InitTimer()Ray
Actually it's not required for SUPPORT_CUSTOM_FRAME_CONTROL
2021-06-22Formatting reviewRay
2021-06-21core: added `GetMouseDelta()` (#1832)Adrian Guerrero Vera
* core: added `GetMouseDelta()` Thanks to previousPosition added by raysan it is now possible to create the GetMouseDelta() function. Returns a Vector2 with the difference between the current and previous position of the mouse in a frame. Useful for creating camera scrolling, among others. * Added changes noted by raysan
2021-06-17RENAMED: `SwapBuffers()` -> `SwapScreenBuffer()`Ray
Avoid possible symbol collisions
2021-06-17WARNING: Exposed `SUPPORT_CUSTOM_FRAME_CONTROL` #1729Ray
2021-06-17RENAMED: MeshTangents() -> GenMeshTangents()Ray
RENAMED: MeshBinormals() -> GenMeshBinormals()
2021-06-10Review code formattingRay
2021-06-10Review some commentsRay
2021-06-10Reviewed functions descriptionRay
Replaced: Returns -> Get
2021-06-10Reviewed Input variables and commentsRay
2021-06-10Corrected bug on enumRay
2021-06-10Added some enum commentsRay
2021-06-05Minor format tweaksraysan5
2021-06-03WARNING: BREAKING: Consistency renamingsRay
RENAMED: InitAudioStream() -> LoadAudioStream() RENAMED: CloseAudioStream() -> UnloadAudioStream()
2021-06-03Better collisions (#1803)Crydsch
* review collisions ray-box and ray-sphere * Applied raysan's refactor Improved GetRayCollisionBox * Replace GetRayCollisionGround with GetCollisionQuad * Update example core_3d_picking * Update example models_loading * Fixed issues after merge * remove debug stuff Co-authored-by: Cry dsch <[email protected]>
2021-06-01Update docs for supported blend modes (#1801)Marco G. Maia
2021-05-31RENAMED: enum Gestures -> GestureRay
Consistency tweak
2021-05-31WARNING: BREAKING: RENAMED: RayHitInfo to RayCollision #1781Ray
- RENAMED: RayHitInfo to RayCollision - RENAMED/REDESIGNED: Multiple Ray collision functions to be more consistent and return RayCollision data -WIP-
2021-05-30REVIEWED: exit() on LOG_FATAL instead of LOG_ERROR #1796Ray
2021-05-29Review some commentsRay
2021-05-25Review raylib structs commentsRay
2021-05-25Remove line break in DrawTextRecEx()Ray
2021-05-22Some code tweaks for consistencyRay
2021-05-22Minor comments tweaksRay