Commit graph

6,766 commits

Author SHA1 Message Date
Michael
d833ff02d7 tweak 2023-10-13 20:12:36 -04:00
Michael
e5009550c4 Add FPS to gamepad info example and try for max FPS 2023-10-13 20:11:26 -04:00
Michael
3691c488c8 Remove some logging 2023-10-13 12:19:34 -04:00
Michael
7e08cef7f5 More dumb logging 2023-10-13 12:15:16 -04:00
Michael
d879090ce9 Wrong constant for ev.code handling 2023-10-13 12:13:30 -04:00
Michael
53901aecfd dumb logging 2023-10-13 12:11:34 -04:00
Michael
d32cf0107f Update example 2023-10-13 12:10:12 -04:00
Michael
dacbfc8810 Fix another missing array index 2023-10-13 12:00:55 -04:00
Michael
9809ae4a75 Fix missing array index 2023-10-13 11:58:25 -04:00
Michael
2569d101da Major updates 2023-10-13 11:56:54 -04:00
Michael
57fafad066 Test polling joystick button events 2023-10-12 19:14:19 -04:00
Michael
99ee13bbdf Fix missing paren 2023-10-12 17:39:58 -04:00
Michael
f872f239e4 Fix axis count being reset to 0 2023-10-12 17:38:21 -04:00
Michael
b76d20d7d2 Add missing slash 2023-10-12 17:28:28 -04:00
Michael
7bbe5e55e8 Missing parenthesis 2023-10-12 17:25:57 -04:00
Michael
00592ffe95 Add path logging 2023-10-12 17:22:54 -04:00
Michael
537b012dc6 Add forgotten index to ready check 2023-10-12 17:21:45 -04:00
Michael
684dcb6947 More debugging 2023-10-12 17:18:10 -04:00
Michael
8489d81075 Update axisCount to be array 2023-10-12 17:04:40 -04:00
Michael
2503ff9f95 More fixes 2023-10-12 16:48:16 -04:00
Michael
dc115592e9 Add forgotten static 2023-10-12 16:46:19 -04:00
Michael
eac5306818 Add semicolon 2023-10-12 16:45:21 -04:00
Michael
ebd46076ab Add more logging 2023-10-12 16:42:49 -04:00
Michael
4bc31deac2 Start integrating stuff from the mikesinput lib 2023-10-12 16:26:09 -04:00
Michael
c4bb0958ec Remove pointless if statement 2023-10-10 19:26:30 -04:00
Michael
e9dbf45f13 Move axis count update out of GamepadThread - race condition 2023-10-10 19:19:28 -04:00
Michael
3028324634 Update new gamepad info example 2023-10-10 19:11:14 -04:00
Michael
9719bfc610 Add example to test gamepad info functions
Fix typo
2023-10-10 12:55:09 -04:00
Michael
81641bfbbb Update PLATFORM_DRM implementation of GetGamepadName 2023-10-10 12:34:57 -04:00
Michael
aacd3e2554 Update 2023-10-10 12:29:29 -04:00
Michael
0c4b2c4a81 Update PLATFORM_DRM implementation of GetGamepadAxisCount 2023-10-10 11:50:57 -04:00
Ray
101a9b0445 Added comments and review some functions #3313 2023-10-10 11:59:41 +02:00
Ray
b94e6290a4 Added some comments and tweaks #3313 2023-10-10 10:50:09 +02:00
Ray
67a1e1ffae Update rtextures.c 2023-10-10 10:48:46 +02:00
Ray
cb57165956 REVIEWED: Fix #3387 2023-10-10 10:48:30 +02:00
Murlocohol
9702a17152
[raymath] Hotfix for Vector2Angle() and Vector2LineAngle() (#3396)
* Hotfix for Vector2LineAngle(), should probably be reviewed along with the rest of raylib angle functions to determine what coordinate system we want.

* Hotfix for Vector2LineAngle(), should probably be reviewed along with the rest of raylib angle functions to determine what coordinate system we want.

* [raymath] Hotfix for Vector2Angle and corresponding example

* [raymath] Hotfix for Vector2Angle and corresponding example

---------

Co-authored-by: Ray <raysan5@gmail.com>
2023-10-10 10:42:11 +02:00
Murlocohol
f0d949f931
Hotfix for Vector2LineAngle(), should probably be reviewed along with the rest of raylib angle functions to determine what coordinate system we want. (#3394) 2023-10-10 08:59:09 +02:00
Ray
0d8a6cfbfa Revert "Update zig build system to zig version 0.11.0 (#3393)"
This reverts commit 540ad99442.
2023-10-10 08:48:55 +02:00
Purple4pur
540ad99442
Update zig build system to zig version 0.11.0 (#3393)
* update build.zig for zig 0.11.0

* fix build.zig in examples to install executable correctly

* discard build.zig, only use src/build.zig, to avoid annoying zig-out path problem

* update zig version note
2023-10-09 13:05:19 +02:00
Ray
cfffa74f96 REVIEWED: Libs include order 2023-10-09 11:17:22 +02:00
Ray
f93d0ff9bc Update raudio.c 2023-10-09 11:17:09 +02:00
Ray
b55cf40b91 Format tweaks 2023-10-09 11:07:02 +02:00
Ray
a38afcf053 Merge branch 'master' of https://github.com/raysan5/raylib 2023-10-09 10:51:41 +02:00
Ray
f86f4159e6 Avoid references to PLATFORM_ flags #3313 2023-10-09 10:51:37 +02:00
SuperUserNameMan
dfb0326d00
Update rcore.c (#3326) 2023-10-09 09:54:43 +02:00
Ray
33c84b3c00 Update rmodels.c 2023-10-09 09:53:52 +02:00
Dennis E. Hamilton
7ab911b9a4
Ensure m3d faces in non-decreasing materialid sequence (#3385)
This modification replaces the expensive qsort protection with an
insertion sort that is near-instantaneous in the expected ordered case.
2023-10-09 09:49:58 +02:00
Masoud Naservand
d309b1eaa7
Call nsvgDeleteRasterizer() on created rasterizer (#3392)
the `NSVGrasterizer *rast` needs to be passed
to nsvgDeleteRasterizer() when we are done with it.
2023-10-09 09:47:54 +02:00
Ray
ea9de852bd ADDED: Custom platform template! #3313 2023-10-09 09:46:57 +02:00
Ray
682992e868 REVIEWED: Reorganize functions
`TakeScreenshot()` moved to `rcore.c`
2023-10-09 09:45:57 +02:00