Commit graph raylib/src
Author SHA1 Message Date
blueloveTH
d10d888f22 Update rcore_ios.c 2024-03-28 16:51:00 +08:00
blueloveTH
524181918e Update rcore_ios.c 2024-03-28 10:52:58 +08:00
blueloveTH
b69cee5739 Update rcore_ios.c 2024-03-28 10:39:45 +08:00
blueloveTH
3c129644e5 Update rcore_ios.c 2024-03-27 22:09:00 +08:00
blueloveTH
bc34ea6faa Update rcore_ios.c 2024-03-27 21:55:50 +08:00
blueloveTH
faaa6230a1 revert long long change 2024-03-27 21:17:07 +08:00
blueloveTH
d1a8b86148 Revert "change pointId[] to long long"
This reverts commit a552997745.
2024-03-27 21:16:15 +08:00
blueloveTH
f3c4d49a34 Update rcore_ios.c 2024-03-27 21:09:26 +08:00
blueloveTH
c12462397c Update rcore_ios.c 2024-03-27 20:59:55 +08:00
blueloveTH
86b3ba2b3c Update rcore_ios.c 2024-03-27 20:44:41 +08:00
blueloveTH
e5ecddfe0e Update rcore_ios.c 2024-03-27 20:37:44 +08:00
blueloveTH
e6afac85e6 Update rcore_ios.c 2024-03-27 20:29:58 +08:00
blueloveTH
ee2a30775e Update rcore_ios.c 2024-03-27 13:35:22 +08:00
blueloveTH
0a9ea31a4c Update rlgl.h 2024-03-25 11:33:40 +08:00
blueloveTH
67fb284c1a upgrade to GRAPHICS_API_OPENGL_ES3 2024-03-25 01:40:26 +08:00
blueloveTH
3a9649d397 Update rcore_ios.c 2024-03-25 01:17:48 +08:00
blueloveTH
c0ac3471f7 Update rcore_ios.c 2024-03-24 14:40:35 +08:00
blueloveTH
a552997745 change pointId[] to long long 2024-03-24 14:29:02 +08:00
blueloveTH
c66c9e9ffd some fix 2024-03-24 14:27:07 +08:00
blueloveTH
9f7dec63ef support more touches 2024-03-24 13:41:58 +08:00
blueloveTH
74da3b7a76 Update rcore_ios.c 2024-03-24 02:37:22 +08:00
blueloveTH
29006070f4 prepare to add touch callbacks 2024-03-24 01:59:56 +08:00
blueloveTH
cae863af45 some fix 2024-03-24 01:41:35 +08:00
blueloveTH
d1ffab40cc the first working version 2024-03-24 01:01:30 +08:00
blueloveTH
dfc6dc2fa1 some update 2024-03-23 23:31:09 +08:00
blueloveTH
b3b2d50d58 Update rcore_ios.c 2024-03-23 18:53:32 +08:00
blueloveTH
0caa4133a8 create XCode15 project targeting iOS 2024-03-23 18:36:57 +08:00
blueloveTH
d0a13c6838 init 2024-03-22 20:12:40 +08:00
Kacper Zybała
9cf408f77c
Remove redundant rlDisableVertexAttribute for SHADER_LOC_VERTEX_COLOR (#3871) 2024-03-18 18:37:09 +01:00
Ray
28c232d856 Update rcore_desktop.c 2024-03-18 09:13:34 +01:00
Jeffery Myers
9bb3d9977a
Put GLFW in relative mouse mode when the cursor is disabled. (#3874) 2024-03-18 09:12:36 +01:00
Ray
d7ff0175c1 Fix #3876 and also rlgl review on #3783 2024-03-18 09:09:26 +01:00
Ray
8b0dd44316 Fix #3876 and also rlgl review on #3783 2024-03-18 09:08:51 +01:00
Alexandre Almeida
9a8d73e6c3
Fix GLFW runtime platform detection (#3863)
* Fix GLFW runtime platform detection

* Add libwayland-dev package to workflows

* Add libxkbcommon-dev package to workflows

* Add libwayland-bin package to codeql.yml

* Add libwayland-client0 and libwayland-cursor0 packages to codeql.yml

* Use libwayland-dev in codeql.yml

* Add libxkbcommon-dev to codeql.yml

* Remove libwayland-bin from linux.yml and linux_examples.yml (libwayland-dev includes it as a dependency)

---------

Co-authored-by: Ray <raysan5@gmail.com>
2024-03-14 16:54:39 +01:00
Peter0x44
f072497551
Implement IsCursorOnScreen for PLATFORM_DESKTOP_SDL (#3862)
I did some testing and this seems to work okay, but it *is* different to
GLFW. GLFW seems to lose "IsCursorOnScreen" for one frame upon pressing
alt+tab over the window, without a different window covering it. SDL
seems to have a more reasonable behavior for this case. Either way it's
an edge case and I don't know the exact way to fix, likely requires
internal GLFW changes.
2024-03-09 11:43:29 +01:00
Ray
30604080ef Update rmodels.c 2024-03-07 12:33:45 +01:00
Ray
93a828f744 REVIEWED: GetMouseRay() functions rename #3830 2024-03-07 12:33:37 +01:00
aiafrasinei
3b7be85151
Screen space related functions consistency (#3830)
* Screen/world-space related functions rename

* Update raylib_api.* by CI

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-03-07 12:28:11 +01:00
Ray
c1c9b69290 Implemented fix for #3859 2024-03-07 12:10:26 +01:00
Ray
1904873838 Merge branch 'master' of https://github.com/raysan5/raylib 2024-03-07 12:10:18 +01:00
Ray
68b553cfc1 Update raylib.h 2024-03-07 12:10:02 +01:00
Caleb Barger
25caf14be8
Fix fix-build-paths (#3849) 2024-03-01 12:43:19 +01:00
Alexandre Almeida
dc1cec8bab
Remove GLFW mouse passthrough hack and increase GLFW version in CMake (#3852) 2024-03-01 08:34:53 +01:00
Ray
fea3395fc1 Review formatting 2024-02-29 18:50:44 +01:00
Ray
1e8450665c ADDED: New function ColorIsEqual() 2024-02-29 18:40:10 +01:00
mooff
94c79917e3
Fix SDL multitouch tracking (#3810)
The fingerId from SDL was used as an index into the CORE.Input.Touch
arrays, but it's an opaque / arbitrary int64, way bigger
than MAX_TOUCH_POINTS, so the first non-simulated touch event would segfault.
2024-02-29 18:30:38 +01:00
Alexandre Almeida
6589311a0b
Update GLFW to 3.4 (#3827)
* Update GLFW to 3.4 (draft)

* Add _glfwConnectNull() function to rglfw.c

* Update rglfw.c

* Update Makefile

* Makefile: Replace USE_WAYLAND_DISPLAY with DISABLE_WAYLAND

* Revert "Makefile: Replace USE_WAYLAND_DISPLAY with DISABLE_WAYLAND"

This reverts commit 9e79abde78.

* GlfwImport.cmake: Replace GLFW_USE_WAYLAND with GLFW_BUILD_WAYLAND

* Update rglfw.c

* Output platform selected by GLFW to TRACELOG

* GLFW has removed Mir support
2024-02-29 18:29:32 +01:00
johann nadalutti
53221eb799
feat: vox_loader normals and new voxels shader (#3843) 2024-02-29 18:28:51 +01:00
Ray
ed9a6d862b Update rtextures.c 2024-02-28 16:27:55 +01:00
Laurentino Luna
f0807d2be1
Change sanitization check for ExportDataAsCode (#3837)
* Change sanitization check for `ExportDataAsCode`

I opted to use `isalnum` function since it should handle most cases. It
cannot however handle cases of files beginning with numbers.

* Update `ExportDataAsCode` condition

* Reinsert comment on `ExportDataAsCode`
2024-02-27 13:08:47 +01:00