364 Commits

Author SHA1 Message Date
Nikolas
2e60ac0127
Fixup RAYLIB_VERSION constant (#236) 2025-05-01 17:16:16 +02:00
Daniel Hill
0de5f8aed0 fix(raygui): make some funcs return bool instead of i32 2025-04-20 13:50:02 +02:00
Daniel Hill
67fd5af55a fix(raygui): strip "Gui" prefix from Zig functions 2025-04-20 13:50:02 +02:00
Daniel Hill
f4b69764db feat(raygui): get message box example working 2025-04-20 13:50:02 +02:00
Nikolas
d6c77762cb
Automatically generate functions that return their slice length, where possible 2025-03-30 19:29:51 +02:00
Nikolas
c30197911a
Add loadRandomSequence 2025-03-30 18:05:49 +02:00
Tommy D. Rossi
a00552ea79
Fix exportImageToMemory (#232)
* fix exportImageToMemory

* update make_return_cast
2025-03-30 18:00:07 +02:00
Nikolas
e072ff119b
Update raylib/raygui to latest master (#231) 2025-03-23 20:01:44 +01:00
Axel Magnuson
dfe22275cf
Core 2D Camera Platformer Example (#222)
* Core 2D Camera Platformer Example

* Use decl literals for enums in platformer example
2025-03-23 19:52:05 +01:00
Erazem Kos
8d5a7d382c
Update feature macro documentation for zig 0.14.0 (#225)
Update feature macro documentation for zig 0.14.0
2025-03-20 12:00:40 +01:00
Mike Will
d4fc514d54
examples: Use decl literals (#221) 2025-03-12 21:21:15 +01:00
Nikolas
03ec79ef85
Manually include ubsan in emscripten builds (#220) 2025-03-12 21:16:53 +01:00
Nikolas
17a1754271
Update raylib hash so we get the new shiny build.zig.zon 2025-03-10 14:07:10 +01:00
Nikolas
a7f626993c
Fix basic_window_web, where a bool was passed to an int 2025-03-10 13:27:50 +01:00
Rik Chilvers
5bbafa4f86
Work around zig#23051 (#216) 2025-03-06 22:37:40 +01:00
Nikolas
b6af3509c8
Update raylib ad raygui in build.zig.zon 2025-03-06 15:26:13 +01:00
Nikolas
e18e2db5e5
Make secretViewActive in guiTextInputBox optional (#205) 2025-03-06 15:24:09 +01:00
kukuen
1a9b848c06
Port of basic_window_web from raylib (#210)
Port basic_window_web from raylib
2025-03-06 15:19:10 +01:00
Nikolas
279bcc0a13
Update to new forced literal (#213) 2025-03-06 15:17:23 +01:00
Nikolas
9444b5a438
Use zig init in project template 2025-03-06 15:14:45 +01:00
Nikolas
57a8a21b48
Update Zig version in README 2025-03-05 18:20:56 +01:00
Nikolas
9e69ca5946
Merge changes from devel 2025-03-05 18:16:21 +01:00
Nikolas
1b6a05ca3b
Update to Zig 0.14.0 and raylib 5.6-dev 2025-03-05 18:09:59 +01:00
Nikolas
e4d66a8dae
Perform colorToInt conversion manually during compiletime (#176) 2025-03-04 17:50:50 +01:00
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
haxsam
ae7cb3fa93
Update to latest zig master
updated raylib and raygui
2025-01-18 22:08:45 +01:00
haxsam
ae76994a2d [build.zig] improve build system
- Is now possible to switch platform

- Forwarded option structs from raylib build.zig

- raygui build step depends on raylib build.zig
2025-01-18 22:08:08 +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