aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2018-07-25Reviewed audio exampleRay
2018-07-25Merge pull request #591 from triplefox/patch-1Ray
Complete raw_audio_stream example
2018-07-25Merge pull request #593 from jubalh/update_builder_exampleRay
Update Builder example
2018-07-25Update Builder exampleMichael Vetter
Update Builder example for raylib 2.0.0. External OpenAL and GLFW are not required anymore.
2018-07-25Complete raw_audio_stream exampleJames Hofmann
1. Always synthesize a complete frame of audio, using a second buffer (this prevents gaps in playback) 2. Sine is computed correctly, with an adjustable frequency 3. User can modulate frequency in real-time with mouse 4. Entire audio buffer data is shown, visually demonstrating how sine changes in wavelength
2018-07-25Merge pull request #590 from pamarcos/fix_rlgl_standaloneRay
Fix rlgl.h to be used as a standalone
2018-07-25Fix rlgl.h to be used as a standalonePablo Marcos Oltra
2018-07-25CMake: Don't build rlgl_standalone as part of the examplesAhmad Fatoum
Closes #588.
2018-07-25Traivs CI: Add newer (9.4.1) Xcode configurationAhmad Fatoum
2018-07-25Fix HTML5 examples and games using CMake (#589)Pablo Marcos Oltra
Mimic the Makefile by outputting html + js instead of LLVM IR.
2018-07-24Updated animations supportRay
2018-07-24First working version of IQM animationsRay
Still a work in progress but it already works... Current riqm API could be simplified...
2018-07-23Travis CI: remove stray $ in .travis.ymlAhmad Fatoum
Fixes: 1d0ba96 ("Add GLFW-installed-but-using-our-GLFW-anyway configuration")
2018-07-23CMake: Fail when -D{PLATFORM,OPENGL_VERSION}=INVALID_VALUEAhmad Fatoum
as well as -DUSE_EXTERNAL_GLFW. Nips issues like #584 in the bud.
2018-07-23Travis CI: Add GLFW-installed-but-using-our-GLFW-anyway configurationAhmad Fatoum
2018-07-23Create CODE_OF_CONDUCT.mdRay
2018-07-23Merge pull request #583 from leereilly/exclamation-periodRay
Remove period after exclamation
2018-07-22Remove period :grey_exclamation:Lee Reilly
Fixes https://www.reddit.com/r/gamedev/comments/90z6fy/raylib_20_released/e2v5qpl/ :)
2018-07-22Updated MSVC lib releaseraysan5
2018-07-21Travis CI: Fix emscripten build breakageAhmad Fatoum
2018-07-21Merge pull request #579 from jessp/patch-2Ray
Convert window render sizes to floats
2018-07-21Convert window render sizes to floatsJess Peter
GLSL 1.10 is typesafe ([PDF specs](https://www.khronos.org/registry/OpenGL/specs/gl/GLSLangSpec.1.10.pdf), page 22), so this shader will not load properly during build. It's not a super important change, but I came across it while playing with the examples on my pi.
2018-07-21Added Android Makefile for gamesraysan5
2018-07-21Review formattingraysan5
2018-07-21Review templates Makefilesraysan5
2018-07-21Updated html5 libraryraysan5
2018-07-21Support examples with Emterpreterraysan5
Examples can be compiled for web with no code change at all! Usually examples need to be refactored for web... using emscripten code interpreter (emterpreter), it can manage synchronous while() loops internally... as a downside, execution is very slow...
2018-07-21Looking for a place for raylib resource fileraysan5
2018-07-21Review VS2015 and VS2017 projectsraysan5
2018-07-21Remove VS2017 UWP projectraysan5
Not properly configured, use VS2015.UWP as reference