summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
AgeCommit message (Collapse)Author
2018-10-13Renamed new PR functionraysan5
RENAME: GetLastWriteTime() to GetFileModTime()
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-10Minor tweaksRay
2018-10-10ADDED: GetFileNameWithoutExtRay
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-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-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-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-25PNG image size optimizationRay
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-14Update mini_al to v0.8.8Ray
Some minor tweaks around
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-05Fix compiler warings in texture.c and more.Kim Kulling
2018-07-29Prevent GLFW changing working dir to 'Resources'Pablo Marcos Oltra
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-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-16Converted rlgl module in header-onlyRay
This change allows rlgl.h usage as independent single-file header-only module... still some tweaks required, like removing GLAD dependency... required extensions could be manually loaded! Also removed shader_distortion.h, embedded in rlgl.h
2018-07-07Reviewed latest commit for Android gamepad supportraysan5
2018-07-06Added SNES-style GAMEPAD SUPPORTSeth Archambault
2018-07-05Checking Android input functionalityraysan5
Joystick support is not implemented just yet, not difficult but it requires some work...
2018-06-23Added support OpenBSD, NetBSD, DragonFly[email protected]
2018-06-12Corrected issue, flag not supported...Ray San
...by emscripten glfw javascript implementation
2018-06-02Review window creation hintsRay
2018-05-17Some warnings reviewRay
2018-05-17Corrected issue on file extension checkRay
2018-05-04Avoid exposing native GLFW3 functionalityRay
Try to avoid types conflict with Font
2018-05-04Renamed some functionsRay San
- Renamed Begin3dMode() --> BeginMode3D() - Renamed Begin2dMode() --> BeginMode2D() - Renamed End3dMode() --> EndMode3D() - Renamed End2dMode() --> EndMode2D()
2018-04-29Replaced ColorToFloat() by ColorNormalize()raysan5
2018-04-29Expose file-dropping functions symbolsraysan5
2018-04-29Added compile flag: SUPPORT_SCREEN_CAPTUREraysan5
Allow compiling the library with support for automatic screen capture (KEY_F12)
2018-04-19Review spacing for cosistencyRay
2018-04-09Reviewed config.h formattingRay
Added raylib version to config
2018-04-09Init frame timming measure variablesRay
2018-04-07Refactor all #define SUPPORT_* into a config.hAhmad Fatoum
That way, a user needs only to touch a single file to configure what features raylib is built with. Include guards are left out intentionally, because config.h should only be included in source files, not headers. Later on, config.h can also define the raylib version (#461).
2018-04-03Removed old codeRay San
2018-04-02Review math usage to reduce temp variablesraysan5
2018-04-02Review InitWindow() to avoid void pointerraysan5
Reviewed for PLATFORM_ANDROID and PLATFORM_UWP