aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-02-11Some reviews for Android compilationRay
2018-02-11Corrected masteVolume settingRay
2018-02-11Reviewed mini_al implementationRay
- Some functions renamed - Comments reviewed - Functions reorganized
2018-02-09Early-exit InitWindow if InitGraphicsDevice failsAhmad Fatoum
Otherwise we may run into LoadDefaultFont and crash in rlLoadTexture Also moves InitTimer() before InitGraphicsDevice(), to allow it to be tested even if InitWindow ultimately fails.
2018-02-09Updated external librariesRay
2018-02-08InitWindow: return false if no monitor foundAhmad Fatoum
Otherwise we run into an assertion failure inside GLFW's glfwGetVideoMode. Example: http://www.cpantesters.org/cpan/report/b4ba5894-0bdb-11e8-841e-2c60b04e1d2d This is related to #456.
2018-02-05Added function LoadShaderCode()Ray
Allows loading of shader from text code string directly
2018-02-04Merge branch 'develop' of https://github.com/raysan5/raylib into developraysan5
2018-02-04Incremeted version to align with CMakeraysan5
2018-02-04Bump version to 1.9.4Ahmad Fatoum
2018-02-04Updated raylib versionraysan5
Note that this version is under development and could be buggy on some platforms...
2018-02-04Security check in case window initialization failsraysan5
2018-02-04Reviewed window initializationraysan5
In case graphic device could not be created it returns false instead of failing with an error tracelog (and consequently closing the program). Window initialization success could be checked with new function IsWindowReady()
2018-02-03Return false from InitWindow if glfwInit or glfwCreateWindow failsAhmad Fatoum
You can't do much with raylib if glfwInit or glfwCreateWindow fails, currently it just exits by means of TraceLog(LOG_ERROR. User code, however, might want to fall back to a text-only UI or display a warning if raylib can't be used.
2018-02-03exit(3), don't crash, when glfwCreateWindow failsAhmad Fatoum
glfwSetWindowPos was called on a NULL window, triggering an assert inside GLFW. Check for failure and exit cleanly by means of TraceLog(LOG_ERROR instead.
2018-02-03CMake: Add tristate option for using system GLFW (#455)Ahmad Fatoum
-DWITH_SYSTEM_GLFW=ON: Link against system glfw and fail otherwise -DWITH_SYSTEM_GLFW=OFF: Use embedded rglfw.c -DWITH_SYSTEM_GLFW=IF_POSSIBLE: Probe for system glfw but fallback to rglfw if unavailable Also change Linux 64-bit CI build to install system glfw and use it, so this doesn't bitrot. Addresses #453.
2018-02-03CMake: Fix typo in MACOS_FATLIBAhmad Fatoum
2018-02-02Added function DrawRectangleLinesEx()Ray San
2018-01-31Corrected typoRay
2018-01-31Added missing keys definitionsRay
2018-01-28Corrected several issues...Ray
2018-01-27GLFW: Fix build error on Linux < v2.6.39Ahmad Fatoum
Cherry-pick from upstream glfw/glfw#1196 Found in CPANtesters test of Alien::raylib: http://www.cpantesters.org/cpan/report/d956d128-0339-11e8-b0d1-b6c4abd39192
2018-01-27CMake: Search dependencies and build pkg-config's Libs.private with itAhmad Fatoum
2018-01-27CMake: remove OpenAL dependencyAhmad Fatoum
2018-01-26Clear fbo for drawingRay
Just in case ClearBackground() is not used after BeginTextureMode(), it clears fbo to color defined by previous ClearBackground()
2018-01-25#include header for time() on WindowsAhmad Fatoum
2018-01-25#include header for glInsertEventMarkerEXT on macOSAhmad Fatoum
2018-01-25Make function calls without prior declaration an errorAhmad Fatoum
which is the default behavior on C99 and up.
2018-01-25Support DEBUG library buildingRay
2018-01-23Review mipmaps generation issueRay
When changing image format, mipmaps are lost and regenerated from scratch
2018-01-22Improved pixel formats supportRay
Review rlLoadTexture() function to make it simpler, now OpenGL texture glInternalFormat, glFormat and glType are retrieved with new function GetGlFormats()
2018-01-19Reviewed UWP branch integrationRay
2018-01-19Merge branch 'develop' into testing_uwpRay
2018-01-18GCC/Clang: Treat void pointer arithmetic as errorAhmad Fatoum
As an extension, GNU C treats sizeof(void) as 1. MSVC doesn't. Make it an error on GCC/Clang to avoid accidental MSVC breakage.
2018-01-18MSVC: Fix void pointer arithmetic errorAhmad Fatoum
GNU C allows it as a compiler extension, but MSVC doesn't.
2018-01-18Added function: ImageMipmaps()Ray
2018-01-17Reviewed VS2015 projectsRay
- Support OpenGL 1.1 if selected macro - Corrected MSVC compiler issues with (void *) data - Removed raylib.dll project - Created DEBUG_DLL and RELEASE_DLL configurations
2018-01-17Reviewed function GenImagePerlinNoise()Ray
Added support for noise image offset
2018-01-16Redesigned rlLoadTexture()Ray
- Added support for mipmap levels loading - Removed internal function LoadTextureCompressed(), not required any more...
2018-01-15Code tweak while using OpenAL backend-
2018-01-15Reviewed Makefiles...-
- Renamed VERSION to RAYLIB_VERSION - Renamed API_VERSION to RAYLIB_API_VERSION - Renamed RAYLIB_RELEASE to RAYLIB_RELEASE_PATH - Support Web Assembly compilation on PLATFORM_WEB
2018-01-11Added new function: ImageAlphaCrop()Ray
2018-01-08Corrected issue with matricesRay
Matrix stack system should be reviewed but, in the meantime, currentMatrix should be reseted in order of 3d to work
2018-01-07Use busy wait loopRay
If not using busy wait loop, linkage with WINMM in Windows platform is required
2018-01-07Launch draw call if buffer limits reachedRay
Note that this solution is a temporal patch, not properly tested and prone to fail, specially if matrix are pushed into the stack...
2018-01-07Added new image functionsraysan5
- Added: ImageAlphaClear() - Added: ImageAlphaPremultiply() - Reorganized some functions
2018-01-06Review float pixel format textures supportraysan5
2018-01-06Improved pixel formats supportraysan5
- Renamed enum TextureFormat to PixelFormat for consistency - Added support for pixel format UNCOMPRESSED_R32 - Using GetPixelDataSize() where required
2018-01-06Added function declarationraysan5
2018-01-06Added function: GetPixelDataSize()raysan5
Just found I need that function...