Commit Graph

2051 Commits

Author SHA1 Message Date
Ray
6ff51d3a2a Update audio_amp_envelope.c 2026-04-04 11:13:29 +02:00
Ray
ea6292e27a REVIEWED: example: audio_amp_envelope, code formating to follow raylib code conventions #5713 2026-04-04 11:12:30 +02:00
Arbinda Rizki Muhammad
bb7b8d70e9 Example/audio adsr (#5713)
* add  audio_amp_envelope example

* Change 1.0f to env->sustainLevel in case the user
release the spacebar before attack state done
2026-04-04 11:04:24 +02:00
Green3492
12140cd444 explicitly state TEXTURE_WRAP_REPEAT for web build (#5711) 2026-04-01 14:48:49 +02:00
Green3492
78797757f0 store bytes at global data seg (#5708) 2026-03-31 16:45:54 +02:00
Ray
a6dc9f9e92 Update LICENSE.md 2026-03-30 20:16:40 +02:00
Ray
c7df641aa2 Update text_font_loading.c 2026-03-30 11:00:39 +02:00
Ray
63beefd0de Update Makefile.Web 2026-03-30 11:00:29 +02:00
Ray
fb0f83bc91 Remove trailing spaces on shaders 2026-03-29 01:10:29 +01:00
mjt
98d6e24c44 remove comment (#5696) 2026-03-27 09:26:01 +01:00
Maicon Santana
a693365bf2 Move DrawModelPoints methods to example - point rendering (#5697) 2026-03-26 18:29:05 +01:00
Ray
0f0983c065 Remove trailing spaces 2026-03-25 16:51:02 +01:00
Jordi Santonja
5dd4036ed0 Fix UI Cellular Automata (#5688) 2026-03-24 08:20:37 +01:00
Maicon Santana
e71633a0be Set textureWrapRepeat to avoid issue on web version (#5684) 2026-03-23 14:05:23 +01:00
Ray
ca1baca7c2 REVIEWED: examples memory allocators, using raylib provided macros 2026-03-23 11:53:57 +01:00
Ray
7e8aca00b6 Update textures_raw_data.c 2026-03-23 11:53:31 +01:00
Jopestpe
22cc2554b1 Fix Memory out of bounds in [shapes] example - ball physics (#5683)
Update screenshot to shapes_bouncing_ball.png
2026-03-23 11:28:28 +01:00
Thomas Anderson
1b084ff9f2 fixed error in readme, found by discord user the.enemy (#5680) 2026-03-22 09:06:03 +01:00
devel
7fef65a3fe Make fogColor in the fog tutorial a parameter (#5672)
* uniform fogColor

fogColor is now a parameter

* use new fog color parameter

* convert ambient to Vector4
2026-03-19 23:17:27 +01:00
Ray
93be463322 Added missing resource to audio_module_playing example #5664 2026-03-17 08:13:00 +01:00
Ray
5cd7202777 Update models_rlgl_solar_system.c 2026-03-17 08:12:15 +01:00
Ray
1eea511070 Remove trailing spaces 2026-03-16 17:51:53 +01:00
Ray
483d687900 Updated examples versions, validated with REXM 2026-03-16 17:19:27 +01:00
Ray
7401214e92 Update audio_stream_callback.c 2026-03-16 17:14:53 +01:00
Ray
e2aed43410 Update examples version to latest raylib 6.0 2026-03-16 17:03:02 +01:00
Thomas Anderson
26f329a5e7 fixed copy paste error in makefiles (#5660) 2026-03-15 20:40:26 +01:00
dan-hoang
70cb8d15e0 [examples] Add audio_stream_callback (#5638)
* Add audio_raw_stream_callback.c

* Update audio_raw_stream_callback.c to more closely follow raylib coding conventions

* Remove spaces before asterisks in comments in audio_raw_stream_callback.c

* Put SetTargetFPS(30) before while(!WindowShouldClose()) in audio_raw_stream_callback.c

* Add audio_stream_callback.c

* Delete examples/audio/audio_raw_stream_callback.c

* Delete examples/audio/audio_raw_stream_callback.png

* Update audio_raw_stream.c to more closely follow raylib coding conventions

Drawing code wasn't tabbed in

* Remove screenshot code in audio_stream_callback.c

* Update raylib version and copyright year in audio_raw_stream.c

* Update audio_stream_callback.c

Used if instead of switch to compact code; seemed more readable in this case.
2026-03-13 18:51:49 +01:00
Thomas Prowse
8a93587eaa Fix raycasting logic in models_basic_voxel.c (#5643)
The original logic iterated through the world and broke at the first found voxel that intersected the ray. This broke in some cases, removing a voxel out of view. I changed the algorithm to track the closest found voxel, and remove it at the end of the loop if one was found.
2026-03-12 11:36:53 +01:00
Thomas Anderson
64e8bfcfb6 remove path override/change for linux (#5641) 2026-03-12 11:35:48 +01:00
Thomas Anderson
4e360c97f4 remove duplicate line in makefile (#5640) 2026-03-12 11:34:38 +01:00
dan-hoang
ee4f4a29c2 [examples] Update audio_raw_stream.c (#5637)
* Update audio_raw_stream.c

* Update audio_raw_stream.c to more closely follow raylib coding conventions

* Update audio_raw_stream.c to more closely follow raylib coding conventions

I accidentally put the file in the wrong folder.

* Delete examples/audio_raw_stream.c

* Remove spaces before asterisks in comments in audio_raw_stream.c

* Put SetTargetFPS(30) before while (!WindowShouldClose()) in audio_raw_stream.c
2026-03-12 11:33:47 +01:00
Thomas Prowse
6cebf63cba Change GetRenderWidth() to GetScreenWidth() for consistency (#5635) 2026-03-11 00:21:53 +01:00
Ray
e40ddfabbb **WARNING: BREAKING:** REDESIGNED: rlgl shader loading API function names for more consistency #5631
ADDED: `rlUnloadShader()` to unload shaders (that function was missing and compute shaders leak memory)
RENAMED: `rlCompileShader()` to p `rlLoadShader()` to be consistent with `rlUnloadShader()`
RENAMED: `rlLoadShaderCode()` to `rlLoadShaderProgram()`, more descriptive of return
RENAMED: `rlLoadShaderProgram()` to `rlLoadShaderProgramEx()`
RENAMED: `rlLoadComputeShaderProgram()` to `rlLoadShaderProgramCompute()`
RENAMED: Some functions parameters for consistency
2026-03-09 14:23:54 +01:00
Ray
32005b9edf Update textures_bunnymark.c 2026-03-08 23:00:05 +01:00
Ray
1839b3edb0 Update shaders_cel_shading.c 2026-03-06 17:11:44 +01:00
Gleb A
54f630774d [example] cel-shading and outline using inverted hull (#5615)
* added cel-shading and outline using inverted hull example

* new screenshot

* added glsl100+120 compat

* updated view

* unnecessary spacing
2026-03-06 16:52:28 +01:00
Jeffery Myers
28288fafb1 Fix MSVC warnings. (#5619) 2026-03-04 07:52:50 +01:00
Ray
23c06bc6f1 Updating raygui for examples 2026-03-04 00:22:50 +01:00
Dmitry Mozgin
70a1a57a12 Remove unnecessary define from raylib_opengl_interop.c (#5618) 2026-03-03 19:04:06 +01:00
Ray
2c5e7f8db6 REVIEWED: example: textures_clipboard_image 2026-03-02 12:42:55 +01:00
Maicon Santana
8596c940ae Add clipboard image example to showcase the chipboard image functionality (#5604) 2026-03-02 12:34:02 +01:00
Ray
2b3218c3db REVIEWED: Start working on raylib 6.0 release... 2026-02-26 23:59:30 +01:00
Jeffery Myers
72b206624f MSVC warnings (#5595) 2026-02-26 18:33:08 +01:00
Thomas Anderson
b57526d71e update makefile and such (#5591) 2026-02-26 00:38:37 +01:00
Ray
29b5844119 REVIEWED: Comments and header 2026-02-24 12:48:54 +01:00
Ray
aec6e85ec3 Update raygui.h 2026-02-24 12:40:17 +01:00
Ray
25e521553d Update models_animation_blending.c 2026-02-24 12:33:00 +01:00
BadRAM
ace4d77bfa New example: textures_magnifying_glass (#5587) 2026-02-24 11:26:30 +01:00
Ray
7f0cedba63 Update shaders_shadowmap_rendering.c 2026-02-24 01:31:40 +01:00
Ray
ade81248c3 REVIEWED: Right timing 2026-02-24 01:26:07 +01:00