seanpringle
cebcdea80f
[wip] MeshNormalsSmooth() ( #1317 )
* MeshSmoothNormals() by average
* wrong comment
* spelling
* use correct function naming convention
hace 4 años
raysan5
0db0e6acd8
WARNING: REMOVED: LoadImageEx()
Reason for removal: This function forces a specific Image data format, it copies data internally (it could be confusing and lead to memory leaks), it's redundant, there is a simpler alternative and raylib promotes using structures directly
hace 4 años
raysan5
c57323f29c
ADDED: LoadImageAnim() to load animated sequence of images
hace 4 años
Vlad Adrian
4d71e9b44f
Added new function `DrawTextureTiled()` ( #1291 )
* Implemented DrawTextureTiled()
* Example added
hace 4 años
Ray
ba39a1b304
ADDED: UpdateTextureRec()
hace 4 años
Shylie
25fb24ba7d
[add] GetMonitorRefreshRate(int monitor); ( #1289 )
hace 4 años
raysan5
c078640fa5
Commented Fade() macro
hace 4 años
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
hace 4 años
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()
hace 4 años
raysan5
d0e9228660
REDESIGNED: ImageResizeCanvas(), optimized #1218
hace 4 años
raysan5
a9fb0aa207
ImageToPOT() renamed parameter
hace 4 años
ChrisDill
aff47d1564
Added bool IsCursorOnScreen(void). ( #1262 )
- The Mouse struct already stores cursorOnScreen. This function simply exposes it to the usage code.
hace 4 años
Random
d9a96c4ca0
added BLEND_SET ( #1251 )
* added BLEND_SET
* renamed BLEND_SET to BLEND_ADD_COLORS
hace 4 años
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.
hace 4 años
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
hace 4 años
raysan5
7a1d3d807f
WARNING: RENAMED: ImageExtractPalette() -> GetImagePalette()
hace 4 años
raysan5
959447d8ed
Reorganized texture functions
Removed ImageAlphaMask() dependency on [text] LoadBMFont()
hace 4 años
raysan5
f6ca045735
ADDED: DrawTriangle3D() and DrawTriangleStrip3D()
Those functions could be very useful for custom triangle data drawing, using internal batch system.
hace 4 años
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.
hace 4 años
raysan5
6e2d39c51b
ADDED: IsWindowFocused()
hace 5 años
raysan5
8e59ecb50c
ADDED: GetWindowScaleDPI()
hace 5 años
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.
hace 5 años
raysan5
b132da0ac2
WARNING: API BREAK: Reviewed ImageDrawText*() params order
To unify with DrawText*() equivalent functions
hace 5 años
raysan5
adb20569be
Review shared library building
hace 5 años
raysan5
fc7ec5e907
Update raylib.h
hace 5 años
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
hace 5 años
raysan5
733ed972f7
Reorganize image functions
hace 5 años
raysan5
5d7050bdf9
Reorganize image/texture functions for consistency
hace 5 años
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
hace 5 años
raysan5
96005f2566
ADDED: IsWindowFullscreen()
hace 5 años
Sourav Gupta
574c689ff7
Added draw functions to ImageDraw*() ( #1138 )
Added draw functions:
ImageClearBackground()
ImageDrawPixel()
ImageDrawLineEx()
ImageDrawCircle()
hace 5 años
Ray
74c486201d
ADDED: LoadFileText() and SaveFileText()
Improved file access checks
hace 5 años
Ray
05992a6fce
Tweaks
hace 5 años
Ray
89ecad1e29
Review macros
hace 5 años
Ray
e5b5aea998
WARNING: RENAMED: Storage functions
Renamed functions for consistency:
- StorageLoadValue() > LoadStorageValue()
- StorageSaveValue() > SaveStorageValue()
hace 5 años
Ray
1046449339
ADDED: LoadFileData(), SaveFileData()
hace 5 años
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.
hace 5 años
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
hace 5 años
Ray
4992edab24
ADDED: DrawPoint3D()
hace 5 años
Ray
4f7d090fb2
ADDED: DrawEllipse() and DrawEllipseLines() #1047
hace 5 años
Ray
954f029118
Support touch/mouse indistinctly
REMOVED: IsTouchDetected()
hace 5 años
Ray
5ec87c4c6f
ADDED: TextCopy() #1083
hace 5 años
Ray
f28c1ef675
ADDED: IsTouchDetected()
hace 5 años
Ray
eee995ec3d
ADDED: GetWorldToScreenEx()
Addressing issue #1056
hace 5 años
raysan5
bec467705e
Review custom allocators
hace 5 años
raysan5
406373caa9
Review functions definition modifiers
hace 5 años
Ray
e0d4cc3143
ADDED: DrawPolyLines()
hace 5 años
raysan5
21c30f43d4
Update year to 2020
hace 5 años
raysan5
350cb0a8a8
GenTextureCubemap(): renamed parameter
hace 5 años
Ray
3ffe34f9bb
ADDED: DrawTextCodepoint()
- Renamed GetGlyphIndex() parameter
- Review DrawTextEx() implementation
- Review DrawTextRecEx() implementation
hace 5 años