sleeptightAnsiC
4c0b82129c
[rcore_desktop_sdl] fix: handle monitor ID correctly on SDL3
...
SDL3 uses ID when dealing with monitors, unlike SDL2 which uses Index
for the same thing. This problem was already fixed in multiple places
by use of preprocessor branches, so I did the very same thing.
Please, notice that this is a pretty bad solution to this problem,
and I only did it to keep it consistent with the rest of the code.
The more about why it's not correct is mentioned here:
https://github.com/raysan5/raylib/issues/5256#issuecomment-3429156919
Hopefully, someone will refactor it someday :)
Fixes: https://github.com/raysan5/raylib/issues/5256
2025-10-21 21:40:22 +02:00
Ray
99ed814615
Update rcore_desktop_win32.c
2025-10-21 20:07:42 +02:00
Ray
77b9214575
Update rcore_desktop_sdl.c
2025-10-21 20:07:32 +02:00
Ray
ec06f9be37
Removed trailing spaces
2025-10-21 13:51:03 +02:00
Robin ❤️
3c5b3f1c17
[examples] Added shapes_lines_drawing ( #5283 )
...
* Added shapes_lines_drawing Example
* store result of clamp
* conventions
* fixed more brackets
* buffer comments
2025-10-21 10:11:19 +02:00
Ray
79b7cd6b9b
Format tweaks
2025-10-21 10:08:36 +02:00
Ray
1664204291
REVIEWED: New Win32 platform backend to accomodate rlsw Software Renderer
2025-10-20 19:10:41 +02:00
Ray
ec3cb7045f
Update rcore.c
2025-10-20 19:09:56 +02:00
Ray
74f2a899d9
Update rshapes.c
2025-10-20 19:09:37 +02:00
JordSant
8604085b6e
[examples] Fixed shaders_mandelbrot_set for WebGL ( #5286 )
2025-10-20 15:18:15 +02:00
Ray
5aeedb4899
REXM: Update examples collection
2025-10-20 11:13:45 +02:00
Ray
7ae3eb5d3a
Create web_basic_window.png
2025-10-20 11:10:08 +02:00
Ray
de8575b16e
Update raylib.sln
2025-10-18 19:54:35 +02:00
JordSant
aeafce5db4
[examples] Added: shaders_mandelbrot_set ( #5282 )
...
* [examples] Added: `shaders_mandelbrot_set`
* Simplified shader code and added comments
* Comments starting with a capital letter, and some minor fixes to adhere to the convention
2025-10-18 19:50:52 +02:00
Ray
9ef3448193
Reviewed UUIDs
2025-10-18 19:47:05 +02:00
Ray
085f933b17
Review example formating
2025-10-17 17:17:54 +02:00
Aanjishnu Bhattacharyya
ab4831911a
[examples] Added: core_text_file_loading ( #5278 )
...
Added and example demonstrating reading the contents of a file and rendering them,
utilizing rtext module. The demonstration also handles wrapping of long sentences,
and text scrolling.
Co-authored-by: Ray <raysan5@gmail.com>
2025-10-17 17:12:14 +02:00
Ray
cd0d693a56
Reviewed example
2025-10-17 17:09:55 +02:00
Ray
7995f8d1b3
Avoid auto push on rename
2025-10-17 17:01:58 +02:00
Ray
ed8c4c1b9b
REXM: Update examples collection, some renames
2025-10-17 17:01:38 +02:00
Ray
4099218f1a
Update new examples UUID
2025-10-17 12:55:13 +02:00
Ray
ffc405325f
Update shapes_pie_chart.c
2025-10-17 12:54:46 +02:00
Ray
9c1216699d
ADDED: example: core_highdpi_testbed -WIP-
...
ADDED: example: `core_screen_recording` -WIP-
2025-10-17 12:35:12 +02:00
Ray
0c97c95f6c
Update rexm.c
2025-10-17 12:33:50 +02:00
Ray
bb910bb0b8
REXM: RENAME: example: models_geometry_textures_cube --> models_rotating_cube
2025-10-17 12:33:41 +02:00
Ray
153401810a
Merge branch 'master' of https://github.com/raysan5/raylib
2025-10-17 10:04:29 +02:00
Ray
9ed785c2e1
Update rlgl.h
2025-10-17 10:04:21 +02:00
MULTi
311f6243e3
Disable touch position simulation from mouse movement for DRM touchscreen devices ( #5279 )
2025-10-17 10:01:24 +02:00
Ray
601ff4f02e
REVIEW: Naming tweaks and comments added #5271
2025-10-17 09:54:49 +02:00
Jopestpe
4256be5608
Fix branch array size and remove extra function ( #5281 )
...
* Fix branch array size and remove extra function
* Fix branch array size and remove extra function
2025-10-17 08:53:48 +02:00
Jopestpe
087aa1bc3f
Fix triangle strip array size and simplify loop ( #5280 )
2025-10-17 08:53:02 +02:00
Mr. Ai
484cc0e255
Fix DrawBillboardPro so that flipped images that are sampling from part of a larger texture still draw from the same source rectangle ( #5276 )
...
Co-authored-by: Violently <violently@violently.violently>
2025-10-16 10:18:42 +02:00
GideonSerf
c6f9f76afb
[examples] Added donut pie charts to shapes_pie_chart ( #5277 )
...
* Added donut chart option to pie chart example
* Increased example description buffer size
* Testing mouse trail building
* Removed unused variable
---------
Co-authored-by: Gideon Serfontein <gse@newspacesystems.com>
2025-10-16 09:53:55 +02:00
Ray
af068ec020
Reviewed dynamic library building #5270
2025-10-15 20:18:44 +02:00
Ray
8e052b81b4
REVIEWED: New examples on VS project
2025-10-15 19:59:28 +02:00
Ray
4ba92f8962
REVIEWED: Solution when adding new examples
2025-10-15 19:48:36 +02:00
JordSant
2a04317cff
[examples] Added: shapes_particles ( #5260 )
...
* [Examples] Added shapes_particles
* Changes to follow the code conventions. Improved some things.
* Fixed name
* Fixed PNG name
---------
Co-authored-by: Ray <raysan5@gmail.com>
2025-10-15 19:39:47 +02:00
themushroompirates
1c45776bb7
Added clock of clocks example ( #5263 )
2025-10-15 19:37:17 +02:00
github-actions[bot]
b020bed2b3
rlparser: update raylib_api.* by CI
2025-10-15 17:36:24 +00:00
Ray
fd28db53ad
Update parse_api.yml
2025-10-15 19:35:59 +02:00
themushroompirates
1c39d47b5b
Added simple starfield example ( #5255 )
2025-10-15 19:34:39 +02:00
themushroompirates
047c9d2052
Added text alignment example ( #5254 )
...
Co-authored-by: Ray <raysan5@gmail.com>
2025-10-15 19:33:53 +02:00
Balamurugan R
7383de3dea
feat(shapes): Add shapes_mouse_trail.c example and screenshot ( #5246 )
...
Co-authored-by: Balamurugan R <balamuruga.r050814@gmail.com>
2025-10-15 19:30:37 +02:00
Robin ❤️
21404d958e
[examples] Added core_clipboard_text ( #5231 )
...
* added clipboard example
* added image check
* added note about windows
* added indent
2025-10-15 19:28:38 +02:00
Hugo
d2acf06779
[examples] Added core_directory_files ( #5230 )
...
* ADDED: example: `core_directory_files`
* Follow raylib's conventions
* Rework `core_directory_files` example
* Removed alternating colors & text on directory
* Update screenshot
---------
Co-authored-by: Ray <raysan5@gmail.com>
2025-10-15 19:27:42 +02:00
GideonSerf
af11859906
[examples] Added shapes_pie_chart ( #5227 )
...
* Added shapes_pie_chart example
* Made the example colorful
* Added some interactivity to the example
* Revert top comment to the standard
* Remove unused MAX_SLICES constant
---------
Co-authored-by: Gideon Serfontein <gse@newspacesystems.com>
Co-authored-by: Ray <raysan5@gmail.com>
2025-10-15 19:25:01 +02:00
Maicon Santana
1f65a17274
Set name as Const and remove not used variable ( #5245 )
2025-10-15 19:22:05 +02:00
Ray
18e4d1d44f
Reviewed formating
2025-10-15 19:20:11 +02:00
Saksham Goyal
adfe2c1704
C++ compiler support v2 ( #5252 )
...
* Get C++ compilers working
* Fix Formatting
2025-10-15 19:11:44 +02:00
JohnnyCena123
17bc628fd9
[rcore] Add ComputeSHA256() function ( #5264 )
...
* [rcore] Add `ComputeSHA256()` function
* adjust function signatures
* review issues
* fix repeating 0
* fix mistake
* fixed macro
* remove undefs
* review styling mismatches
* rename `A0,1` to `SHA256_A0,1`
---------
Co-authored-by: CrackedPixel <5776225+CrackedPixel@users.noreply.github.com>
2025-10-15 19:07:41 +02:00