summaryrefslogtreecommitdiffhomepage
path: root/src
AgeCommit message (Collapse)Author
2018-04-07Add GNUInstallDirs and USE_AUDIO/USE_WAYLAND options to CMake (#518)Milan Nikolic
2018-04-05Remove unnecesary NPOT checkRay
Now PLATFORM checks only used on core and utils modules
2018-04-05Simplified some codeRay
2018-04-04Added: ImageDrawRectangle()Ray
Renamed SaveImageAs() to ExportImage() for consistency on what actually happens with data.
2018-04-04Added funtion: ExportMesh()Ray
2018-04-03Merge branch 'master' of https://github.com/raysan5/raylibRay
2018-04-03Removed old codeRay San
2018-04-03Review ImageDraw() alpha blendingRay
Not sure if math is ok... just left a commented piece of code that uses pre-multiplied alpha.
2018-04-02Merge pull request #504 from Martinfx/masterRay
Fix potential bugs from static analysis
2018-04-02Review math usage to reduce temp variablesraysan5
2018-04-02Review InitWindow() to avoid void pointerraysan5
Reviewed for PLATFORM_ANDROID and PLATFORM_UWP
2018-04-02Fix sscanf() without field limits can crash with huge input data[email protected]
2018-04-02Fix Allocator sizeof operand mismatch[email protected]
2018-04-02Fix Dead initialization[email protected]
2018-04-02 Redundant assignment of 'angle' to itself[email protected]
2018-04-02Remove dead assignment[email protected]
2018-04-02Fix use after freeMartinfx
2018-04-02Fix value stored to 'num_channels' is never read[email protected]
2018-04-02Merge pull request #508 from a3f/masterRay
Allow use of main instead of android_main
2018-04-01Merge pull request #513 from autious/masterRay
Add orthographic 3d rendering mode
2018-03-31Initialize the timer after the graphics device on desktop and web platforms. ↵Jacques Heunis
(#516) This is already the order that is used for Android. It doesn't appear to make a difference on desktop but on web using the timer before it's been initialized (by glfwInit, inside InitGraphicsDevice) causes the a long (and variable but often several seconds) sleep between the first and second frame. Fixes: 468309d ("Early-exit InitWindow if InitGraphicsDevice fails")
2018-03-27Move deduplicate aspect variable in begin render.Max Danielsson
Changes motivated by commentary in pull request 513
2018-03-25Add 3d orthographic projection modeMax Danielsson
2018-03-20Fix an infinite loop in ALSA backend of mini_al.David Reid
2018-03-19Review tabs issue when compiling...Ray
...PLATFORM_ANDROID on Windows, using MinGW-w64 (x86) provided Make (GCC 7.2)
2018-03-18Fix a buffer overflow in the OSS/BSD backend.David Reid
2018-03-16Allow use of main instead of android_mainAhmad Fatoum
Inspired by #504. Instead of requiring the user to do PLATFORM_ANDROID #ifdefery, have the android_main entry point exported by raylib and call the user-defined main. This way many games could (in theory) run unmodified on Android and elsewhere. This is untested!
2018-03-16Complete review of raymath for API consistencyRay
2018-03-16Support case-insensitive extension checkRay San
2018-03-15Updated raylib dev versionRay
2018-03-15Reviewed raymath changesRay
2018-03-15Merge pull request #482 from a3f/masterRay
raymath.h: Use C99 inline semantics
2018-03-11Merge pull request #500 from victorfisac/fork/masterRay
[fork/master] Fixed some memory leaks and add null checks for consistency
2018-03-11Corrected typoraysan5
2018-03-11Correct issue with triangleCountraysan5
2018-03-10Fixed compilation code comment in headervictorfisac
2018-03-10Fixed memory leaks in physics step operationsvictorfisac
2018-03-09Added new functionsRay San
- SetWindowSize() to scale Windows in runtime - SetMouseScale() to scale mouse input, useful when rendering game to a RenderTexture2D that will be scaled to Window size (used on rFXGen tool)
2018-03-03Removed additional coderaysan5
GLFW has been updated to latest version, probably this code is not required any more due to already been integrated into library... but it needs to be tested...
2018-03-03Updated GLFW library to latest versionraysan5
2018-02-26Renamed CalculateBoundingBox() to MeshBoundingBox()Ray
Renamed function for consistency with a possible Mesh manipulation functions (maybe added in a future). Naming follows Image*() manipulation functions.
2018-02-26Removed tangents generationRay
It has no sense to be inside LoadOBJ(), mesh processing moved to own functions: MeshTangents() and MeshBinormals(). Not exposed to user yet.
2018-02-26Fix two memory leaks in jar_xm.hAhmad Fatoum
Found by LeakSanitizer in #494.
2018-02-25Update MakefileRDR8
$ make clean Makefile:296: *** missing separator. Stop.
2018-02-25Don't exceed signed int range when shifting leftAhmad Fatoum
Fixes UB in #489, found by UBSan.
2018-02-25Fix possible buffer overflow in LoadBMFontAhmad Fatoum
Width specifier doesn't include NUL terminator. Fixes #487 found by AddressSanitizer.
2018-02-24jar_xm: Workaround for unaligned pointer accessesAhmad Fatoum
jar_xm.h does some shady pointer casts leading to unaligned accesses and breaking strict aliasing. x86 has special circuitry for doing unaligned accesses, but on other architectures, it may trap and require kernel fix-up or crash outright. With this patch, one obstacle in porting raylib to the GameBoy Advance has been removed. Go for it ;-) To avoid having to rewrite that `mempool' code, insert padding before structs and instruct the compiler (GCC, most importantly), to be gentle when optimizing. This fixes #490 (Unless we got ourselves 256-bit pointers, if so, hello future!)
2018-02-24raymath.h: Use C99 inline semanticsAhmad Fatoum
RAYMATH_EXTERN_INLINE was renamed to RAYMATH_HEADER_ONLY, which user code may define if they want to use it as header-only library. If multiple files in the same project define RAYMATH_HEADER_ONLY, they might each have duplicate out-of-line definitions of the same functions. By default, raymath.h exposes inline definitions, which instructs the compiler _not_ to generate out-of-line definitons, if out-of-line definitions are required, those of the file defined with RAYLIB_IMPLEMENTATION are used instead. There may be only one such file. In C++ mode, the compiler will select only one out-of-line definition automatically, so no need to define a RAYLIB_IMPLEMENTATION. Unfortunately, we have to remove raymath function declaration from raylib.h as those declarations would lead to duplicate out-of-line definitions which would yield linker errors. This problem didn't exist with GNU89 or C++, because there multiple defintions are ok, but in C99 they aren't.
2018-02-24Make MatrixToFloat and Vector3ToFloat reentrantAhmad Fatoum
Besides making it thread-safe, it suppresses a GCC warning when making them static inline in an upcoming patch.
2018-02-24Update Makefiles. Enable example usage of staged libraylib.so.RDR8