aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-10-13Merge pull request #661 from ChrisDill/masterRay
Added GetLastWriteTime to allow for file reloading
2018-10-12Added GetLastWriteTime to allow for file reloadingChrisDill
- Added a function to get the last write time of a file. I used this so I can reload files or resources if the time since they were last loaded changes.
2018-10-11CMake: remove erroneous status messageAhmad Fatoum
OPENGL_VERSION is the version requested by the user, not the detected one...
2018-10-11CMake: Fix build breakage trying to set OpenGL versionAhmad Fatoum
Fixes #660.
2018-10-11Update CONTRIBUTING.mdRay
2018-10-11Update CONTRIBUTING.mdRay
2018-10-11Update CONTRIBUTING.mdRay
2018-10-11Review raylib bindingsRay
2018-10-11Merge pull request #659 from noshbar/text-memory-leakRay
Fixes memory leak in text.c
2018-10-10Minor tweaksRay
2018-10-10Merge pull request #657 from noshbar/minor-game-fixesRay
3 minor sample game cleanups:
2018-10-10Merge pull request #656 from noshbar/vs2017-fixRay
Physac.h fix for variable array size declaration.
2018-10-10Merge pull request #658 from noshbar/incorrect-GenImageFontAtlas-defRay
GenImageFontAtlas prototype in raylib.h is incorrect.
2018-10-10Fixes memory leak in text.cnoshbar
GenImageFontAtlas() allocates an array of stbrp_rect for the packing functions, but it never frees them.
2018-10-10GenImageFontAtlas prototype in raylib.h is incorrect.noshbar
The prototype of GenImageFontAtlas() in the main raylib.h header has a set of swapped parameter names. Going through the usage of the function within raylib itself, it appears as if the correct order is: 1) charsCount 2) fontSize However, it's exposed to the world as the other way around, which may cause some major confusion.
2018-10-103 minor sample game cleanups:noshbar
* changed bitwise & to logical && * removed redundant state check * moved a strcpy inside a NULL check to prevent a crash. NOTE: nothing sensible will happen as a result, but no crash at least.
2018-10-10Physac.h fix for variable array size declaration.noshbar
Generating the projects using CMake, targeting VS2017, results in an error when compiling. This is due to physac.h trying to make a 'vertices' array of size 'int count', making it const does not work, either. This changes the static declaration to a malloc/free combo. Tested using the physics-demo.
2018-10-10Small tweak to avoid warningRay
2018-10-10ADDED: GetFileNameWithoutExtRay
2018-10-09Corrected issues with VS2017 compilationRay
2018-10-08ADDED: ImageExtractPalette()Ray
2018-10-08OSX native window keeps breaking...Ray
2018-10-08Corrected issue with dirent.h inclusion...Ray
...and MacOSX OBJC types definition...
2018-10-08Avoid multiple gl.h inclusionsRay
Expose native Cocoa Window again...
2018-10-08dirent.h implementation for MSVCRay
This implementation is a bit limited, does not support wide characters directories but it's a temporal solution... This solution uses "io.h" (like MinGW provided one) while other modern solutions use the "windows.h", that result in duplicate symbols issues... need to review it carefully.
2018-10-08Trying to include dirent.h for MSVCRay
2018-10-08Corrected issue with native window handler on OSXRay
Could not be retrieved for now...
2018-10-08Corrected issue with native handler on OSXRay
2018-10-08Corrected issue with GetWindowHandle()Ray
Not supported for the moment, issues with Linux (symbol `Font` redefined) and OSX (NSGL type redefined)
2018-10-08Multiple changes, check descriptionRay
REVIEW: Reorganized global variables for consistency ADDED: GetWindowHandle() to get native window handle ADDED: GetDirectoryFiles() to get files list for a DIR
2018-10-07README.md: add link to raylib bindings listAhmad Fatoum
2018-10-07CMake: report what kind of libraries will be builtAhmad Fatoum
2018-10-07CMake: accept standard -DBUILD_SHARED_LIBS as wellAhmad Fatoum
-DBUILD_SHARED_LIBS=OFF == -DSHARED=OFF -DSTATIC=ON -DBUILD_SHARED_LIBS=ON == -DSHARED=ON -DSTATIC=OFF Fixes #626.
2018-10-07Merge pull request #655 from a3f/masterRay
core: workaround window not being rendered till moved on macOS Mojave
2018-10-07core: workaround window not being rendered till moved on macOS MojaveAhmad Fatoum
Apple ought to fix their OpenGL implementation, but with OpenGL now deprecated this might not happen. This has been reported upstream in GLFW in glfw/glfw#1334. The workaround comes from kovidgoyal/kitty@b82e74f99 This also fixes the HiDPI (Retina) scaling issues reported in #497, so the workaround is enabled anywhere __APPLE__ is defined.
2018-10-07raylib.h: include <stdbool.h> if availableAhmad Fatoum
Previously, if <raylib.h> was #included prior to another header that defined bool, the compilation would fail. This is e.g. the case for <perl.h> and <objc/objc.h> which both fall back to the <stdbool.h> if C99 is available. The following commit includes <objc/objc.h> in src/core.c, which causes the same problem. Avoid this by checking for C99 bool like we already do for C++'s.
2018-10-07CMake: suppress OpenGL deprecation warnings on macOS MojaveAhmad Fatoum
A single warning at configuration time is enough.
2018-10-04Merge pull request #653 from pamarcos/physac_fixRay
[physac] Fix physac's fixed time step
2018-10-04Fix physac's fixed time stepPablo Marcos Oltra
2018-10-01Review void pointer incrementationRay
2018-10-01Support KXT image file exportRay
[textures] Added SaveKTX() [rlgl] Exposed rlGetGlTextureFormats()
2018-10-01Update version number (internally)Ray
2018-09-30Merge pull request #650 from ChrisDill/masterRay
Added monitor functions
2018-09-30Changed monitor functions to use a indexChrisDill
- Using same idea as SetWindowMonitor to take in a index with 0 being the primary monitor.
2018-09-29Forgot #else in platform checkChrisDill
- Added else so return not compiled twice.
2018-09-29Added platform checkChrisDill
- Added PLATFORM_DESKTOP check for Monitor functions to try to fix issue on android. - Not sure what return types should be when not on desktop. Added rough guess for now.
2018-09-27Changed tabs to spacesChrisDill
- Fixed tabs used instead of 4 spaces
2018-09-27Merge remote-tracking branch 'upstream/master'ChrisDill
2018-09-27Added monitor functionsChrisDill
- Get number of monitors - Get size, physical size and name of primary monitor. Could pass monitor id instead not sure.
2018-09-26Updated icon dataRay