summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
AgeCommit message (Collapse)Author
2023-02-21ADDED: `SetWindowIcons()` to set multiple icon image sizesRay
2023-02-20Added mixed audio processor (#2929)hkc
* Use RL_QUADS/RL_TRIANGLES for single-pixel drawing Addresses problem mentioned in https://github.com/raysan5/raylib/issues/2744#issuecomment-1273568263 (in short: when drawing pixels using DrawPixel{,V} in camera mode, upscaled pixel becomes a line instead of bigger pixel) * [rtextures] Fixed scaling down in ImageTextEx Closes #2755 * Added global audio processor * Renamed struct member to follow naming conventions * Added example for AttachAudioMixedProcessor
2023-02-14REVIEWED: Camera redesign PRRay
2023-02-14WIP rcamera redesign vector (#2563)Crydsch Cube
* core functionality CAMERA_FREE * fix example * add remaining camera modes * add view bobbing * view bobbing * catch curser in SetCameraMode * adjust examples * fix compilation on linux * fix example text_draw_3d * actually fix text_draw_3d * Updated camera API * Improve Vector3RotateByAxisAngle() function * remove camera.mode dependency from low-level functions * remove camera.mode from struct * fixes after rebase * adjust examples for new UpdateCamera function * adjust example models_loading_m3d --------- Co-authored-by: Ray <[email protected]>
2023-02-09Fixed some grammar mistakes and typos. (#2914)Julio C. Galindo
* Fixed some grammar mistakes. * Fixed some typos.
2023-01-28ADDED: IsModelReady(), IsMaterialReady(), IsTextureReady(), ↵Rob Loach
IsRenderTextureReady() (#2895)
2023-01-27ADDED: `IsShaderReady()`, `IsImageReady()`, `IsFontReady()`, ↵Rob Loach
`IsWaveReady()`, `IsSoundReady()`, `IsMusicReady()` (#2892) These IsReady() functions provide a method in order to verify whether or not the object was loaded successfully. They're useful to make sure the assets are there prior to using them.
2023-01-22Add RAYLIB_VERSION numbers to raylib.h (#2856)Rob Loach
Ran into an issue in raylib-cpp where a user was using raylib 4.5-dev, even though the library currently only targets 4.2. With having RAYLIB_VERSION_MAJOR and RAYLIB_VERSION_MINOR, we will be able to target different versions of raylib in different ways, via C preprocessor conditionals. For example: ``` c newColor = ColorTint(BLUE, RED); TraceLog(LOG_INFO, "The color should be tinted, but this isn't supported in ryalib <= 4.2"); ```
2023-01-02REVIEWED: Avoid possible gamepad index as `-1` #2839Ray
WARNING: It could require further review of `GamepadThread()` function where `js_event gamepadEvent.number` detecting current pressed button could generate a missmatch with index 0 (reserved for button unknow). Or maybe `0` could just be `GAMEPAD_BUTTON_NONE`? In that case, consistency with other inputs should be carefully considered...
2023-01-01Update year to 2023 (#2846)Wytek01
* Update year to 2023 * Update raylib.h year to 2023
2022-12-07ADDED: `ColorTint()`, `ColorContrast()`Ray
2022-12-05ADDED: `ColorBrightness()`Ray
2022-11-22Minor tweaksRay
2022-11-15WARNING: REMOVED: `DrawCubeTexture()`, `DrawCubeTextureRec()`Ray
Those two functions have been moved to a new example: `models_draw_cube_texture`. The reasons for this decision: - Function inflexibility: Many users with the need to draw a textured cube could need to customize the texture applied to every face, that function did not allow that kind of functionality. - rlgl functionality exposure: The implementation exposed will teach users how to implement custom textured triangles drawing.
2022-11-10Minor formating tweaksRay
2022-11-10WARNING: REMOVED: `DrawTextureTiled()`Ray
This function implementation has been moved to the related example. Current implementation can be probably customized depending on user needs.
2022-11-10WARNING: REMOVED: `DrawTextureQuad()`Ray
This function can be easely replicated using `DrawtexturePro()` and actually it was doing some assumptions not transparent to the user. Even the function name was confusing. No example was available for it and actually noone requested one example.
2022-11-10WARNING: REMOVED: `DrawTexturePoly()`Ray
Function moved to `examples/textures/textures_polygon.c`, so users can learn from the implementation and create custom variants as required.
2022-11-04Fix ExportDataAsCode() data types (#2787)RGDTAB
2022-10-25Added Box and Gaussian blurring (#2770)nobytesgiven
* Added Box and Gaussian blurring * Removed dependence of gaussian blur to box blur & Fixed precision errors Co-authored-by: nobytesgiven <[email protected]>
2022-10-17Add DrawCapsule(Wires) (#2761)ianband
* Add DrawCapsule & DrawCapsuleWires * Add DrawCapsule & DrawCapsuleWires to example Co-authored-by: Ian Band <[email protected]>
2022-10-14ADDED: `GenImageText()`Ray
Probably useless but interesting for education. It generated a grayscale image directly from text data.
2022-10-11fixing typo (#2748)Dor Shapira
2022-10-07Update version to `raylib 4.5-dev` to avoid confusions with 4.2Ray
2022-10-05Added `BLEND_CUSTOM_SEPARATE` #2741Ray
2022-09-28fixing new typoes (#2727)Dor Shapira
2022-09-28Update raylib.h (#2726)Dor Shapira
2022-09-26Clarified working of ImageDrawCircle and ImageDrawCircleV (#2719)bXi
2022-09-22WARNING: Several changes on UTF-8/Codepoints APIRay
- ADDED: `GetCodepointPrevious()` - RENAMED: `GetCodepoint()` -> `GetCodepointNext()`, actually, reimplemented - `GetCodepoint()` has been kept for the moment, for compatibility and also because implementation is different - RENAMED: `TextCodepointsToUTF8()` to `LoadUTF8()`, simpler name and more aligned with raylib conventions (functions loading memory start with Load*()), parameters should be descriptive of functionailty. - ADDED: `UnloadUTF8()`, aligned with `LoadUTF8()` to avoid allocators issues.
2022-09-19Added: `ImageDrawCircleLines`, `ImageDrawCircleLinesV` (#2713)Rob Loach
This adds `ImageDrawCircleLines()` and `ImageDrawCircleLinesV()` to draw outlines of circles, and updates `ImageDrawCircle()` draw a filled circle to match the effect of `DrawCircle()` and `DrawCircleLines()`.
2022-09-17ADDED: `GenImagePerlinNoise()`Ray
2022-09-07REVIEWED: Data type to unsignedRay
2022-09-04REVIEWED: `CheckCollisionPointPoly()`Ray
2022-09-04Check collision point polygon (#2685)Jacek
* Update raylib.h * CheckCollisionPointPolygon() * typo
2022-08-22REVIEWED: M3D implementation #2648Ray
2022-08-05Added commentsRay
2022-08-02Update version to raylib 4.2Ray
2022-07-15Added noteRay
2022-07-09Allow DLL creation using TCC (#2569)Audi Nugraha
* Fix Undefined Symbol `_ftelli64` * Add files via upload * Update raylib.h * Update raylib.h
2022-07-05Update raylib.hRay
2022-07-05WARNING: BREAKING: REMOVED: `*StorageValue()` functionsRay
Those functions were platform dependent and user has no control over the file created. They have been removed from raylib and just moved to `core_storage_values` example.
2022-07-05REMOVED: `GenMeshBinormals()`, actually, never implementedRay
2022-06-12Add function to read both X and Y mouse scrolling from a trackpad (#2517)Steven Schveighoffer
(GetMouseWheelMoveV).
2022-06-12REVIEWED: `FilePathList`, consider maximum capacityRay
2022-06-11WARNING: BREAKING: REDESIGNED: Filepath loading APIRay
REDESIGNED: `LoadDirectoryFiles()` ADDED: `LoadDirectoryFilesEx()` REDESIGNED: `LoadDroppedFiles()` ADDED: `IsPathFile()` This BIG BREAKING change simplifies the functions and gives more control to the user: - A new `struct FilePathList` has been added to avoid exposing complex pointers. - User is responsible of memory loading/unloading - Filepaths loading support recursive directories and file extension filters
2022-06-11Update raylib.hRay
2022-06-11REVIEWED: Issue with MOUSE_PASSTROUGH #2516Ray
2022-06-11New feature: support MOUSE_PASSTHROUGH #2516Ray
2022-06-09GetMonitorWidth()/GetMonitorHeight(): return current video resolution ↵gulrak
instead max available (#2514) * GetMonitorWidth()/GetMonitorHeight(): current video resolution instead max available * adapt header comment to reflect change
2022-06-07RENAMED: `BLEND_ALPHA_PREMUL` to `BLEND_ALPHA_PREMULTIPLY`Ray