summaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)Author
2018-08-14Shapes: Simplifies CheckCollisionRecsJoseph-Eugene Winzer
By comparing the edges of the rectangles relative to each other we can determine if they intersect or not.
2018-08-13Merge pull request #620 from mackron/dr/mini_alRay
Update mini_al to 0.8.5.
2018-08-12Update mini_al.David Reid
This should improve the Raspberry Pi experience.
2018-08-09Merge pull request #616 from overdev/masterRay
[Feature Request] 9-patch drawing function
2018-08-08Update textures.cJorge A. Gomes
See raylib/examples/textures/textures_image_9patch.c for how to use `DrawTextureNPatch` function.
2018-08-08Update raylib.hJorge A. Gomes
2018-08-08Added example screenshot.Jorge A. Gomes
2018-08-08Added texture_image_9patch.c exampleJorge A. Gomes
2018-08-08Added 9-patch texture used in the example code.Jorge A. Gomes
2018-08-08Updated mini_alRay
Corrected issue with sound playing (pop sound at the end)
2018-08-07Update CONTRIBUTING.mdRay
2018-08-07Reviewed AnimatedModel structRay
Just reviewing for a possible adaptation of AnimatedModel to default raylib Model...
2018-08-06Reviewed spacings on latest PRRay
2018-08-06Merge pull request #618 from kimkulling/fix_compiler_warningsRay
Fix compiler warnings
2018-08-05Fix compiler warnings of libKim Kulling
2018-08-05Fix compiler warings in texture.c and more.Kim Kulling
2018-08-04Fix compiler warnings, first partKim Kulling
2018-08-03Update textures.cJorge A. Gomes
Added support form vertical and horizontal 3-patches. Corrected the distortion caused when destRec size is smaller than 4x4. Now even 1x10 or 0x0 sizes are drawn correctly.
2018-08-03Update raylib.hJorge A. Gomes
Added support form vertical and horizontal 3-patches. Corrected the distortion caused when destRec size is smaller than 4x4. Now even 1x10 or 0x0 sizes are drawn correctly.
2018-08-03Merge pull request #609 from pamarcos/fix_physac_examplesRay
[physac] Fix Physac examples to be run without creating new thread
2018-08-03Update textures.cJorge A. Gomes
Added DrawNinePatch() function implementation.
2018-08-03Update raylib.hJorge A. Gomes
Added NinePatch struc definition and function prototype.
2018-07-31Added VSCode project templateRay
2018-07-30Merge pull request #612 from ethan-tqa/masterRay
fix problem when compiling with MSVC 2017, error C2177
2018-07-30make sure that the constant is of float type, not doubleEthan Trịnh
2018-07-30fix problem when compiling with MSVC 2017, built-in CMake: C2177 constant ↵Ethan Trịnh
too big
2018-07-30Add CMake entry to projects/README.mdAhmad Fatoum
2018-07-29Sync with upstream GLFW pull requestAhmad Fatoum
The GLFW tree distributed with raylib has two modifications: - GLFW_PKG_{DEPS,LIBS} are exported to PARENT_SCOPE, so we can use them in our pkg-config file - An intermediary glfw_objlib target is added, so we can reexport GLFW symbols from libraylib.a rglfw can fix the second point, but for Wayland usage, we would have to replicate protocol generation, so we just leverage GLFW's existing support instead. To make maintenance easier, I have submitted a pull request for including these modifications to upstream GLFW. And to make that one easier, this patch dog-foods the modifications, so raylib users can help find regressions. :-) glfw/glfw#1307
2018-07-29Merge pull request #610 from pamarcos/fix_chdir_macosRay
[games] Prevent GLFW changing working dir to 'Resources'
2018-07-29Fix Physac examples to be run without creating new threadPablo Marcos Oltra
2018-07-29CMake: Make the raylib project as a whole embeddableAhmad Fatoum
So user code can use add_subdirectory to build it (similar to what we do with GLFW or what the projects/CMake/CMakeLists.txt can do).
2018-07-29Prevent GLFW changing working dir to 'Resources'Pablo Marcos Oltra
2018-07-29Add projects/CMake exampleAhmad Fatoum
The CMakeLists.txt checks for an installed raylib and downloads and installs one if none is found. Afterwards, it builds core_basic_window.c
2018-07-29Fix typo (s/proedural/procedural)Ahmad Fatoum
2018-07-29Merge pull request #608 from a3f/masterAhmad Fatoum
CMake: Major cleanup to support find_package(raylib)
2018-07-29CMake: include rlgl_standalone in -DBUILD_EXAMPLESAhmad Fatoum
With the recent CMake cleanup, getting raylib's dependencies for use when building rlgl_standalone is quite straight forward, so lets enable it again. Fixes #508, just properly this time. :)
2018-07-29CMake: Set -DMACOS_FATLIB=OFF by defaultAhmad Fatoum
Homebrew doesn't ship 32-bit libraries anymore, so using both -DUSE_EXTERNAL_GLFW and -DMACOS_FATLIB with a Homebrew GLFW would fail. With -DUSE_EXTERNAL_GLFW=OFF, this is not a problem, but I think keeping it off by default makes more sense. If someone wants universal libraries, they can just toggle it.
2018-07-29core: Don't use GLFW_TRANSPARENT_FRAMEBUFFER with older GLFWsAhmad Fatoum
PLATFORM_WEB is not the only platform that doesn't define GLFW_TRANSPARENT_FRAMEBUFFER, it's also recent enough that it's not included in the most recent GLFW 3.2.1 release, so this error can creep up when using USE_EXTERNAL_GLFW.
2018-07-29CMake: Major cleanup to support find_package(raylib)Ahmad Fatoum
Remove that link_libraries_to_executable() hack and defines a proper raylib target that can be used with target_link_libraries. The same target is also available for external (user) code by using find_package(raylib). This results in: - Remove hardcoded build directories from examples and games CMakeLists.txt - Allow rlgl_standalone and other special examples to be built easily - Allow CMake projects to find_package(raylib instead of fiddling with pkg-config - Makes code a little more maintainable - Fixes #471, #606. - Makes code less confusing by removing the double use of PLATFORM (#584). Note that this is still not _The Right Way_(TM), because normally raylib-config.cmake (or its includes) would be automatically generated. I didn't manage to get that to work though, so I went the easier route of just wrapping pkg_check_modules for consumption by find_package.
2018-07-29CI: Build with all optional formats enabledAhmad Fatoum
also makes one configuration shared-only dr_flac is not built on i386, because GCC 4.8 complains about asm("cpuid" clobbering ebx, as it's using ebx for PIC. Instead of downloading a newer GCC (and multilib), disable FLAC for that one configuration...
2018-07-29Travis CI: Add OpenAL-ConfigurationAhmad Fatoum
2018-07-29Merge pull request #607 from jubalh/fixmuRay
Fix bug in LoadMusicStream
2018-07-29Fix bug in LoadMusicStreamMichael Vetter
free() and NULL at the end.
2018-07-28Corrected bug LoadMusicStream()raysan5
2018-07-28Corrected timing typoraysan5
2018-07-28Reviewed music loadingraysan5
2018-07-28Reviewed custom logging functionalityraysan5
2018-07-28Merge pull request #603 from jubalh/lseRay
Deal with failed LoadMusicStream
2018-07-27 Deal with failed LoadMusicStreamMichael Vetter
It would be good to have a way to continue execution even when loading a stream didn't work. Free music and set it to NULL in case something went wrong, so that users can check for it.
2018-07-26Add SetTraceLogCallback to enable users setting custom logging (#597)Pablo Marcos Oltra