Commit graph

6,796 commits

Author SHA1 Message Date
Michael
4d07da8973 Clean up after merge 2023-10-14 14:08:32 -04:00
MichaelFiber
da28b352b8
Merge pull request #5 from michaelfiber/mikes-input
Mikes input
2023-10-14 13:48:43 -04:00
MichaelFiber
32576c398c
Merge branch 'master' into mikes-input 2023-10-14 13:48:32 -04:00
MichaelFiber
e23da390bc
Merge pull request #3 from raysan5/master
Merge upstream changes
2023-10-14 13:40:46 -04:00
Le Juez Victor
2498170b95
Fix screen size check in InitPlatform() (#3415) 2023-10-14 15:11:56 +02:00
BeardedBread
d31b439e04
Implement SetMouseCursor for PLATFORM_WEB (#3414) 2023-10-14 15:10:33 +02:00
Ray
54950f9a3d Make sure CORE.Window.ready is set 2023-10-14 12:55:31 +02:00
Ray
b34c2ecbcb WARNING: REDESIGN: InitPlatform() to initialize all platform data #3313
`InitGraphicsDevice()` could be confusing because the function actually initialized many things: window, graphics, inputs, callbacks, timming, storage... restructured it.
2023-10-14 12:49:54 +02:00
Ray
4521a142c3 tweaks 2023-10-14 11:48:20 +02:00
Ray
005ba155c0 Minor tweaks 2023-10-14 10:56:09 +02:00
Michael
9dcb929896 Add fps back 2023-10-13 20:57:56 -04:00
Michael
e071e7f0aa Revert example 2023-10-13 20:14:07 -04:00
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
Daniil Kisel
2f08f435b9
Add Raylib.lean to BINDINGS.md (#3409) 2023-10-13 20:54:15 +02:00
Purple4pur
4981acb241
fix zig syntax errors in examples, and make it install executables correctly (#3395) 2023-10-13 19:55:52 +02:00
Daniil Kisel
5a0d9c8d43
Fix UpdateSound parameter name (#3405) 2023-10-13 19:54:43 +02:00
Le Juez Victor
36abc48cf8
Normalize gestureEvent.position coordinates (#3406)
Fixed the fact that coordinates were not normalized on Android, preventing detection of `GESTURE_DOUBLE_TAP`
2023-10-13 19:54:00 +02:00
ubkp
f3c27ec157
Fix android, drm compilation issue on InitWindow (#3407)
* Fix drm compilation issue on InitWindow

* Fix android compilation issue on InitWindow
2023-10-13 19:53:31 +02: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
Babak
0f4a8cf7cb
Ported to stb_image_resize2.h (#3403) 2023-10-13 16:37:35 +02:00
Le Juez Victor
0daa5ce1e7
Fix GetMouseDelta() issue for Android (#3404) 2023-10-13 16:36:42 +02:00
Ray
2e65bc675c Moved some platforms functions to generic rcore #3313
Reviewed `InitWindow()` to clearly note platform specific code
2023-10-13 14:14:16 +02: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
Ray
876e6b3a0d REVIEWED: TextFormat(), added "..." for truncation #3366
It seems more standard than [TRUN]
2023-10-11 20:25:09 +02:00
ubkp
6ed8acde67
Fix windowMin/Max to screenMin/Max for android, drm, template (#3400) 2023-10-11 19:29:21 +02:00
Ray
61af8e7631 REVIEWED: #3399, Fix #3366 2023-10-11 12:20:03 +02:00
Murlocohol
28fb58f0ea
[rtext] TextFormat() warn user if buffer overflow occured. (#3399)
* [rtext] TextFormat now alerts user to truncation.

* Update rtext.c

* Update rcore.c

* Update rtext.c
2023-10-11 12:15:40 +02:00
Ray
da9c2894fe Reorganized some functions, WaitTime() is common to all platforms 2023-10-11 12:10:38 +02:00
Ray
a2c5f01059 Reordered one function 2023-10-11 11:55:12 +02:00