summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
AgeCommit message (Collapse)Author
2020-03-02Review some commentRay
2020-03-02Added comment on IsMouseButtonDown() issueRay
IsMouseButtonDown() does not process touch state down properly, state is reseted every frame...
2020-03-01Reviewed IsMouseButtonDown()Ray
2020-02-29REDESIGNED input system for better mouse/touch supportRay
2020-02-27Remove trail spaces and some tweaksRay
2020-02-27REDESIGN: LoadStorageValue()/SaveStorageValue()Ray
Using new file I/O ABI
2020-02-26Tweaks on fullsccreen detection...Ray
2020-02-26WARNING: RENAMED: Storage functionsRay
Renamed functions for consistency: - StorageLoadValue() > LoadStorageValue() - StorageSaveValue() > SaveStorageValue()
2020-02-24[core] SetWindowSize() try to support PLATFORM_WEB -WIP-Ray
2020-02-22Update to latest emscripten toolchainRay
Corrected issue on web compilation
2020-02-22Improve inputs on AndroidRay
2020-02-22Support ToggleFullscreen() on webRay
2020-02-21Support links on WebAssemblyRay
2020-02-20Removed TABSRay
2020-02-19Review mouse inputsRay
2020-02-19Improved GetFPS() calculation for averageRay
2020-02-18Remove spacesRay
2020-02-13Review some RPI issuesRay
2020-02-12[core] Avoid pixel bleeding issue on MSAARay
2020-02-12Reviewed Cppcheck issues #1098Ray
2020-02-11REVIEWED: GetDirectoryPath()Ray
Check if provided path is a full path containing system root letter: C:\
2020-02-09Review some libc dependency commentsraysan5
2020-02-04Review libc dependencies and remove when possibleRay
Just for clarification, no plans to remove libc dependency, just did some code analysis to see how much raylib depend on stardard C library. My conclusions: - stdlib.h: primary dependency is for malloc() and free() - stdio.h: primary dependency is for FILE access, maybe it could go through a custom ABI? - string.h: just around 8 functions required - math.h: just around 8 functions required - others: 1-2 functions required for some other headers
2020-02-03Remove all trail spacesRay
2020-02-03Replace TraceLog() function by TRACELOG macroRay
Added SUPPORT_TRACELOG_DEBUG config
2020-02-03Develop branch integration (#1091)Ray
* [core] REDESIGNED: Implement global context * [rlgl] REDESIGNED: Implement global context * Reviewed globals for Android * Review Android globals usage * Update Android globals * Bump raylib version to 3.0 !!! * [raudio] REDESIGNED: Implement global context * [raudio] Reorder functions * [core] Tweaks on descriptions * Issues with SUPPORT_MOUSE_GESTURES * [camera] Use global context * REDESIGN: Move shapes drawing texture/rec to RLGL context * Review some issues on standalone mode * Update to use global context * [GAME] Upload RE-PAIR game from GGJ2020 -WIP- * Update game: RE-PAIR * [utils] TRACELOG macros proposal * Update config.h
2020-01-29Added comments related to #837Ray
2020-01-27Corrected issue with matrix order multiplication #1054Ray
2020-01-27Support touch/mouse indistinctlyRay
REMOVED: IsTouchDetected()
2020-01-27Review touch input scaling for PLATFORM_WEB #163Ray
Now touch inputs scale proportionally to the canvas size
2020-01-26Review default font scale filter for HighDPI modeRay
2020-01-26Minor tweaksRay
2020-01-26REVIEWED: GetDirectoryPath()Ray
2020-01-24ADDED: IsTouchDetected()Ray
2020-01-24ADDED: GetWorldToScreenEx()Ray
Addressing issue #1056
2020-01-24Addressed issue #1051Ray
Allow frustrum culling near/far distance configuration at compile time.
2020-01-21Remove unneeded tracesRay
2020-01-19Added SUPPORT_HALFBUSY_WAIT_LOOPraysan5
2020-01-12IsFileExtension(): Review issue with no-extension filesRay
2020-01-09Removed commentRay
2020-01-09Review IsFileExtension() to be case-insensitiveRay
2020-01-08Reorganized some variables for consistencyRay
2020-01-05Update year to 2020raysan5
2019-12-16Add some comments on desktop multi-touchRay
2019-12-10Minor format tweaks for PR #1036Ray
2019-12-10SetWindowMonitor made functioning again. (#1036)Justin
* We get the video mode from the target monitor and use that to set, therefore keeping windowed-fullscreen * Added a GLFW_AUTO_ICONIFY 0 hint so that glfw does not minimize the window when changing focus from a windowed fullscreen window. This is more expected behavior for windowed full screen, when a user alt-tabs or clicks on a window in the other monitor, they expect their windowed-fullscreen window to remaining up.
2019-12-04Fix `IsMouseButtonReleased()` when press/release events come too fast (#1032)Oskari Timperi
If press/release events for a mouse button come too fast, then using `IsMouseButtonReleased()` does not work. This has been noticed when using a touchpad on Linux when tapping with two fingers two emulate right mouse button click. The situation looks like this: ``` BeginDrawing <-- current==released, previous==released Pressed <-- current=pressed Released <-- current=released IsMouseButtonReleased <-- returns false because current==previous EndDrawing <-- previous=released ``` The fix is to update the previous mouse button state in addition to current mouse button state when `MouseButtonCallback()` is called by glfw. Now the situation is as follows: ``` BeginDrawing <-- current==released, previous==released Pressed <-- current=pressed, previous=released Released <-- current=released, previous=pressed IsMouseButtonReleased <-- returns true because current!=previous EndDrawing <-- previous=released ```
2019-12-04Work on macOS HighDPI issue #826raysan5
2019-12-04Check and testing timming #865raysan5
2019-12-01Review VSync on fullscreen modeRay
It seems to work ok on my old Intel HD Graphics card... it should work anywhere else