Ray
3d1ae3500c
REVIEWED: Window state flags -WIP-
WARNING: Several functions removed, replaced by SetWindowState() / ClearWindowState() equivalents, only for advance users.
ADDED: ClearWindowState() to reset window state
REMOVED: HideWindow() / UnhideWindow()
REMOVED: DecorateWindow() / UndecorateWindow()
4 years ago
Ray
468a0bedd8
REDESIGNED: Window state config #1367 -WIP-
Some flags not working properly yet...
4 years ago
Ray
a560fe9a1e
Added some comments
4 years ago
Ray
bb9d734f69
Exposing some file access results to user layer #1420
4 years ago
raysan5
55dc8171f8
[text] Consider characters padding -WIP- #1432
4 years ago
Ray
3e1cd487df
Remove trailing spaces
4 years ago
Ray
5ac9cb04c2
Reverted ChangeDirectory() redesign
It returns true on success again
4 years ago
Ray
01d9af12f7
REDESIGNED: ChangeDirectory()
Not returning error code (or success), just log if it fails
4 years ago
Dominus Iniquitatis
fc1fc250e7
A couple of little comment fixes ( #1416 )
4 years ago
raysan5
482b8a5e7e
Some tweaks
4 years ago
Ray
f12db180cd
Reviewed PR #1407
4 years ago
Chance Snow
9833fe45eb
Added desktop cursor getter and setter functions ( #1407 )
* [core] Added desktop cursor getter and setter functions
* Example: Set mouse cursor in text input box
* Setup standard cursors _after_ GLFW window initialization
* Remove old `int GetMouseWheelMove` declaration
4 years ago
Doyle
b29311c7ca
mouse: Return float movement for precise scrolling where possible ( #1397 )
4 years ago
Ray
a850246030
Review Texture type
Texture type also maps to Texture2D and TextureCubemap
4 years ago
seanpringle
4bcddc3b15
[wip] rlDrawMeshInstanced ( #1318 )
* rlDrawMeshInstanced first attempt
* rlDrawMeshInstanced OpenGL 3.3 and VAO checks
* rlDrawMeshInstanced GetShaderAttribLocation; comments
* example instanced shader
* RLGL_STANDALONE RAYMATH_STANDALONE Vector4
* apply suggested naming changes; add instanced mesh example
* remove orphan variables
4 years ago
kernelkinetic
e90b4d8915
Platform DRM ( #1388 )
* updated README.md
* fixed CMakeLists.txt to allow building and debugging with Visual Studio Code and CMAKE Tools extension
* added PLATFORM_DRM
contains mouse pointer code from https://github.com/chriscamacho
* removed redundant cleanup in InitGraphicsDevice
* fixed DRM connector mode selection
* added choosen DRM connected mode to log output
* added respecting TargetFPS on DRM mode selection, default to 60
* added support for GetMonitorRefreshRate
* changed SUPPORT_MOUSE_CURSOR_RPI to SUPPORT_MOUSE_CURSOR_NATIVE
* changed avoidProgressive to allowInterlaced
* cleanup, function extraction and improved mode selection
* README reverted to original for PR
* line endings fixed for core.c
* removed old code
* mouse pointer reverted to small square
* replaced SetGraphicDeviceName() by DEFAULT_GRAPHIC_DEVICE_DRM
Co-authored-by: kernelkinetic <kernelkinetic@outlook.com>
4 years ago
raysan5
032b2db398
REVIEWED: GenTextureCubemap()
Added some tracelog messages
4 years ago
raysan5
152665ff48
REDESIGNED: GenTexture*() #721
Functions have been redesigned to use rlgl and allow to externalize them (aka removing them from rlgl because they use custom shaders...).
4 years ago
raysan5
fa2c114636
WARNING: struct RenderTexture2D: Removed `depthTexture`
Not required anymore, attachment type is queried when required
4 years ago
Ray
8cf0be4b6c
Review memory loading functions signesness
4 years ago
raysan5
43b9113c0c
Reverted some previous changes...
4 years ago
raysan5
d7853127db
Reviewed some structs to reduce size and padding
Also updated raylib Wiki about struct sizes in 32bit and 64bit
4 years ago
Ray
c196b09d33
Remove function declaration added by error
4 years ago
Ray
db652daf42
ADDED: LoadFontFromMemory() (TTF only) #1327
4 years ago
Ray
88c5deac87
WARNING: REDESIGNED: LoadFontData()
4 years ago
Ray
5b60a743bd
ADDED: LoadWaveFromMemory() #1327
4 years ago
Ray
768b29dd74
ADDED: LoadImageFromMemory() #1327
4 years ago
Ray
cb8cbb038b
WARNING: RENAMED: GetExtension() to GetFileExtension()
4 years ago
raysan5
f1ed8be5d7
REDESIGNED: ColorFromHSV()
Replaced Vector3 by direct values, easier to use and understand
4 years ago
raysan5
a1422ba1c1
Review custom blend modes mechanism
rlBlendMode() has been added to rlgl to be used on BLEND_CUSTOM. This functionality is exposed to advance users.
In any case, new blending modes could be added if required.
4 years ago
cedemax
bfafb80cde
Multiple blendmodes ( #1324 )
Co-authored-by: max <max.cedercreutz@cetopo.com>
4 years ago
Juan Medina
dcbe481a28
adding new windows functions ( #1357 )
4 years ago
seanpringle
cebcdea80f
[wip] MeshNormalsSmooth() ( #1317 )
* MeshSmoothNormals() by average
* wrong comment
* spelling
* use correct function naming convention
5 years ago
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
5 years ago
raysan5
c57323f29c
ADDED: LoadImageAnim() to load animated sequence of images
5 years ago
Vlad Adrian
4d71e9b44f
Added new function `DrawTextureTiled()` ( #1291 )
* Implemented DrawTextureTiled()
* Example added
5 years ago
Ray
ba39a1b304
ADDED: UpdateTextureRec()
5 years ago
Shylie
25fb24ba7d
[add] GetMonitorRefreshRate(int monitor); ( #1289 )
5 years ago
raysan5
c078640fa5
Commented Fade() macro
5 years ago
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
5 years ago
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()
5 years ago
raysan5
d0e9228660
REDESIGNED: ImageResizeCanvas(), optimized #1218
5 years ago
raysan5
a9fb0aa207
ImageToPOT() renamed parameter
5 years ago
ChrisDill
aff47d1564
Added bool IsCursorOnScreen(void). ( #1262 )
- The Mouse struct already stores cursorOnScreen. This function simply exposes it to the usage code.
5 years ago
Random
d9a96c4ca0
added BLEND_SET ( #1251 )
* added BLEND_SET
* renamed BLEND_SET to BLEND_ADD_COLORS
5 years ago
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.
5 years ago
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
5 years ago
raysan5
7a1d3d807f
WARNING: RENAMED: ImageExtractPalette() -> GetImagePalette()
5 years ago
raysan5
959447d8ed
Reorganized texture functions
Removed ImageAlphaMask() dependency on [text] LoadBMFont()
5 years ago
raysan5
f6ca045735
ADDED: DrawTriangle3D() and DrawTriangleStrip3D()
Those functions could be very useful for custom triangle data drawing, using internal batch system.
5 years ago