aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-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-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-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-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
2018-09-25PNG image size optimizationRay
2018-09-19Support MP3 wave loading -NOT TESTED-Ray
2018-09-18enjoy!Ray
2018-09-18enjoy!Ray
2018-09-17Support ExportImage() as raw pixel dataRay
Added note on KTX 2.2
2018-09-17Support image exportRay
2018-09-17Improved data export capabilities!Ray
REVIEWED: ExportImage() REVIEWED: ExportMesh() ADDED: ExportWave() REMOVED: Internal funcs: SavePNG(), SaveBMP() NOTE: These changes break the API (parameters order)
2018-09-14Removed TABSRay
2018-09-14Update mini_al to v0.8.8Ray
Some minor tweaks around
2018-09-13Merge pull request #641 from ChrisDill/masterRay
Added a few missing functions to raymath
2018-09-13Added a few missing functions to raymathChrisDill
- Added Vector2MultiplyV - Added Vector2DivideV - Added Vector3Divide - Added Vector3DivideV
2018-09-06Update models.cF.H
fix bug with GenMeshPlane() creating too many vertices/texcoords/normals for the plane mesh
2018-09-06Support aliased font texture generationRay
Useful for bitmaps pixelated fonts where anti-aliasing is not desired! Change also enables additional font generation mechanisms in a future (cleartype, hinting...).
2018-09-05Started working on IQM/glTF loadersRay
2018-09-05Corrected issue with font tintRay
2018-09-05Corrected issue with typesRay
2018-08-25Create release directory if not existraysan5
2018-08-25Review naming to follow raylib conventionsraysan5
strprbrk() does not follow raylib function name convention but as it is very similar to the standard strpbrk(), we'll keep the naming... also, don't like to mix static functions with API functions but as strprbrk() is just used in the two functions below, it's ok to be there... maybe it could be refactored in a future or even move the logic inside the required functions...
2018-08-25GetDirectoryPath: return NULL, don't crash when no slashAhmad Fatoum
Noted in #634.
2018-08-25core: Support slashes as well in GetFileName & GetDirectoryPathAhmad Fatoum
Fixes #634.
2018-08-21lerp for vector2 and floatOğuzhan Çankaya
2018-08-19Add the remaining numeric keypad keys, and a few other missing onesJustin Clift
2018-08-19Add the plus and minus keys on both the main keyboard and keypadJustin Clift
2018-08-17Corrected issue with batch overflowsRay
When a batch reach its vertex limit, a draw call is issued and batch restarted for refilling but if the draw call was issued for vertex data accumulated inside rlPushMatrix/rlPopMatrix, draw call was issued before the rlPopMatrix, consequently modelview matrix was not properly recovered before the draw call... obviously, it only happened the following draw calls, not the first one... Now it works ok but this system needs to reviewed, noticed and important frames drop when processing around 20 dynamic batch draw calls, it means filling MAX_QUADS_BATCH (8192) quads of data 20 times per frame, including data updating and sending for draw processing. Doing some maths, it means: Vertex data (float) -----> 8192 quads * 4 vertex * 3 comp * 4 byte = 393216 bytes Texcoords data (float) -> 8192 quads * 4 vertex * 2 comp * 4 byte = 262144 bytes Color data (uchar) -----> 8192 quads * 4 vertex * 4 comp * 1 byte = 131072 bytes Thats a total of 786432 bytes (0.75MB) sent to GPU 20 times per frame for processing... I'm testing in an Intel HD Graphics integrated, I imagine is too much data to be sent and and it causes stalls, so the frames drop...
2018-08-17Proper variables initializationRay
2018-08-17Working on batch reset issueRay
Corrected memory leak!
2018-08-16Merge pull request #625 from ChrisDill/masterRay
Raymath dllexport fix
2018-08-16Improved raymath definesChrisDill
- Using raylib.h as reference, added define checks for BUILD_LIBTYPE_SHARED and USE_LIBTYPE_SHARED.
2018-08-16Raymath dllexport fix if _WIN32 definedChrisDill
- Added check for dllexport to compile if _WIN32 defined. - If not defined then use the original RMDEF.