summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
AgeCommit message (Collapse)Author
2020-05-09Gamepad axis bug fixes and improvement (#1228)Mickaël Malécot
* Fix gamepad axis count * Fix Xbox axis drawing * Ignore low axis values * Revert "Fix gamepad axis count" This reverts commit f08ae4bf * Fix GamepadAxis API * Fix conflict with master * Revert Gamepad MAX definitions * Revert MAX_GAMEPAD_AXIS update
2020-05-09WARNING: RENAMED: ImageExtractPalette() -> GetImagePalette()raysan5
2020-05-09Reorganized texture functionsraysan5
Removed ImageAlphaMask() dependency on [text] LoadBMFont()
2020-05-07ADDED: DrawTriangle3D() and DrawTriangleStrip3D()raysan5
Those functions could be very useful for custom triangle data drawing, using internal batch system.
2020-05-01Review exposed #defines and allow user re-definingraysan5
There are multiple #define values around raylib, usually not exposed for redefinition, just reviewed all of them to allow users redefining them on compile time if required. Also, multiple #define have been renamed and commented.
2020-04-27ADDED: IsWindowFocused()raysan5
2020-04-24ADDED: GetWindowScaleDPI()raysan5
2020-04-10WARNING: API BREAK: Removed LoadImagePro()raysan5
Actually this function is useless and potentially dangerous, internally, a shallow copy of data was done. Same could be accomplished accesing image.data directly.
2020-04-10WARNING: API BREAK: Reviewed ImageDrawText*() params orderraysan5
To unify with DrawText*() equivalent functions
2020-04-01Review shared library buildingraysan5
2020-03-30Update raylib.hraysan5
2020-03-30[cppcheck] Improvements in SaveStorageValue() in core.c (#1160)Dani Martin
* [cppcheck] Improvements in SaveStorageValue() in core.c in file core.c cppcheck shows errors only in function SaveStorageValue(): * Common realloc mistake: 'fileData' nulled but not freed upon failure * Memory pointed to by 'fileData' is freed twice. Validation: * Tested examples/core/core_storage_values.c * Launched Unit Test for this function * Rerun CPPCHECK afer fix * [cppcheck] Change functions header to accept only positive position in files Changes: * Functions SaveStorageValue(), LoadStorageValue() (core.c) * Functions LoadFileData(), SaveFileData() (utils.c) * Headers in raylib.h Validation: * Tested examples/core/core_storage_values.c * Launched Unit Test for these functions * Rerun CPPCHECK afer fix
2020-03-29Reorganize image functionsraysan5
2020-03-29Reorganize image/texture functions for consistencyraysan5
2020-03-29Update ImageDraw*() functions to match arguments of Draw*() (#1156)Rob Loach
* Update ImageDraw*() functions to match arguments of Draw*() Updated draw functions: ImageDrawPixel() ImageDrawPixelV() ImageDrawCircle() ImageDrawCircleV() ImageDrawLine() ImageDrawLineV() ImageDrawRectangle() ImageDrawRectangleV() ImageDrawRectangleRec() * [nodepadpp] Update Notepad++ ImageDraw defintions This updates the Notepad++ definitions with the updated ImageDraw methods. * [examples] Add ImageDraw calls to textures_image_drawing * Update ImageDraw*() methods
2020-03-25ADDED: IsWindowFullscreen()raysan5
2020-03-21Added draw functions to ImageDraw*() (#1138)Sourav Gupta
Added draw functions: ImageClearBackground() ImageDrawPixel() ImageDrawLineEx() ImageDrawCircle()
2020-03-04ADDED: LoadFileText() and SaveFileText()Ray
Improved file access checks
2020-02-27TweaksRay
2020-02-27Review macrosRay
2020-02-26WARNING: RENAMED: Storage functionsRay
Renamed functions for consistency: - StorageLoadValue() > LoadStorageValue() - StorageSaveValue() > SaveStorageValue()
2020-02-26ADDED: LoadFileData(), SaveFileData()Ray
2020-02-14[raudio] ADDED: SetAudioStreamBufferSizeDefault()Ray
There could be some cases where we need to define the internal audio buffer size, now it's possible. RENAMED: InitAudioBuffer() to LoadAudioBuffer() RENAMED: CloseAudioBuffer() to UnloadAudioBuffer() Renamed some defines and reviewed some comments.
2020-02-03Develop branch integration (#1091)Ray
* [core] REDESIGNED: Implement global context * [rlgl] REDESIGNED: Implement global context * Reviewed globals for Android * Review Android globals usage * Update Android globals * Bump raylib version to 3.0 !!! * [raudio] REDESIGNED: Implement global context * [raudio] Reorder functions * [core] Tweaks on descriptions * Issues with SUPPORT_MOUSE_GESTURES * [camera] Use global context * REDESIGN: Move shapes drawing texture/rec to RLGL context * Review some issues on standalone mode * Update to use global context * [GAME] Upload RE-PAIR game from GGJ2020 -WIP- * Update game: RE-PAIR * [utils] TRACELOG macros proposal * Update config.h
2020-01-29ADDED: DrawPoint3D()Ray
2020-01-27ADDED: DrawEllipse() and DrawEllipseLines() #1047Ray
2020-01-27Support touch/mouse indistinctlyRay
REMOVED: IsTouchDetected()
2020-01-26ADDED: TextCopy() #1083Ray
2020-01-24ADDED: IsTouchDetected()Ray
2020-01-24ADDED: GetWorldToScreenEx()Ray
Addressing issue #1056
2020-01-19Review custom allocatorsraysan5
2020-01-19Review functions definition modifiersraysan5
2020-01-09ADDED: DrawPolyLines()Ray
2020-01-05Update year to 2020raysan5
2019-12-29GenTextureCubemap(): renamed parameterraysan5
2019-12-01ADDED: DrawTextCodepoint()Ray
- Renamed GetGlyphIndex() parameter - Review DrawTextEx() implementation - Review DrawTextRecEx() implementation
2019-11-25Comments (#1026)Darryl Dixon - Piece Digital
* swapped comments, expanded comment for clarity * revert alignments * adjusted for consistency
2019-11-24Review key input queue PR #1012raysan5
Keeping original API
2019-11-24add api FIFO based character input. (#1012)Ushio
* add api FIFO based character input. * rename input character functions * replace tab to space x4 #1012
2019-11-08[Core] Added ColorFromNormalized which is the reverse of ColorNormalize. (#1011)ChrisDill
2019-10-28REDESIGN: TextToUtf8()Ray
ADDED: CodepointToUtf8()
2019-10-27ADDED: TextToUtf8() -WIP-Ray
RENAMED: TextCountCodepoints() -> GetCodepointsCount()
2019-10-27added GetMatrixProjection fixed issue with GL11 where model matrix was ↵chriscamacho
identity (#999)
2019-10-21Review latest PRRay
2019-10-21Add multi texture support for materials in GLTF format (#979)Tyler Jessilynn Bezera
* Initial commit of addition for GLTF materials.. should support loading more than just albedo map. * Clean up * fixed seg faults and leaks * temp don't overwrite defuse colour when rendering * undid something dumb! * correctly mixed diffuse map color when rendering to preserve not overwrite it
2019-10-11ADDED: GetCodepoints()Ray
Get the unicode equivalent characters (as int array) from a UTF-8 text array... maybe this function is renamed to be clearer to users...
2019-09-25Const corectness for LoadShaderCode (#977)Catalin Moldovan
* Const corectness for LoadShaderCode * Added const for standalone variant as well.
2019-09-15Review DecompressData() types, for consistencyraysan5
2019-09-10ADDED: GetWindowPosition()Ray
2019-09-09ADDED small compression APIRay
- ADDED: CompressData() - ADDED: DecompressData()