summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2020-10-31A couple of little comment fixes (#1416)Dominus Iniquitatis
2020-10-31REDESIGNED: Multiple sampler2D usage on batch systemRay
New implementation allow enabling additional textures per batch only.
2020-10-29Support multiple sample2D on batch drawing #1333Ray
2020-10-29REVIEWED: GetWindowScaleDPI() #1086Ray
2020-10-26Support additional texture units for default batch system #1333Ray
This path requires some testing...
2020-10-26Review some commentsRay
2020-10-24Some tweaksraysan5
2020-10-21Reviewed PR #1407Ray
2020-10-21Added desktop cursor getter and setter functions (#1407)Chance Snow
* [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-13fixed mouse movements are bound to the screen resolution ↵kernelkinetic
(https://github.com/raysan5/raylib/issues/1392) (#1410)
2020-10-10Updated miniaudio #1402raysan5
2020-10-08allow for multiple materials in obj files (#1408)chriscamacho
* allow for multiple materials in obj files also fix obj_loader hash map issues * minor fix for warning Co-authored-by: codifies <[email protected]>
2020-10-05Replace 0.f by 0.0fRay
2020-10-05mouse: Return float movement for precise scrolling where possible (#1397)Doyle
2020-10-05Review "aggregate initializations" #1403Ray
2020-10-04Add Vector2Reflect to raymath.h (#1400)Daniel-Junior Dubé
Vector3Reflect exists but not Vector2Reflect. The code is pretty much the same. I'm not sure what RMDEF does, but I added it to match other function definitions (haven't done much C programming, maybe I'm missing something). Can someone explain to me what it does?
2020-09-29Fix 1393 (#1395)Tobias Jammer
2020-09-28Review Texture typeRay
Texture type also maps to Texture2D and TextureCubemap
2020-09-27Added noteraysan5
2020-09-27[wip] rlDrawMeshInstanced (#1318)seanpringle
* 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-27Platform DRM (#1388)kernelkinetic
* 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 <[email protected]>
2020-09-26REVIEW: GenTextureCubemap(), avoid using models.c functionsraysan5
- DrawCube() belongs to models.c -> rl*() alternative should be used
2020-09-26Added new GIF recording library (not used yet)raysan5
2020-09-25REVIEW: Replace rlglDraw() calls by DrawRenderBatch() internal callsraysan5
2020-09-25REVIEWED: GenTextureCubemap(), use rlgl functionality onlyraysan5
Function has been reviewed to avoid any direct OpenGL call and use rlgl functionality, also, GenDrawCube() has been replaced by the internal batch system with DrawCube(). WARNING: rlEnableTexture() call must be issued after enabling the current framebuffer when using batch mechanism because it includes a set of security checks to avoid batch overflow and push/pop matrix operations.
2020-09-25Add join_paths and join prefix with include/lib dirs (#1383)Adam Griffiths
Fixes #1380: incorrect usage of CMake paths which causes issues on some more complicated environments (NixOS especially).
2020-09-21REVIEWED: GenTextureCubemap()raysan5
Added some tracelog messages
2020-09-19Updated joystick mappings with latest version of gamecontrollerdb (executed ↵coderoth
GenerateMappings.cmake), so that raylib can identify more joysticks (#1381)
2020-09-18Updated build script to generate .a on WebAssemblyraysan5
This is the recommended way
2020-09-18Updated library build script for HTML5 (emscripten 2.0.4)raysan5
2020-09-18EXAMPLE: models_skybox works on OpenGL ES 2.0raysan5
2020-09-18Review commentraysan5
2020-09-18REDESIGNED: GenTexture*() #721raysan5
Functions have been redesigned to use rlgl and allow to externalize them (aka removing them from rlgl because they use custom shaders...).
2020-09-18REVIEWED: rlFramebufferAttach() to support texture layersraysan5
Required to attach multiple color textures and multiple cubemap faces
2020-09-18fixed wrong error message for input device on RPI (#1379)kernelkinetic
* fixed wrong error message for input device * error message without errnofor input device on RPI to prevent from including additional header Co-authored-by: kkl <[email protected]>
2020-09-18Corrected minor framebuffer issue on OpenGL ES 2.0raysan5
2020-09-18WARNING: REDESIGN of rlgl framebuffers API #721raysan5
This redesign allows more flexibility when creating RenderTexture and a simplification (and hopefully removal) of `GenTexture*()` functions, that should not belong to this model but the user code, due to the use of custom shaders. Also, this new API opens the door for a possible GBuffers type and advance rendering possibilities... Some functions of the API have been also simplified or even removed. rlgl module can be used as an standalone library, so, a version for the library has been added: v3.1.0, matching current raylib version.
2020-09-17WARNING: struct RenderTexture2D: Removed `depthTexture`raysan5
Not required anymore, attachment type is queried when required
2020-09-16REVIEWED: UnloadShader() issueraysan5
Avoid unloading default shader, raylib will take care of it
2020-09-16Minor: remove tabsraysan5
2020-09-16Make sure to detach data before deletingraysan5
Before deleting certain objects, they must be detached from their parents. That's the case for shader objects after linkage to shader program and also for the texture/cubemaps/renderbuffers attached to framebuffers. If objects are deleted before detached, they are kept in memory to avoid accessing deleted data.
2020-09-16Avoid GETCWD() warning #1371raysan5
2020-09-16Add security checks when loading data from memoryraysan5
2020-09-15Review GenDrawCube() and GenDrawQuad()raysan5
Better organized and commented
2020-09-15REVIEWED: SaveWAV() to use memory write insted of fileraysan5
2020-09-15Solved issues when compiled for OpenGL 1.1raysan5
2020-09-14Review memory loading functions signesnessRay
2020-09-14REVIEWED: GetTextureData(), allow retrieving 32bit float dataraysan5
2020-09-14Reverted some previous changes...raysan5
2020-09-14Reviewed some structs to reduce size and paddingraysan5
Also updated raylib Wiki about struct sizes in 32bit and 64bit