Commit Graph

5957 Commits

Author SHA1 Message Date
Ray
b8f67c6285 WARNING: BREAKING: REDESIGNED: Filepath loading API
REDESIGNED: `LoadDirectoryFiles()`
ADDED: `LoadDirectoryFilesEx()`
REDESIGNED: `LoadDroppedFiles()`
ADDED: `IsPathFile()`

This BIG BREAKING change simplifies the functions and gives more control to the user:
 - A new `struct FilePathList` has been added to avoid exposing complex pointers.
 - User is responsible of memory loading/unloading
 - Filepaths loading support recursive directories and file extension filters
2022-06-11 23:24:13 +02:00
Ray
f7744404d6 Remove physics projects 2022-06-11 23:01:22 +02:00
Ray
b1c413237c Update config.h 2022-06-11 20:44:47 +02:00
Ray
b9f617aaee Update raylib.h 2022-06-11 18:13:15 +02:00
Ray
702f2bccfc REVIEWED: Issue with MOUSE_PASSTROUGH #2516 2022-06-11 18:12:39 +02:00
Ray
b549baa6b7 New feature: support MOUSE_PASSTHROUGH #2516 2022-06-11 12:08:16 +02:00
Ray
4a6e8bb90b Minor formattng tweak 2022-06-09 21:01:51 +02:00
gulrak
5e3ef42201
GetMonitorWidth()/GetMonitorHeight(): return current video resolution instead max available (#2514)
* GetMonitorWidth()/GetMonitorHeight(): current video resolution instead max available

* adapt header comment to reflect change
2022-06-09 21:00:04 +02:00
Ray
59a808516e Update README.md 2022-06-08 23:05:51 +02:00
Ray
484a61c1d4
Update CHANGELOG 2022-06-08 21:17:37 +02:00
Ray
3fc1bd0670
Update CHANGELOG 2022-06-08 21:15:33 +02:00
rc-05
70ec71a373
Update BINDINGS.md (#2513) 2022-06-08 13:57:02 +02:00
flashback-fx
8c55b40e9e
Unify busy waiting behavior across conditional compilation branches (#2508)
* Unify busy waiting behavior across conditional compilation branches

* Inline busy waiting code instead of using static function
2022-06-07 21:01:29 +02:00
Ray
ae715ba0d8
Update CHANGELOG 2022-06-07 20:43:27 +02:00
Ray
b3187e1291
Update CHANGELOG 2022-06-07 19:06:23 +02:00
Ray
a7459043c6
Update CHANGELOG 2022-06-07 19:03:44 +02:00
Ray
b5191a03b2
Update CHANGELOG 2022-06-07 18:50:31 +02:00
Ray
a53411013a
Update CHANGELOG 2022-06-07 18:48:20 +02:00
Ray
dca23cb3ff RENAMED: BLEND_ALPHA_PREMUL to BLEND_ALPHA_PREMULTIPLY 2022-06-07 18:46:14 +02:00
Ray
fc86b5c1b4
Added raylib 4.2 release CHANGELOG 2022-06-07 14:15:06 +02:00
Ray
9dd28feadf
Added rea change 2022-06-07 14:14:04 +02:00
Ray
bf208decc0 REVIEWED: Compilation warnings 2022-06-07 10:04:24 +02:00
Daw-Ran Liou
06db2767fe
Update cl-raylib binding (#2509)
Commit d57c8136426b7cc8a39e77f05097c8585d4bb1eb from longlene/cl-raylib now puts
the binding on track with raylib version 4.0.
2022-06-07 00:05:58 +02:00
Ray
9c676e599e Update android.yml 2022-06-06 20:53:48 +02:00
Ray
e6bc401c93 WARNING: RENAMED: GetDroppedFiles() to LoadDroppedFiles()
RENAMED: `ClearDroppedFiles()` to `UnloadDroppedFiles()`
2022-06-06 20:39:37 +02:00
Ray
ebbcc2ffce WARNING: RENAMED: GetDirectoryFiles() to LoadDirectoryFiles()
RENAMED: `ClearDirectoryFiles()` to `UnloadDirectoryFiles()`
2022-06-06 20:30:24 +02:00
Ray
461cdda71e Reviewed latest PR, variable name 2022-06-06 20:23:14 +02:00
flashback-fx
c11d30bafe
Change WaitTime argument from milliseconds to seconds (#2506) 2022-06-06 20:18:37 +02:00
Ray
609d92003b WARNING: REMOVED raygui from raylib/src/extras 2022-06-06 11:11:39 +02:00
Ray
8da566d6e7 WARNING: Removed physac from raylib sources/examples
`physac` is available on its own repo
2022-06-06 11:00:06 +02:00
Ray
865a44adda REVIEWED: Mouse device support on PLATFORM_DRM #2381 2022-06-05 11:34:23 +02:00
flashback-fx
cda89ebb58
Fix regression that was causing video stuttering (#2503) 2022-06-05 11:14:26 +02:00
Ray
6fccfc57a4 Minor tweak 2022-06-02 19:22:42 +02:00
Ray
91af3a3152 Update text_draw_3d.c 2022-06-02 19:22:31 +02:00
Ray
99841b8fde Merge branch 'master' of https://github.com/raysan5/raylib 2022-05-31 23:25:33 +02:00
Ray
a28dfbae9f REVIEWED: Batch limits check #2489 2022-05-31 23:25:21 +02:00
Naveen
023eb3380d
chore: Set permissions for GitHub actions (#2496)
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-05-31 23:23:12 +02:00
Ray
d0318aac4a REVIEWED: DrawBillboardPro() #2494 2022-05-30 20:30:16 +02:00
Ray
8294e04749 Correct typo 2022-05-29 18:23:48 +02:00
Ray
fe28aa7c9b Review log messages 2022-05-29 17:39:10 +02:00
Ray
1f806b555d ADDED: -latomic linkage, required by miniaudio on ARM 32bit #2452 2022-05-20 17:45:36 +02:00
gulrak
789e504069
use GetWindowScaleDPI to calculate size for rlReadScreenPixels in screenshot/recording (#2446) 2022-05-20 17:25:47 +02:00
Patrick
76c3881944
Fixed Android CMake build error (#2486)
`android_native_app_glue.c` wasn't appended to the `raylib_sources` as other libraries were.

Co-authored-by: Patrick Martin <martinpatrick@google.com>
2022-05-20 17:21:45 +02:00
Jonathan Poncelet
5bdd8f134f
Improved boolean definitions (#2485) 2022-05-19 21:21:09 +02:00
Ray
426e8252d4
Update raylib-jai binding 2022-05-19 17:33:30 +02:00
Angga Permana
d3caee0e72
generate compile_commands.json to be used by language server (#2481)
* cmake: Generate compile commands

* Update README.md

simplify build process
2022-05-19 13:18:12 +02:00
Ray
6259dc4121 Revert "UPDATE: DEFLATE algorithm"
This reverts commit d786af83fc.
2022-05-18 16:23:52 +02:00
Ray
d786af83fc UPDATE: DEFLATE algorithm 2022-05-18 13:39:07 +02:00
Ray
5ecc289201 REVIEWED: Support OpneBSD for timming functions 2022-05-16 19:24:16 +02:00
Crydsch
020e903193
Fix lgtm warnings (#2477)
* Comparison is always true because finalSample >= 1

* Comparison is always false because keyCount >= 0
2022-05-14 15:02:29 +02:00