raysan5
c078640fa5
Commented Fade() macro
vor 5 Jahren
raysan5
afcc584fb6
RE-ADDED: Fade() function to avoid multiple breaking changes
Probably there is a better way to do this but this is a temporary solution for backward compatibility
vor 5 Jahren
raysan5
ad954dc7ab
WARNING: BIG CHANGE: Move Color functions to texture module
WARNING: Some functions ADDED and some RENAMED:
- RENAMED: Fade() -> ColorAlpha() [Added #define for compatibility]
- ADDED: ColorAlphaBlend()
- ADDED: GetPixelColor()
- ADDED: SetPixelColor()
vor 5 Jahren
raysan5
d0e9228660
REDESIGNED: ImageResizeCanvas(), optimized #1218
vor 5 Jahren
raysan5
a9fb0aa207
ImageToPOT() renamed parameter
vor 5 Jahren
ChrisDill
aff47d1564
Added bool IsCursorOnScreen(void). ( #1262 )
- The Mouse struct already stores cursorOnScreen. This function simply exposes it to the usage code.
vor 5 Jahren
Random
d9a96c4ca0
added BLEND_SET ( #1251 )
* added BLEND_SET
* renamed BLEND_SET to BLEND_ADD_COLORS
vor 5 Jahren
raysan5
257f232d41
WARNING: BREAKING CHANGE: Review audio looping system
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.
vor 5 Jahren
Mickaël Malécot
0bd64b7975
Gamepad axis bug fixes and improvement ( #1228 )
* 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
vor 5 Jahren
raysan5
7a1d3d807f
WARNING: RENAMED: ImageExtractPalette() -> GetImagePalette()
vor 5 Jahren
raysan5
959447d8ed
Reorganized texture functions
Removed ImageAlphaMask() dependency on [text] LoadBMFont()
vor 5 Jahren
raysan5
f6ca045735
ADDED: DrawTriangle3D() and DrawTriangleStrip3D()
Those functions could be very useful for custom triangle data drawing, using internal batch system.
vor 5 Jahren
raysan5
51c3bef497
Review exposed #defines and allow user re-defining
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.
vor 5 Jahren
raysan5
6e2d39c51b
ADDED: IsWindowFocused()
vor 5 Jahren
raysan5
8e59ecb50c
ADDED: GetWindowScaleDPI()
vor 5 Jahren
raysan5
cc816345bf
WARNING: API BREAK: Removed LoadImagePro()
Actually this function is useless and potentially dangerous, internally, a shallow copy of data was done. Same could be accomplished accesing image.data directly.
vor 5 Jahren
raysan5
b132da0ac2
WARNING: API BREAK: Reviewed ImageDrawText*() params order
To unify with DrawText*() equivalent functions
vor 5 Jahren
raysan5
adb20569be
Review shared library building
vor 5 Jahren
raysan5
fc7ec5e907
Update raylib.h
vor 5 Jahren
Dani Martin
62cdb2299b
[cppcheck] Improvements in SaveStorageValue() in core.c ( #1160 )
* [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
vor 5 Jahren
raysan5
733ed972f7
Reorganize image functions
vor 5 Jahren
raysan5
5d7050bdf9
Reorganize image/texture functions for consistency
vor 5 Jahren
Rob Loach
a025636fa1
Update ImageDraw*() functions to match arguments of Draw*() ( #1156 )
* 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
vor 5 Jahren
raysan5
96005f2566
ADDED: IsWindowFullscreen()
vor 5 Jahren
Sourav Gupta
574c689ff7
Added draw functions to ImageDraw*() ( #1138 )
Added draw functions:
ImageClearBackground()
ImageDrawPixel()
ImageDrawLineEx()
ImageDrawCircle()
vor 5 Jahren
Ray
74c486201d
ADDED: LoadFileText() and SaveFileText()
Improved file access checks
vor 5 Jahren
Ray
05992a6fce
Tweaks
vor 5 Jahren
Ray
89ecad1e29
Review macros
vor 5 Jahren
Ray
e5b5aea998
WARNING: RENAMED: Storage functions
Renamed functions for consistency:
- StorageLoadValue() > LoadStorageValue()
- StorageSaveValue() > SaveStorageValue()
vor 5 Jahren
Ray
1046449339
ADDED: LoadFileData(), SaveFileData()
vor 5 Jahren
Ray
91b2dc2aa9
[raudio] ADDED: SetAudioStreamBufferSizeDefault()
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.
vor 5 Jahren
Ray
40b73a8a91
Develop branch integration ( #1091 )
* [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
vor 5 Jahren
Ray
4992edab24
ADDED: DrawPoint3D()
vor 5 Jahren
Ray
4f7d090fb2
ADDED: DrawEllipse() and DrawEllipseLines() #1047
vor 5 Jahren
Ray
954f029118
Support touch/mouse indistinctly
REMOVED: IsTouchDetected()
vor 5 Jahren
Ray
5ec87c4c6f
ADDED: TextCopy() #1083
vor 5 Jahren
Ray
f28c1ef675
ADDED: IsTouchDetected()
vor 5 Jahren
Ray
eee995ec3d
ADDED: GetWorldToScreenEx()
Addressing issue #1056
vor 5 Jahren
raysan5
bec467705e
Review custom allocators
vor 5 Jahren
raysan5
406373caa9
Review functions definition modifiers
vor 5 Jahren
Ray
e0d4cc3143
ADDED: DrawPolyLines()
vor 5 Jahren
raysan5
21c30f43d4
Update year to 2020
vor 5 Jahren
raysan5
350cb0a8a8
GenTextureCubemap(): renamed parameter
vor 6 Jahren
Ray
3ffe34f9bb
ADDED: DrawTextCodepoint()
- Renamed GetGlyphIndex() parameter
- Review DrawTextEx() implementation
- Review DrawTextRecEx() implementation
vor 6 Jahren
Darryl Dixon - Piece Digital
776304e8e8
Comments ( #1026 )
* swapped comments, expanded comment for clarity
* revert alignments
* adjusted for consistency
vor 6 Jahren
raysan5
1d3f230c92
Review key input queue PR #1012
Keeping original API
vor 6 Jahren
Ushio
ae301a1d23
add api FIFO based character input. ( #1012 )
* add api FIFO based character input.
* rename input character functions
* replace tab to space x4 #1012
vor 6 Jahren
ChrisDill
00c611a5fb
[Core] Added ColorFromNormalized which is the reverse of ColorNormalize. ( #1011 )
vor 6 Jahren
Ray
d73abe73e5
REDESIGN: TextToUtf8()
ADDED: CodepointToUtf8()
vor 6 Jahren
Ray
f6df47dfe5
ADDED: TextToUtf8() -WIP-
RENAMED: TextCountCodepoints() -> GetCodepointsCount()
vor 6 Jahren