summaryrefslogtreecommitdiffhomepage
path: root/src/core.c
AgeCommit message (Collapse)Author
2021-04-18WARNING: REDESIGNED: rlLoadExtensions() #1295Ray
Added config flag: SUPPORT_GL_DETAILS_INFO
2021-04-09Fix off by one bug with GetGamepadAxisCount on PLATFORM_DESKTOP (#1715)Chris
- Found testing core_input_gamepad. The last axis was not drawn. - GLFW_GAMEPAD_AXIS_LAST is defined to the last axis which is 5 not the total number which is 6.
2021-04-09REVIEWED: GetKeyPressed() #1712Ray
2021-04-06REDESIGNED: Vr stereo modeRay
2021-04-06Reviewed Vr stereoRay
2021-04-06REDESIGNED: Vr stereo renderingRay
2021-04-06Minor comment tweaksRay
2021-04-05Update version to raylib 3.7raysan5
2021-04-04REDESIGNED: Shapes texture/rec moved to shapes moduleraysan5
2021-04-02REVIEWED: ToggleFullscreen() on web #1241raysan5
After some investigation, I came to the conclusion it's impossible to get a solution that works for all situations. Fullscreen mode on web depends on the browser, the canvas and also the desired scaling strategy of the user. Just choose a solution that fits me needs for now and let the user manage the canvas on their webs (hopefully not requiring ToggleFullscreen() call). Also removed several useless related callbacks.
2021-04-02Review compress/decompress logsraysan5
2021-04-01Review libc dependencyraysan5
2021-04-01Remove trailing spacesraysan5
2021-03-31ADDED: Support model normal matrix location #1691raysan5
2021-03-31Review code formattingraysan5
2021-03-28ADDED: LoadShaderFromMemory() #1690raysan5
2021-03-25WARNING: BREAKING: rlgl redesign -WIP-Ray
rlgl module has been completely redesigned to move Mesh/Material structures to [models] module. Still some work to do, broken elements: - [models] OpenGL 1.1 mesh rendering: DrawMesh() - [models] Mesh Instancing: DrawMeshInstanced() - [models] Stereo rendering: DrawMesh() - [models] GL_FLOAT, GL_UNSIGNED_INT exposed - [models] GenMeshCustom() - [rlgl] GenTexture*() functions removal?
2021-03-24Reviewed DrawFPS() commentRay
2021-03-22WARNING: BREAKING: REDESIGNED: rlgl moduleRay
- Many functions renamed to follow rl*() convention - Some internal functions exposed in the API - Some functionality moved to other modules - Reorganized all functions by categories - Make sure it keeps working with OpenGL 1.1 and 2.1
2021-03-21WARNING: BREAKING: rlgl module redesign -WIP-Ray
- Some rlgl functions have been moved to core - Some functions have been made internal to rlgl - rlgl functions prefixed with rl*()
2021-03-20Corrected issue with HighDPI on macOSRay
2021-03-20Review HighDPI macOS support #1510Ray
2021-03-20Considering the window's scale when setting the viewport. (#1659)Sean Heber
This appears to fix the issue with macOS windows opening with the wrong scale.
2021-03-20BIG CHANGE: REDESIGNED: Vr device simulator #1582Ray
Vr simulator has been moved to core module and completely redesigned. Now user is in charge of stereo-render fbo and also in full control of distortion shader. Code is a bit more complex but better aligned with other raylib examples.
2021-03-20Merge branch 'master' of https://github.com/raysan5/raylibRay
2021-03-20REVIEWED: HighDPI support on macOS retina #1510Ray
2021-03-20Fixed funny typo mistake... (#1657)Rabia Alhaffar
2021-03-19REVIEWED: BeginMode3D()Ray
2021-03-19Removed trailing spacesRay
2021-03-19REMOVED: GetMouseCursor()Ray
This function could be confusing depending on the context, it's better to let the user track the current active cursor
2021-03-19WARNING: BREAKING: RENAMED: camera.type to camera.projectionRay
2021-03-19REVIEWED: BeginMode3D()Ray
Simplified some code
2021-03-14Use UnloadFileData()Ray
2021-03-14WARNING: VERY BREAKING CHANGE: Renamed some enum values for consistencyRay
Some enums values have been renamed to be more consistent and also provide a more detailed description: - ShaderLocationIndex: LOC_VERTEX_POSITION -> SHADER_SHADER_LOC_VERTEX_POSITION - ShaderUniformDataType: UNIFORM_VEC2 -> SHADER_UNIFORM_VEC2 - MaterialMapType: MAP_ALBEDO -> MATERIAL_MAP_ALBEDO - PixelFormat: UNCOMPRESSED_GRAYSCALE -> PIXELFORMAT_UNCOMPRESSED_GRAYSCALE
2021-03-12Add config flag: SUPPORT_WINMM_HIGHRES_TIMER #1641Ray
Useful to avoid WinMM requirement and useful to avoid possible performance issues.
2021-03-08Fix fullscreen resolution (#1637)Hristo Stamenov
* Always try to set vsync. Use the internal monitor function to correctly get the display for windows. * Modified how fullscreen gets toggled. - Removed the unsetting and setting of the resize callback function. Instead of that I moved the fullscreen flag setting into a more correct place before setting the fullscreen so that this flag can be used in the callback. - In the resize callback now window size is only set when it is not fullscreen resulting in preserving the window size. - When going fullscreen the larges resolution is used so that there are no problems of the type when you minimize the window you cannot use anything else in your desktop because the resolution might be too low. If a low res effect is desired one should use render texture (this is the approach all game engines use). * Set correct return to window in case of fail to get monitor. * Set the refresh rate on the mode. * Made changes based on review from @raysan5 Co-authored-by: Jeffery Myers <[email protected]>
2021-03-08Always try to set vsync. (#1636)Jeffery Myers
Use the internal monitor function to correctly get the display for windows.
2021-03-03WARNING: BREAKING: RENAMED: enums valuesRay
RENAMED: TextureFilterMode values RENAMED: TextureWrapMode values
2021-03-03Removing +1 on comparing extesnions because this way it checked the file ↵hristo
extension without the . against the file extension with the . resulting in always false. (#1629)
2021-03-02Reviewed defines, try to avoid elif statementsRay
2021-03-02REVIEWED: Wait() to support FreeBSD #1618Ray
2021-03-02Some misc tweaksRay
2021-03-02REVIEWED: GetFileExtension() to include the dot #1523Ray
2021-03-01REVIEWED: GetScreen*() #1570Ray
Now GetScreenWidth() and GetScreenHeight() return the current fbo width and height.
2021-02-14Fix support of touchscreens for RPI (#1586)jpe230
-Checks for absolute pressure in absolute events to simulate a touch or a left mouse click. -Updates touch position on absolute events.
2021-02-14Update core.craysan5
2021-02-09REMOVED: GetGamepadButton() internal funcraysan5
2021-02-08Poll inputs after frame sleep (#1573)masterex1000
2021-02-07Disabling WindowSizeCallback around fullscreen toggle. (#1480)hristo
* Disabling WindowSizeCallback around fullscreen toggle. #1294 fixed the issue that toggle fullscreen changes the screen size because of the WindowSizeCallback. The proposed edit by @raysan5 was to comment out WindowSizeCallback which I essentially simplified to disable the callback around the set window monitor functions. The developers using the ToggleFullscreen function should be aware that they need to size the screen correctly on that same frame. Otherwise they should check if fullscreen and size properly using the GetMonitorWidth and GetMonitorHeight functions. * Update core.c Fix issue from merge
2021-02-07Review latest PR formatingraysan5