Matthew Oros
cec2261e96
[rcore] Flip VR screens ( #3633 )
2023-12-13 21:24:24 +01:00
Ray
299cd9b830
Update rcore.c
2023-11-21 00:14:42 +01:00
Ray
5c79c5a2ec
Update rcore.c
2023-11-13 16:11:10 +01:00
Ray
4f67f5f159
REVIEWED: TakeScreenshot()
, potential issues
2023-11-12 12:38:10 +01:00
ubkp
9634c84e1c
Fix automation recording ( #3523 )
2023-11-11 16:06:23 +01:00
Ray
16b79f2c70
Format tweaks
2023-11-10 19:22:22 +01:00
maksut
1b524bb2ec
WindowShouldClose(), reset shouldClose flag when window is inited ( #3518 )
2023-11-09 23:36:22 +01:00
Ray
80aafdb38f
REVIEWED: BeginScissorMode()
#3510
2023-11-09 23:35:24 +01:00
Ray
e7114a5c2a
Update rcore.c
2023-11-08 19:34:29 +01:00
Jeffery Myers
6cd37e57a6
Fix warnings in visual studio ( #3512 )
2023-11-06 20:31:07 +01:00
Ray
8b2103fc77
REVIEWED: ScanDirectoryFiles*()
- Paths building slashes sides #3507
2023-11-06 19:15:11 +01:00
Ray
8739c28949
REVIEWED: Scissor mode to support RenderTexture #3510
2023-11-06 19:09:12 +01:00
gulrak
56b5a5c4f0
BeginScissorMode checks for render texture to avoid using GetWindowScaleDPI ( #3510 )
2023-11-06 19:03:12 +01:00
Ray
304bf2cd17
ADDED: Flag to know we are rendering to texture #3510
2023-11-06 19:02:11 +01:00
Ray
32e4be6fb9
Update rcore.c
2023-11-03 22:23:50 +01:00
Ray
2d1b211920
ADDED: LoadRandomSequence()
/UnloadRandomSequence()
2023-11-03 20:21:43 +01:00
AndreaBoroni
5da0074fed
Fixed Issue 3504 ( #3505 )
2023-11-03 19:12:42 +01:00
Ray
b40f93b9e3
Comments tweaks
2023-11-02 18:12:22 +01:00
Ray
64d64cc181
REVIEWED: Potential code issues reported by CodeQL #3476
2023-11-01 15:28:18 +01:00
Ray
de7beef05d
Remove trailing spaces
2023-10-31 15:54:52 +01:00
Ray
b8fce54c0f
Minor tweaks
2023-10-30 13:29:14 +01:00
Ray
abdebc244d
Update rcore.c
2023-10-30 13:14:15 +01:00
Ray
9642fffbbb
REVIEWED: GetRender*()
issue on macOS highDPI #3367
2023-10-30 13:13:31 +01:00
Ray
fc7dcff4a7
ADDED: Pseudo-random numbers generator!
2023-10-29 21:11:30 +01:00
Ray
09075d515a
Some notes and comments
2023-10-29 20:44:32 +01:00
ubkp
12f3bc10c2
[core] Move rcore.h
content to inside rcore.c
( #3479 )
...
* Move rcore.h content inside rcore.c
* Remove extern CoreData CORE
2023-10-29 20:20:19 +01:00
Ray
f721429f25
ADDED: SetAutomationEventBaseFrame(int frame)
2023-10-27 01:19:10 +02:00
Ray
99dac5451c
ADDED: Automation Events System, exposed to users
...
Added new API to record and play events
Added examples illustrating functionality
2023-10-26 23:59:19 +02:00
Ray
a0f0034352
REVIEWED: InitPlatform()
organization and code-gardening
2023-10-23 19:15:40 +02:00
Ray
3ff6026917
REVIEWED: Move screen capture logic to rcore.c
, available for all platforms
2023-10-23 18:32:24 +02:00
Jeffery Myers
4ed776368a
When the frame counter gets to 0, reset the FPS average counter. This allows the window to be closed and reopened with clean FPS stats. ( #3445 )
2023-10-23 10:11:50 +02:00
Ray
081fffd46e
REVIEWED: Issue with functions definitions
2023-10-19 13:57:31 +02:00
Ray
982641228c
REDESIGNED: Move platforms to separate directory #3313
2023-10-19 13:36:10 +02:00
Ray
53cd60bb29
REVIEWED: Move InitWindow()
/CloseWindow()
to rcore.c
#3313
2023-10-18 00:03:47 +02:00
Ray
84818c96f2
ADDED: NEW PLATFORM: SDL (DESKTOP) rcore_desktop_sdl
#3313
2023-10-16 00:51:44 +02:00
MichaelFiber
18bedbd095
[core] Change axisCount to be an array ( #3421 )
...
* Update `PLATFORM_DRM` implementation of `GetGamepadAxisCount`
* Update
* Update `PLATFORM_DRM` implementation of `GetGamepadName`
* Add example to test gamepad info functions
Fix typo
* Update new gamepad info example
* Move axis count update out of GamepadThread - race condition
* Remove pointless if statement
* Start integrating stuff from the mikesinput lib
* Add more logging
* Add semicolon
* Add forgotten static
* More fixes
* Update axisCount to be array
* More debugging
* Add forgotten index to ready check
* Add path logging
* Missing parenthesis
* Add missing slash
* Fix axis count being reset to 0
* Fix missing paren
* Test polling joystick button events
* Major updates
* Fix missing array index
* Fix another missing array index
* Update example
* dumb logging
* Wrong constant for ev.code handling
* More dumb logging
* Remove some logging
* Add FPS to gamepad info example and try for max FPS
* tweak
* Revert example
* Add fps back
* Clean up after merge
* Switch axisCount to be an array
2023-10-14 22:51:35 +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
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
Ray
876e6b3a0d
REVIEWED: TextFormat()
, added "..." for truncation #3366
...
It seems more standard than [TRUN]
2023-10-11 20:25:09 +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
Ray
0d175a69ae
REVIEWED: Mouse and Touch functions generic to all platforms #3313
2023-10-11 11:36:44 +02:00
Ray
6ebfec99c5
Added gamepad functions as generic for all platforms
2023-10-11 11:14:03 +02:00
Ray
101a9b0445
Added comments and review some functions #3313
2023-10-10 11:59:41 +02:00
SuperUserNameMan
dfb0326d00
Update rcore.c ( #3326 )
2023-10-09 09:54:43 +02:00
Ray
682992e868
REVIEWED: Reorganize functions
...
`TakeScreenshot()` moved to `rcore.c`
2023-10-09 09:45:57 +02:00