maxmutant
9e39788e07
[rcore] fix gamepad axis movement and its automation event recording ( #4184 )
* [rcore] fix gamepad axis movement and its automation event recording
This commit fixes 2 issues:
- Automation events aren't recorded for negative axis movements on
gamepads (e.g. stick going left/up)
- 'GetGamepadAxisMovement' drift check isn't working correctly for
triggers. Axis values between [-0.1, 0.1] are clamped to 0.0
Behaviour change:
- 'GetGamepadAxisMovement' returns default value for each axis, even
if gamepad isn't attached.
* [rcore] inline body of 'GetGamepadAxisMovementDefault' and remove it
4 months ago
Dave Green
e5a1fc4f20
No longer set the RL_TEXTURE_FILTER_LINEAR when high dpi flag is enabled. ( #4189 )
4 months ago
Ray
efce4d69ce
Merge branch 'master' of https://github.com/raysan5/raylib
5 months ago
Ray
5041d20f00
Update rcore_desktop_glfw.c
5 months ago
Jutastre
f5d2f8d545
Warning on invalid image data ( #4179 )
* Adds log warnings on invalid file data
* Separate error on missing file extension
* Changed LOG_ERROR to LOG_WARNING
---------
Co-authored-by: Jutastre <pukarlindgren@gmail.com>
5 months ago
Lázaro Albuquerque
bbcb0109e1
Add default vertex/fragment shader to OpenGL ES 3.0 based on the ones from OpenGL 3.3 ( #4178 )
5 months ago
Lázaro Albuquerque
30f9ca7eb6
A better default that saves the whopping amount of 28KB on the final bundle ( #4177 )
5 months ago
Colleague Riley
f1f08861a1
Update RGFW ( #4176 )
* update RGFW
* fix bug with GetCurrentMonitor
* update RGFW
* update RGFW
* clean up merge
5 months ago
Jaen
047a4da696
Fix Carp link - BINDINGS.md ( #4175 )
The current link 404's. Replace it with a fork.
5 months ago
github-actions[bot]
ad72e3ec8f
Update raylib_api.* by CI
5 months ago
Ray
474ab48f8b
Update rtextures.c
5 months ago
Ray
fde0dcd0ab
ADDED: Working directory info at initialization
5 months ago
Ray
fc5eab5676
Update version to avoid confusions...
...considering that `raylib 5.5` official release could still take some time...
5 months ago
CDM15y
2d94d8d06d
[examples] Fix PBR and Shadowmap example shaders for GLSL 1.20 ( #4167 )
* Update pbr.fs
remove presicion mediump float because it is for GLES, and not desktop GL
* Fix shadowmap.fs
also suffers the same problem as pbr.fs
5 months ago
Julianiolo
aa70d32786
Fix a dependance of rtexture to rtext ( #4171 )
5 months ago
Ray
996f50393e
Minor tweaks
5 months ago
Ray
61393fff1f
Update rcore_desktop_glfw.c
5 months ago
_Tradam
50000f4b01
added brainfuck bindings ( #4169 )
5 months ago
Lázaro Albuquerque
24726a4bc2
Removes the redundant USE_AUDIO flag ( #4158 )
5 months ago
red thing
0c03cbff90
Update BINDINGS.md: dray binding supports raylib 5.0 ( #4163 )
5 months ago
MrScautHD
576bee5cce
Adding GetKeyName(int key) (WIP) ( #4161 )
5 months ago
jkaup
5ede47618b
Fix crash when switching playback device ( #4102 )
Co-authored-by: jj <noname@nomail.fi>
5 months ago
Kai Kitagawa-Jones
8d5374a443
Replace `glGetInteger64v` with `glGetBufferParameteri64v` ( #4154 )
5 months ago
InventorXtreme
44c6cd2d37
[build.zig] GLFW Platform Detection Support ( #4150 )
* Zig Both Linux Desktop Platform Support
* Formating and Default Fix
Made formating fit within raylib standards and changed the default option to support both X11 and wayland on Linux.
* caught one hiding tab
5 months ago
Jeffery Myers
74680748b9
[Shapes] Remove duplicate color calls in DrawGrid ( #4148 )
* Update raylib_api.* by CI
* No need to call the color 4 times in a row, it's batched
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
5 months ago
SuperUserNameMan
174313acbf
`WindowSizeCallback()` should not try to handle DPI since already managed by GLFW ( #4143 )
If `FLAG_WINDOW_HIGHDPI` is set, `InitPlatform()` will aks GLFW to handle resize window content area based on the monitor content scale using : ` glfwWindowHint(GLFW_SCALE_TO_MONITOR, GLFW_TRUE); `
So `WindowSizeCallback()` does not have to handle it a second time.
5 months ago
Ray
fa03246d0e
REVIEWED: Code formatting to follow raylib conventions
5 months ago
Colleague Riley
98662b6a4a
update RGFW to RGFW 1.0 ( #4144 )
* update RGFW
* fix bug with GetCurrentMonitor
5 months ago
Ray
3abe728712
Minor tweaks
5 months ago
NishiOwO
598b7f5210
Add workaround for NetBSD ( #4139 )
5 months ago
Ray
9764fef262
Update models_billboard.c
5 months ago
Ray
43fe992b94
Merge branch 'master' of https://github.com/raysan5/raylib
5 months ago
Ray
b8e5179431
Update rmodels.c
5 months ago
github-actions[bot]
bc6cf61794
Update raylib_api.* by CI
5 months ago
Ray
df4ff4e78b
REVIEWED: Direction must be normalized #4131
5 months ago
bohonghuang
6dd2a0e645
[rmodels] Consistent `DrawBillboardPro` with `DrawTexturePro` ( #4132 )
* [rmodels] Re-implement `DrawBillboardPro`
* [rmodels] Add comments to `DrawBillboardPro`
* [rmodels] Make `DrawBillboardPro` consistent with `DrawTexturePro`
* Update raylib_api.* by CI
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
5 months ago
Ninad Sachania
b61303244c
Fix Reddit badge ( #4136 )
5 months ago
Ray
a8240722c6
REVIEWED: `CheckCollisionPointRec()`
5 months ago
kai-z99
1039e3c1bd
[rshapes] Give CheckCollisionPointCircle() its own implementation ( #4135 )
* remove function call
* fix
5 months ago
Ray
9a280cda0b
Update rlgl.h
5 months ago
Ray
c95b2e88b7
Example review
5 months ago
Frank Kartheuser
8fbb447a6d
Change SDL_Joystick to SDL_GameController ( #4129 )
With SDL_Joystick my game controller wasn't working properly. That's why I changed it to SDL_GameController.
5 months ago
Jeffery Myers
9d3bd43c6e
[CORE] Fix MSVC warnings/errors and raymath.h in C++ ( #4125 )
* Update raylib_api.* by CI
* Fix MSVC warnings.
Make raymath.h work in C++ in MSVC
* whitespace cleanup
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
5 months ago
Ray
ab20b2179f
Update Makefile
5 months ago
Ray
9f47e562d9
Merge branch 'master' of https://github.com/raysan5/raylib
5 months ago
Ray
18d726be65
Update Makefile
5 months ago
github-actions[bot]
899d03e77e
Update raylib_api.* by CI
5 months ago
Ray
2efd36a124
Merge branch 'master' of https://github.com/raysan5/raylib
5 months ago
Ray
2f49250baf
WARNING: UPDATE: Starting works on `raylib 5.5` release
5 months ago
github-actions[bot]
6d30220acc
Update raylib_api.* by CI
5 months ago