raysan5
d6f4f3ee88
REMOVED: GetImageDataNormalized()
...
Let the advance users manage it as they want...
2020-11-28 19:11:31 +01:00
raysan5
14c1ee2681
ADDED: UnloadFontData()
2020-11-28 19:07:41 +01:00
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()
2020-11-23 23:46:05 +01:00
Ray
468a0bedd8
REDESIGNED: Window state config #1367 -WIP-
...
Some flags not working properly yet...
2020-11-23 00:49:27 +01:00
Ray
a560fe9a1e
Added some comments
2020-11-22 10:56:17 +01:00
Ray
bb9d734f69
Exposing some file access results to user layer #1420
2020-11-22 00:10:16 +01:00
raysan5
55dc8171f8
[text] Consider characters padding -WIP- #1432
2020-11-15 12:39:59 +01:00
Ray
3e1cd487df
Remove trailing spaces
2020-11-03 23:47:33 +01:00
Ray
5ac9cb04c2
Reverted ChangeDirectory() redesign
...
It returns true on success again
2020-11-01 19:06:21 +01:00
Ray
01d9af12f7
REDESIGNED: ChangeDirectory()
...
Not returning error code (or success), just log if it fails
2020-11-01 18:14:55 +01:00
Dominus Iniquitatis
fc1fc250e7
A couple of little comment fixes ( #1416 )
2020-10-31 14:40:35 +01:00
raysan5
482b8a5e7e
Some tweaks
2020-10-24 10:37:15 +02:00
Ray
f12db180cd
Reviewed PR #1407
2020-10-21 11:08:37 +02:00
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
2020-10-21 10:55:52 +02:00
Doyle
b29311c7ca
mouse: Return float movement for precise scrolling where possible ( #1397 )
2020-10-05 20:16:23 +02:00
Ray
a850246030
Review Texture type
...
Texture type also maps to Texture2D and TextureCubemap
2020-09-28 00:40:32 +02:00
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
2020-09-27 10:29:05 +02:00
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 >
2020-09-27 10:18:43 +02:00
raysan5
032b2db398
REVIEWED: GenTextureCubemap()
...
Added some tracelog messages
2020-09-21 13:18:53 +02:00
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...).
2020-09-18 13:50:51 +02:00
raysan5
fa2c114636
WARNING: struct RenderTexture2D: Removed depthTexture
...
Not required anymore, attachment type is queried when required
2020-09-17 13:44:03 +02:00
Ray
8cf0be4b6c
Review memory loading functions signesness
2020-09-14 19:20:38 +02:00
raysan5
43b9113c0c
Reverted some previous changes...
2020-09-14 15:55:31 +02:00
raysan5
d7853127db
Reviewed some structs to reduce size and padding
...
Also updated raylib Wiki about struct sizes in 32bit and 64bit
2020-09-14 15:36:50 +02:00
Ray
c196b09d33
Remove function declaration added by error
2020-09-13 16:43:19 +02:00
Ray
db652daf42
ADDED: LoadFontFromMemory() (TTF only) #1327
2020-09-13 16:42:31 +02:00
Ray
88c5deac87
WARNING: REDESIGNED: LoadFontData()
2020-09-13 16:41:52 +02:00
Ray
5b60a743bd
ADDED: LoadWaveFromMemory() #1327
2020-09-13 15:38:57 +02:00
Ray
768b29dd74
ADDED: LoadImageFromMemory() #1327
2020-09-13 15:37:15 +02:00
Ray
cb8cbb038b
WARNING: RENAMED: GetExtension() to GetFileExtension()
2020-09-13 14:07:08 +02:00
raysan5
f1ed8be5d7
REDESIGNED: ColorFromHSV()
...
Replaced Vector3 by direct values, easier to use and understand
2020-09-07 19:33:06 +02:00
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.
2020-09-01 21:02:19 +02:00
cedemax
bfafb80cde
Multiple blendmodes ( #1324 )
...
Co-authored-by: max <max.cedercreutz@cetopo.com >
2020-09-01 20:33:49 +02:00
Juan Medina
dcbe481a28
adding new windows functions ( #1357 )
2020-09-01 20:29:13 +02:00
seanpringle
cebcdea80f
[wip] MeshNormalsSmooth() ( #1317 )
...
* MeshSmoothNormals() by average
* wrong comment
* spelling
* use correct function naming convention
2020-07-20 11:05:18 +02:00
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
2020-07-10 19:18:29 +02:00
raysan5
c57323f29c
ADDED: LoadImageAnim() to load animated sequence of images
2020-07-10 13:59:01 +02:00
Vlad Adrian
4d71e9b44f
Added new function DrawTextureTiled()
( #1291 )
...
* Implemented DrawTextureTiled()
* Example added
2020-06-27 23:59:14 +02:00
Ray
ba39a1b304
ADDED: UpdateTextureRec()
2020-06-25 16:26:59 +02:00
Shylie
25fb24ba7d
[add] GetMonitorRefreshRate(int monitor); ( #1289 )
2020-06-24 18:28:57 +02:00
raysan5
c078640fa5
Commented Fade() macro
2020-06-16 10:37:31 +02:00
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
2020-06-16 10:36:05 +02:00
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()
2020-06-15 12:02:50 +02:00
raysan5
d0e9228660
REDESIGNED: ImageResizeCanvas(), optimized #1218
2020-06-07 18:33:30 +02:00
raysan5
a9fb0aa207
ImageToPOT() renamed parameter
2020-06-07 18:32:20 +02:00
ChrisDill
aff47d1564
Added bool IsCursorOnScreen(void). ( #1262 )
...
- The Mouse struct already stores cursorOnScreen. This function simply exposes it to the usage code.
2020-05-26 11:59:25 +02:00
Random
d9a96c4ca0
added BLEND_SET ( #1251 )
...
* added BLEND_SET
* renamed BLEND_SET to BLEND_ADD_COLORS
2020-05-16 13:39:38 +02:00
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.
2020-05-14 14:00:37 +02:00
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
2020-05-09 12:39:41 +02:00
raysan5
7a1d3d807f
WARNING: RENAMED: ImageExtractPalette() -> GetImagePalette()
2020-05-09 12:07:18 +02:00