Commit graph

176 commits

Author SHA1 Message Date
Karim Mk
4b6a05cd10
fix: Vector2/3/4 + Quaternion equals method return type. (#322)
* Fix return type.

* Nvm
2026-04-14 11:05:52 +02:00
Eliott Muller
a93d7f04ae
Add an explicit quaternion type definition (#316, #317) 2026-04-08 16:36:31 +02:00
Nikolas
35d26ddef9
Make rlGetProcAddress return ?*const anyopaque (#312) 2026-04-08 16:24:18 +02:00
Nikolas
487e059598
Cast *Equals function results to bool (#311) 2026-04-08 16:18:32 +02:00
GuineaPigUuhh
e7fe21a041 make .zero and .one able to be comptime-known (#302) 2026-04-04 08:42:02 +00:00
Jairo Correa
67d4311b42 Make KeyboardKey a non-exhaustive enum to avoid crashes with unmapped keys. (#319)
Make KeyboardKey a non-exhaustive enum
2026-04-04 08:35:37 +00:00
Nikolas
01869ab291
Add all subfiles to refAllDecls 2026-04-03 20:27:19 +02:00
Nikolas
8e04b7098a
Bump raylib/zig versions 2026-04-03 18:13:08 +02:00
Nikolas
aa9ee05f22
Allow all property enums for get/setStyle (#299, #307) 2026-04-03 18:13:08 +02:00
GuineaPigUuhh
aefd26cac9
make .zero and .one able to be comptime-known (#302) 2026-04-03 12:31:53 +02:00
Jairo Correa
99863b20b4
Make KeyboardKey a non-exhaustive enum to avoid crashes with unmapped keys. (#319)
Make KeyboardKey a non-exhaustive enum
2026-04-03 12:28:54 +02:00
Nikolas
81c58a3d44
Make textLeft, textRight, value optional in GuiSlider, GuiSliderBar, GuiProgressBar (#306) 2026-01-29 20:32:14 +01:00
Nikolas
aaaa53c3ce
Fixed a bug where optional string arguments weren't actually optional 2026-01-29 20:29:10 +01:00
Nikolas
a4d18b2d1c
Add init functions from Zig vectors to raylib vectors 2025-11-15 19:36:39 +01:00
Nikolas
163b1ef2e9
Bump raylib to master (#283) 2025-10-09 17:52:41 +02:00
Nikolas
0248dc6e98
Bump raylib to master 2025-09-21 18:27:42 +02:00
Nikolas
33f216d4fc
Make Gesture a packed struct (#284) 2025-09-11 19:24:23 +02:00
Nikolas
651b37a025
Formatting 2025-09-11 19:24:23 +02:00
Timothy Fiss
c84506a92d replace c_int with NPatchType 2025-09-06 20:30:52 +02:00
Nikolas
acd5507b0e
Bump raylib to master (#278) 2025-08-31 16:42:31 +02:00
Nikolas
178530d5f5
Update to Zig 0.15.1 2025-08-23 15:32:42 +02:00
Maicon Santana
7bdb0cd320
Add unload on missing types (#267) 2025-08-07 19:41:01 +02:00
Nikolas
a6e9ce520f
Return rectangle list without taking it as an arg in genImageFontAtlas (#263) 2025-08-03 14:21:44 +02:00
Nikolas
3eee232f10
Make codepoints in loadFontData optional (#263) 2025-08-03 13:56:43 +02:00
Nikolas
5013830647
Bump raylib to master (#239, #243, #249) 2025-06-27 15:00:18 +02:00
Nikolas
3bf08a304c
Fix return type for raygui.labelButton 2025-05-04 17:31:08 +02:00
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
Nikolas
e18e2db5e5
Make secretViewActive in guiTextInputBox optional (#205) 2025-03-06 15:24:09 +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
haxsam
ae7cb3fa93
Update to latest zig master
updated raylib and raygui
2025-01-18 22:08:45 +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
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
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
Андрей Краевский
ff775330c7
Update raylib to version 5.5 (#174) 2024-11-25 14:18:03 +01:00