Commit Graph

7009 Commits

Author SHA1 Message Date
vitopigno 5ed83dfa29
Update rcore.c (#3255) 2023-08-21 00:36:00 +02:00
Ray dfd0436428 Reviewed `IsKeyPressedRepeat()` #3248 2023-08-21 00:34:35 +02:00
actondev (Christos) b3f82a148a
Add `IsKeyPressedRepeat` (desktop only) (#3245)
Since the key pressed are handle by comparing current vs previous
state (ie frame), a special way is needed to handle key repeats.
2023-08-20 23:53:20 +02:00
Ray 83628933f0 Merge branch 'master' of https://github.com/raysan5/raylib 2023-08-20 21:36:50 +02:00
Ray 8189bddefb tweaks 2023-08-20 21:36:36 +02:00
actondev (Christos) 820343e7ac
add build.zig options for individual modules (#3254) 2023-08-20 21:27:39 +02:00
Ray f95dc2d565 Merge branch 'master' of https://github.com/raysan5/raylib 2023-08-19 20:09:53 +02:00
Ray 5a33f19964 Revert "Fix #3246"
This reverts commit e4dcbd5180.
2023-08-19 20:09:43 +02:00
ubkp 016b7d0a3a
Fix text_unicode.c example crashing (#3250)
* Fix text_unicode.c example crashing

* Adjust the text_unicode.c example crashing fix
2023-08-19 13:43:00 +02:00
Ray e4dcbd5180 Fix #3246 2023-08-17 15:05:52 +02:00
ashn a86c93ebc0
Ignore unused return value of GetCodepointNext in GetCodepointCount (#3241)
* Ignore unused return value of GetCodepointNext in GetCodepointCount

Removes the last warning from non-external libraries when compiling with
the default build configuration on x64 Linux.

* Remove unnecessary void cast in GetCodepointCount
2023-08-15 00:09:27 +02:00
Ray e2d4463886
Update BINDINGS.md 2023-08-15 00:04:07 +02:00
ubkp e0afb8942e
Fix examples/others/rlgl_standalone.c compilation issue (#3242) 2023-08-14 21:55:13 +02:00
Ray 7a1c0d2547
Added fortran-raylib 2023-08-14 21:10:24 +02:00
Ray bf705a63de REVIEWED: `DrawLineCatmullRom()` 2023-08-12 19:31:29 +02:00
Ray d873d0f173 ISSUE: `DrawLineCatmullRom()`, needs review 2023-08-12 18:45:59 +02:00
Ray 9161c55d59 REVIEWED: Code formatting 2023-08-12 18:40:18 +02:00
Ray fc88518067 ADDED: Spline drawing functions ->
- `DrawLineBSpline()`
 - `DrawLineCatmullRom()`
2023-08-12 14:00:50 +02:00
ubkp c25b52b1b3
Fix rcamera.h issues (#3240) 2023-08-11 10:19:50 +02:00
Ray 93f59a6f59 Review tabs and trail-spaces 2023-08-10 22:47:17 +02:00
Ray f1c31bee27 Fix #3177 #3109 2023-08-10 22:45:25 +02:00
RadsammyT 0959f6ebf6
fix typos in rmodels, rshapes, rtext modules (#3236) 2023-08-10 00:21:14 +02:00
ashn 90f1749965
Ignore unused function warnings from external headers when compiling with GCC and Clang (#3235) 2023-08-09 19:17:12 +02:00
Ray 42cfabc670 REVIEWED: Old pragma formating 2023-08-09 10:00:26 +02:00
RadsammyT 03ecf2202e
Fix typos in rcore.c comments (#3234)
* Fix typos in rcore.c comments

thought i corrected "dettach"
Fix typos in rcore.c comments

* 'fordward' > forward
2023-08-08 20:10:40 +02:00
Nikolas bef818e210
Fix build for OpenGL 2.1, where half floats are part of an extension (#3233) 2023-08-08 20:09:22 +02:00
mohad12211 db55bed72b
fix: check if ctrl modifier is among the currently set modifiers (#3230) 2023-08-07 19:51:36 +02:00
Le Juez Victor c9864d8ac1
Fixed Android app black screen issue when reopening after incomplete closing (#3227)
* Fixed black screen issue when resuming the app on Android

Partly explained here: https://github.com/raysan5/raylib/issues/3127

* Fix APP_CMD_TERM_WINDOW for Android
2023-08-06 22:04:20 +02:00
yujiri8 b82217eaaa
Tweak build.zig to work with cross-compiling (#3225) 2023-08-06 09:25:37 +02:00
Nikolas dc621ca388
Support 16-Bit HDR textures (#3220)
* Support 16-Bit HDR textures

* Fix build on emscripten

* Move helper functions
2023-08-05 23:16:26 +02:00
Ray 6094869e3e Fix material loading #3126 2023-08-04 18:14:47 +02:00
Jeffery Myers 62f5382d56
[AUDIO] Add an example of how to use LoadSoundAlias (#3223)
* Add a function to clone a sound and share data with another sound.

* rename items based on feedback

* PR Feedback, use custom unload for sound alias, not variant of normal sound unloading

* sound_multi example
2023-08-04 17:14:04 +02:00
Jeffery Myers 601cadbae6
[AUDIO] Add a function to make an alias of a sound and share it's sample data (#3219)
* Add a function to clone a sound and share data with another sound.

* rename items based on feedback

* PR Feedback, use custom unload for sound alias, not variant of normal sound unloading
2023-08-04 16:40:10 +02:00
vitopigno d3058fe589
[CORE] Support for SetWindowTitle and InitWindow for web (#3222)
* Update raylib.h

Changed SetWindowTitle's description

* Update rcore.c

SetWindowTitle now works on web

* Update rcore.c

InitWindow title now works with web platform too.
2023-08-04 12:04:19 +02:00
ubkp 5b4aaf4eb1
Adds CMake option for SUPPORT_CUSTOM_FRAME_CONTROL (#3221) 2023-08-03 10:29:45 +02:00
ubkp 464e714a2e
Adds BORDERLESS_WINDOWED_MODE for PLATFORM_DESKTOP (#3216) 2023-08-02 19:16:35 +02:00
Jeffery Myers 04678bc585
int math done with floats causes warnings. (#3218) 2023-08-02 19:12:38 +02:00
Joseph Montanez b60c691816
Update BINDINGS.md (#3217)
Updated Raylib-PHP to support Raylib 4.5
2023-08-02 09:05:02 +02:00
Matheus C. França e7664d5684
build change (#3214)
ref.: https://github.com/ziglang/zig/pull/16446
2023-08-01 10:46:40 +02:00
ubkp 4fd40f0333
Fixes GetCurrentMonitor() detection inconsistency issue (#3215) 2023-08-01 10:42:50 +02:00
Alexander Klingenbeck d3ea649832
Update BINDINGS.md to include rayjs (#3212) 2023-07-30 19:08:59 +02:00
ndytts 44659b7ba8
Fix android soname in src/Makefile (#3211) 2023-07-29 13:46:04 +02:00
ubkp 962030e70a
Changes SetWindowMonitor() to no longer force fullscreen (#3209)
* Changes SetWindowMonitor() to no longer force fullscreen

* Readds fullscreen support
2023-07-28 20:08:41 +02:00
Nikolas 5d28bad0ad
Fix LoadTextureCubemap for manual layouts (#3204) 2023-07-27 22:41:43 +02:00
ashn ac6f889dfc
Fix misleading indentation in src/Makefile (#3202) 2023-07-26 17:50:07 +02:00
bohonghuang 298f93ef50
Fix `DrawBillboardPro` to allow `source` of negative size (#3197) (#3203) 2023-07-26 17:46:57 +02:00
Ray 32b54be5cb
Update FAQ.md 2023-07-24 12:32:22 +02:00
ubkp 090b857912
Fix mouse wheel not working in PLATFORM_RPI or PLATFORM_DRM (#3193) 2023-07-23 20:35:41 +02:00
ubkp 295e8c2a2f
Optimize and simplify the gesture system (#3190)
* Optimize and simplify the gesture system

* Decouples GESTURE_SWIPE_* from GESTURE_DRAG
2023-07-22 20:50:04 +02:00
Jakub Václav Flasar ad2338b994
build.zig: Support for building with PLAFORM_DRM (#3191)
- Adds an option -Dplatform_drm when using zig build
- When building for linux, checks whether -Dplatform_drm is present and configures the build accordingly.
2023-07-21 14:08:35 +02:00