summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
AgeCommit message (Collapse)Author
2020-12-24Review some RPI4 tracelogsraysan5
2020-12-24Review tracelog messages for DRM platformraysan5
2020-12-23Review issues when compiling for Androidraysan5
2020-12-23Remove trailing spacesraysan5
2020-12-23Remove unused variableraysan5
2020-12-19Set version for raylib 3.5Ray
2020-12-19Avoid *Rec suffix in some variablesRay
Pefixing/Suffixing some data type identifier in the variables is not a convention used in raylib, just reviewed it for consistency... Still, I kept the *Rec suffix in some functions.
2020-12-18Added some Web checks for missing GLFW functionsRay
2020-12-18WARNING: GetKeyPressed() <-> GetCharPressed() #1336Ray
Previous GetKeyPressed() method was actually returning unicode codepoints equivalent values instead of the key-code of the pressed key. So, it has been replaced by GetCharPressed(), returning unicode codepoints and GetKeyPressed() now returns key-codes.
2020-12-13Fixed the build for web using CMake. (#1452)hristo
* Fixed the build for web using CMake. I found that the build for me was failing and I added some if defined checks in the core.c file where the glfwSetWindowAttrib was used. (error: implicit declaration of function 'glfwSetWindowAttrib' is invalid in C99 [-Werror,-Wimplicit-function-declaration]) I also changed some values in the toolchain file so that it correctly uses the .bat files when on windows. * Cleaned up the additional variables (they are not important) * Added more improvements to cmakelists Added the option to use the system provided Emscripten toolchain to be more uniform with other libraries. Fixed and issue which prevented example being built from cmake and also building with html extensions properly. * Fixed ENUM to STRING because of a missed warning
2020-12-05Add function to get the position of a monitor (and fix some comments) (#1449)Jeffery Myers
2020-12-03Corrected minor windows flags issuesRay
2020-12-03Review window flagsRay
2020-11-30Fix typecast warnings in raylib code as reported by visual studio 2019 (#1443)Jeffery Myers
2020-11-23REVIEWED: Window state flags -WIP-Ray
WARNING: Several functions removed, replaced by SetWindowState() / ClearWindowState() equivalents, only for advance users. ADDED: ClearWindowState() to reset window state REMOVED: HideWindow() / UnhideWindow() REMOVED: DecorateWindow() / UndecorateWindow()
2020-11-23REDESIGNED: Window state config #1367 -WIP-Ray
Some flags not working properly yet...
2020-11-22Exposing some file access results to user layer #1420Ray
2020-11-20REPLACED: rgif.h by msf_gif.hRay
The improvement in performance is considerable!
2020-11-15Review code formatingraysan5
2020-11-15Fixed zero-window upscaling (#1428)Ilya3point999K
There is no zero-check, so window upscales to nothing. SetupFramebuffer() is kinda wrong, it uses not its params, but global variables. I won't touch it, maybe it has purpose
2020-11-03Remove trailing spacesRay
2020-11-03Fixed keyboard stuttering but for cmake only (#1422)kernelkinetic
* fixed mouse movements are bound to the screen resolution (https://github.com/raysan5/raylib/issues/1392) * fixed keyboard stuttering on PLATFORM_RPI and PLATFORM_DRM (https://github.com/raysan5/raylib/issues/1392) * fixed keyboard stuttering on PLATFORM_RPI and PLATFORM_DRM (https://github.com/raysan5/raylib/issues/1392)
2020-11-01Reverted ChangeDirectory() redesignRay
It returns true on success again
2020-11-01REDESIGNED: ChangeDirectory()Ray
Not returning error code (or success), just log if it fails
2020-10-29REVIEWED: GetWindowScaleDPI() #1086Ray
2020-10-24Some tweaksraysan5
2020-10-21Reviewed PR #1407Ray
2020-10-21Added desktop cursor getter and setter functions (#1407)Chance Snow
* [core] Added desktop cursor getter and setter functions * Example: Set mouse cursor in text input box * Setup standard cursors _after_ GLFW window initialization * Remove old `int GetMouseWheelMove` declaration
2020-10-13fixed mouse movements are bound to the screen resolution ↵kernelkinetic
(https://github.com/raysan5/raylib/issues/1392) (#1410)
2020-10-05Replace 0.f by 0.0fRay
2020-10-05mouse: Return float movement for precise scrolling where possible (#1397)Doyle
2020-09-27Platform DRM (#1388)kernelkinetic
* updated README.md * fixed CMakeLists.txt to allow building and debugging with Visual Studio Code and CMAKE Tools extension * added PLATFORM_DRM contains mouse pointer code from https://github.com/chriscamacho * removed redundant cleanup in InitGraphicsDevice * fixed DRM connector mode selection * added choosen DRM connected mode to log output * added respecting TargetFPS on DRM mode selection, default to 60 * added support for GetMonitorRefreshRate * changed SUPPORT_MOUSE_CURSOR_RPI to SUPPORT_MOUSE_CURSOR_NATIVE * changed avoidProgressive to allowInterlaced * cleanup, function extraction and improved mode selection * README reverted to original for PR * line endings fixed for core.c * removed old code * mouse pointer reverted to small square * replaced SetGraphicDeviceName() by DEFAULT_GRAPHIC_DEVICE_DRM Co-authored-by: kernelkinetic <[email protected]>
2020-09-18fixed wrong error message for input device on RPI (#1379)kernelkinetic
* fixed wrong error message for input device * error message without errnofor input device on RPI to prevent from including additional header Co-authored-by: kkl <[email protected]>
2020-09-18WARNING: REDESIGN of rlgl framebuffers API #721raysan5
This redesign allows more flexibility when creating RenderTexture and a simplification (and hopefully removal) of `GenTexture*()` functions, that should not belong to this model but the user code, due to the use of custom shaders. Also, this new API opens the door for a possible GBuffers type and advance rendering possibilities... Some functions of the API have been also simplified or even removed. rlgl module can be used as an standalone library, so, a version for the library has been added: v3.1.0, matching current raylib version.
2020-09-16Avoid GETCWD() warning #1371raysan5
2020-09-13WARNING: RENAMED: GetExtension() to GetFileExtension()Ray
2020-09-07REVIEW: glfwSetWindowMaximizeCallback() not available on webraysan5
2020-09-01MOVED: rlUnproject() [rlgl] -> Vector3Unproject() [raymath]raysan5
2020-09-01adding new windows functions (#1357)Juan Medina
2020-08-16RENAMED: FormatText() -> TextFormat()raysan5
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
2020-08-06Reset close status for next frame #1339raysan5
2020-07-24Consider empty title for window #1323Ray
2020-07-17Issue with render size assignment on RPI/Android #1314raysan5
2020-07-14fix emcc warning (-Wparentheses-equality) (#1310)Random
2020-07-14scale perspective top calc for near culing plane (#1309)seanpringle
2020-07-10REVIEW: Pointer lock emscripten API does not work #1241raysan5
It seems some internals change recently due to web security reasons and some emscripten HTML5 funtionalities like pointerLock or fullscreen modes behave very weird or just don't work as expected
2020-06-30Expose additional configuration optionsRay
Some internal defines have been exposed in config.h
2020-06-27Minor format tweakRay
2020-06-24[add] GetMonitorRefreshRate(int monitor); (#1289)Shylie
2020-06-23REVIEWED: ToggleFullscreen(), issue #1287Ray