f7a6b94f46
Allow SetWindowSize() on web ( #1847 )
2021-06-23 10:02:18 +02:00
716e26aa37
Review BeginTextureMode() usage
...
Moved outside BeginDrawing()/EndDrawing() to illustrate drawing is happening to an external texture (not screen)
2021-06-23 01:25:09 +02:00
429c5a9a9a
Review and un-expose InitTimer()
...
Actually it's not required for SUPPORT_CUSTOM_FRAME_CONTROL
2021-06-22 20:26:59 +02:00
7f2a071c51
Formatting review
2021-06-22 20:14:44 +02:00
9095dd9e82
Add support for resizing Emscripten canvas ( #1840 )
2021-06-22 18:25:52 +02:00
115cc7dede
Review GetFPS()
2021-06-21 00:46:30 +02:00
96d5dd24aa
core: added GetMouseDelta() ( #1832 )
...
* core: added `GetMouseDelta()`
Thanks to previousPosition added by raysan it is now possible to create the GetMouseDelta() function.
Returns a Vector2 with the difference between the current and previous position of the mouse in a frame.
Useful for creating camera scrolling, among others.
* Added changes noted by raysan
2021-06-21 00:11:27 +02:00
e07054d0d4
RENAMED: SwapBuffers() -> SwapScreenBuffer()
...
Avoid possible symbol collisions
2021-06-17 12:47:03 +02:00
19b71f5f13
WARNING: Exposed SUPPORT_CUSTOM_FRAME_CONTROL #1729
2021-06-17 12:17:50 +02:00
ab032919df
RENAMED: Wait() -> WaitTime()
2021-06-17 11:47:05 +02:00
68e408474d
Renamed SUPPORT_MOUSE_CURSOR_NATIVE -> SUPPORT_MOUSE_CURSOR_POINT
2021-06-17 11:17:39 +02:00
4b93feb172
Remove trail spaces
2021-06-13 17:08:30 +02:00
de7b8ad551
NEW CRAZY FEATURE: EVENTS AUTOMATION!
...
https://youtu.be/3dZenkpmRzM
2021-06-11 12:27:46 +02:00
0b8e0f05a7
Register mouse previous position
2021-06-10 18:03:25 +02:00
b188008a1c
Review code formatting
2021-06-10 18:00:44 +02:00
7bc2e922c9
Review some comments
2021-06-10 17:49:55 +02:00
b0dcdf688f
Reviewed functions description
...
Replaced: Returns -> Get
2021-06-10 17:43:58 +02:00
d3387c952a
Reviewed Input variables and comments
2021-06-10 17:11:31 +02:00
e95d8bc655
Minor format tweaks
2021-06-05 12:33:05 +02:00
1a7dace57e
Update docs for supported blend modes ( #1801 )
2021-06-01 15:00:19 +02:00
8f4261e9d4
Remove unused declarations
2021-05-31 12:58:49 +02:00
cc4de1d1f9
note ( #1797 )
2021-05-30 18:33:38 +02:00
71995d52b3
REVIEWED: exit() on LOG_FATAL instead of LOG_ERROR #1796
2021-05-30 18:02:06 +02:00
03710c9d8e
Some code tweaks for consistency
2021-05-22 16:54:04 +02:00
3baba7ffe8
Review some VS warnings and messages
2021-05-14 14:01:42 +02:00
2545f62565
Added support for additional mouse buttons ( #1753 )
...
* Added support for additional mouse buttons
* Renamed mouse button enum
Co-authored-by: Lambert Wang <lambert.ww@gmail.com >
2021-05-08 18:26:24 +02:00
133e6f097d
Convert the half sleep to a sleep that is a fraction of the target FPS (Default 95%) to reduce CPU use. ( #1756 )
...
Co-authored-by: Jeffery Myers <JefMyers@blizzard.com >
2021-05-07 19:49:44 +02:00
c82d9cb89a
Unset CORE.Window.ready on CloseWindow ( #1749 )
...
Window shouldn't be considered ready when CloseWindow has been called.
2021-05-05 19:08:15 +02:00
a41ed986bd
Expose RAYLIB_VERSION in raylib.h #1747
2021-05-04 11:20:47 +02:00
a3e7664dcf
Fixed bug that overrides other flags
...
This issue prevented enabling MSAA on several platforms
2021-04-29 00:07:28 +02:00
ffadeeeb84
Decoupling rlgl from platform layer
...
Now rlgl only depends on OpenGL and it's completely decoupled from platform layer libraries (EGL)
2021-04-28 23:57:46 +02:00
6ebe76cba7
Minor tweaks
2021-04-27 11:05:05 +02:00
1aa8a4ff90
REVIEWED: rlLoadExtensions()
...
On PLATFORM_ANDROID, PLATFORM_RPI, PLATFORM_DRM and PLATFORM_UWP glfwGetProcAddress() is not defines, actually those platforms use egl platform windowing system.
2021-04-27 11:04:48 +02:00
03815ec4fe
RPI4: Improve DRM card check #1723
2021-04-22 21:01:48 +02:00
899afcbdca
Minor tweaks
2021-04-19 19:41:32 +02:00
581bd0eb02
Remove trailing spaces
2021-04-18 23:50:32 +02:00
d4ccca81db
WARNING: REDESIGNED: rlLoadExtensions() #1295
...
Added config flag: SUPPORT_GL_DETAILS_INFO
2021-04-18 20:24:19 +02:00
3cdac3e11e
Fix off by one bug with GetGamepadAxisCount on PLATFORM_DESKTOP ( #1715 )
...
- 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-09 00:55:47 +02:00
8a8948780e
REVIEWED: GetKeyPressed() #1712
2021-04-09 00:21:56 +02:00
b3f75b91ff
REDESIGNED: Vr stereo mode
2021-04-06 23:23:03 +02:00
84d0d21f23
Reviewed Vr stereo
2021-04-06 23:06:03 +02:00
71b86bf4d0
REDESIGNED: Vr stereo rendering
2021-04-06 22:49:41 +02:00
551944e15b
Minor comment tweaks
2021-04-06 13:04:15 +02:00
c2c141f941
Update version to raylib 3.7
2021-04-05 13:36:23 +02:00
66f3434571
REDESIGNED: Shapes texture/rec moved to shapes module
2021-04-04 14:59:17 +02:00
7e2531fe35
REVIEWED: ToggleFullscreen() on web #1241
...
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-02 13:46:56 +02:00
38df0760cc
Review compress/decompress logs
2021-04-02 13:43:10 +02:00
b54d96205f
Review libc dependency
2021-04-01 21:22:18 +02:00
aed0fee2ca
Remove trailing spaces
2021-04-01 20:24:33 +02:00
cdc3754449
ADDED: Support model normal matrix location #1691
2021-03-31 20:44:16 +02:00