Nikolas
94fa7e23b0
Finish move to sentinal terminated slices ( #203 )
2025-03-04 17:50:23 +01:00
Nikolas
bc82c6ebd7
Move from sentinel-terminated pointers to sentinel-terminated slices globally ([+:0] -> [:0]) ( #203 )
2025-02-24 16:44:49 +01:00
Michael Lohr
4d452b2bcd
Add raymarching example ( #208 )
...
* feat: add raymarching example
* add to build.zig
2025-02-16 19:44:48 +01:00
Woshiwuja
8e5ef1045d
Added heightmap example ( #206 )
...
* added heightmap example
* better formatting
2025-02-16 19:43:02 +01:00
Frost-Phoenix
d3fdd327d5
example: add audio_module_playing
2025-02-16 19:41:48 +01:00
Frost-Phoenix
09ec2ca22b
example: add audio_sound_loading
2025-02-16 19:41:48 +01:00
Frost-Phoenix
9882dd4ba1
example: add audio_music_stream
2025-02-16 19:41:48 +01:00
Frost-Phoenix
5004bb2316
example: add text_writing_anim
2025-02-02 12:24:49 +01:00
Frost-Phoenix
9faf4b97a1
add text_raylib_fonts example
...
remove unused import and simplify code
2025-02-02 12:24:49 +01:00
Klaus
58724227e7
Fixing linker error for raygui when building in shared mode. ( #197 )
2025-01-26 16:32:48 +01:00
vent
1ef4995f82
Fix zig build test ( #192 )
2025-01-12 21:52:40 +01:00
vent
cb9fb452c6
Fix segault in textures_image_loading ( #190 )
2025-01-11 18:09:12 +01:00
vent
41022159ad
Error check using IsValid
functions and return error unions ( #191 )
...
* Verify shaders are valid
* Verify images are valid
* Verify models are valid
* Verify materials are valid
* Verify textures are valid
* Verify render textures are valid
* Verify waves are valid
* Verify sounds are valid
* Verify music is valid
* Verify audio streams are valid
* Verify fonts are valid
* Update examples to handle error unions
2025-01-11 18:07:33 +01:00
James Davis
30ce68004f
Use GamepadAxis enum for getGamepadAxisMovement instead of c_int ( #187 )
...
* Updated getGamepadAxisMovement to take enum and cast return to f32
* Updated raylib-ext.zig GetGamepadAxisMovement to take enum
* modified generate_functions.py to make changes instead
2025-01-10 19:18:45 +01:00
Josh Lankford
561481f4ae
add new shape examples to build.zig
2025-01-10 19:16:57 +01:00
Josh Lankford
f8b1495c69
add draw rectangle rounded example
2025-01-10 19:16:57 +01:00
Josh Lankford
882b69d8c9
add draw circle sector example
2025-01-10 19:16:57 +01:00
Josh Lankford
9f30de1eac
add draw ring example
2025-01-10 19:16:57 +01:00
Josh Lankford
3720deda6d
add following eyes example
2025-01-10 19:16:57 +01:00
Josh Lankford
a7deec3964
add collision area example
2025-01-10 19:16:57 +01:00
Josh Lankford
2fcdf3af45
add lines bezier example
2025-01-10 19:16:57 +01:00
Josh Lankford
16f4871846
add rectangle scaling example
2025-01-10 19:16:57 +01:00
Josh Lankford
21e7bb8cd3
add raylib logo animation example
2025-01-10 19:16:57 +01:00
Josh Lankford
2a569ea2ef
add color palette example
2025-01-10 19:16:57 +01:00
Josh Lankford
4e08de5584
add bouncing ball example
2025-01-10 19:16:57 +01:00
Josh Lankford
350388c8ec
add basic shapes example
2025-01-10 19:16:57 +01:00
raugl
4e05ee5a3f
Added missing variadic arguments to traceLog()
( #186 )
...
* Added missing variadic arguments to `traceLog()`
* Made changes resillient to `generate_function.py`
2025-01-06 17:26:37 +01:00
Not-Nik
57041e707c
[raygui] Allow GuiControlProperty and GuiDefaultProperty as types for property in GuiGetStyle/GuiSetStyle ( #131 )
2025-01-04 00:24:09 +01:00
Not-Nik
16a388c9c2
Fix build errors related to update to rl 5.5
2025-01-03 23:56:01 +01:00
Kaio Delphino
265461f4ec
fix: MATERIAL and SHADER_LOC default values ( #183 )
...
These constants were assigned to inexistent enums.
2025-01-03 23:43:27 +01:00
vent
845af357e4
Remove redundant namespaces from enums ( #178 )
2024-12-23 21:27:02 +01:00
Alexander Moening
0dcee846f4
Add both
field for runtime Linux platform detection ( #179 )
...
Add `both` field to allow GLFW to use runtime platform detection
2024-12-20 17:12:46 +01:00
Daniel Koucher Machado
de8c2d4585
Automatically include Emscripten headers ( #173 )
...
* add emscripten headers
* update func to return error
2024-11-26 20:18:33 +01:00
Michał
606d9bb9ba
raylib: add missing fields to Mesh struct ( #175 )
...
Add missing veoId and vboId fields to the Mesh struct. This fixes
some crashes when meshes are being manipulated on the Zig side, for
example when genMesh* functions are used.
2024-11-26 20:16:46 +01:00
Jonathan Marler
94570c4b60
fix zig fetch command in README ( #130 )
...
* fix zig fetch command in README
All URLs within build.zig.zon files must point to archives that never
change. However, the zig fetch command in the README.md adds a URL
that points to the `devel` git branch whose content changes whenever
the `devel` branch is updated.
I've updated the README a url that zig will resolve to a SHA before it
writes it to the zon file.
* Update template scripts
---------
Co-authored-by: Not-Nik <nik.wipper@gmx.de>
2024-11-25 14:19:38 +01:00
Андрей Краевский
ff775330c7
Update raylib to version 5.5 ( #174 )
2024-11-25 14:18:03 +01:00
Not-Nik
90109ff804
Revert "[build] Only cache raygui impl ( #170 )"
...
This reverts commit 2f773da6b38508dee1509282eadcfcab9c033b0e.
2024-11-08 17:48:26 +01:00
Not-Nik
2f773da6b3
[build] Only cache raygui impl ( #170 )
2024-11-08 15:36:12 +01:00
Not-Nik
a420751c0d
[emcc] Fix build for Windows ( #86 )
...
Co-authored-by: DanielKMach <danikoucher@gmail.com>
2024-11-08 15:18:30 +01:00
Miko
f5abffe4f7
feat: textures image loading example ( #167 )
...
Co-authored-by: Mikolaj Witkowski <notai@mikolajs-mbp.home>
2024-11-08 15:10:19 +01:00
Not-Nik
6c0774619d
[emcc] Pass -sUSE_OFFSET_CONVERTER
2024-11-08 15:09:20 +01:00
mega-dean
c191e12e7c
make some files not executable ( #160 )
2024-10-18 14:22:28 +03:00
Nicholas S. Zivkovic
817f91b57c
ported example core 3d picking ( #163 )
2024-10-18 14:21:01 +03:00
Nicholas S. Zivkovic
a6f94ce655
ported example 3d camera free ( #162 )
2024-10-18 14:19:22 +03:00
Not-Nik
a2397363aa
meta: Bump raylib/raygui
2024-10-13 14:12:39 +02:00
Not-Nik
01b6e1a2e2
raylib/raymath/rlgl/raygui: Expose cdef ( #152 )
2024-10-02 22:34:26 +02:00
Not-Nik
855ab9cd70
raygui: Revert property parameters back to i32s ( #131 )
2024-10-02 22:19:20 +02:00
Not-Nik
a087398387
rlgl: Add constants ( #156 )
2024-10-02 22:00:38 +02:00
Not-Nik
d4541b29e0
readme: Add info on build options
2024-09-28 21:05:49 +02:00
Not-Nik
1224eb2290
emcc: Fix build ( #155 )
2024-09-28 19:43:57 +02:00