summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
AgeCommit message (Collapse)Author
2020-06-27Added new function `DrawTextureTiled()` (#1291)Vlad Adrian
* Implemented DrawTextureTiled() * Example added
2020-06-25ADDED: UpdateTextureRec()Ray
2020-06-24[add] GetMonitorRefreshRate(int monitor); (#1289)Shylie
2020-06-16Commented Fade() macroraysan5
2020-06-16RE-ADDED: Fade() function to avoid multiple breaking changesraysan5
Probably there is a better way to do this but this is a temporary solution for backward compatibility
2020-06-15WARNING: BIG CHANGE: Move Color functions to texture moduleraysan5
WARNING: Some functions ADDED and some RENAMED: - RENAMED: Fade() -> ColorAlpha() [Added #define for compatibility] - ADDED: ColorAlphaBlend() - ADDED: GetPixelColor() - ADDED: SetPixelColor()
2020-06-07REDESIGNED: ImageResizeCanvas(), optimized #1218raysan5
2020-06-07ImageToPOT() renamed parameterraysan5
2020-05-26Added bool IsCursorOnScreen(void). (#1262)ChrisDill
- The Mouse struct already stores cursorOnScreen. This function simply exposes it to the usage code.
2020-05-16added BLEND_SET (#1251)Random
* added BLEND_SET * renamed BLEND_SET to BLEND_ADD_COLORS
2020-05-14WARNING: BREAKING CHANGE: Review audio looping systemraysan5
Current looping system was broken, `loopCount` has been converted to `bool looping` and user can enable/disable with `music.looping = false`. `SetMusicLoopCount()` has been removed.
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