155 Commits

Author SHA1 Message Date
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
mega-dean
c191e12e7c
make some files not executable (#160) 2024-10-18 14:22:28 +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
johan0A
87e18ab398
Make fontChars optional in loadFontFromMemory (#153)
Fixed loadFontFromMemory and Font.fromMemory not allowing null for fontChars
2024-09-28 14:54:02 +02:00
Not-Nik
e3e3a7518a
Bump to raylib 5.5-dev 2024-08-31 11:20:45 +02:00
Not-Nik
58df62807f
Add drawTextCodepoints (#135) 2024-08-17 17:22:57 +02:00
Not-Nik
4b2d9b305f
Allow passing points for drawing as const slices (#127) (2/2) 2024-08-17 17:22:57 +02:00
Not-Nik
6cc4aec3c4
Allow passing points for drawing as const slices (#127) 2024-08-04 23:33:48 +02:00
Not-Nik
da1da5a66c
Allow passing null pointers to more rlgl functions (#128) 2024-08-04 23:25:47 +02:00
Not-Nik
a7f25c615b
Use slice length for spline and image kernel functions 2024-07-28 00:11:56 +02:00
M. Bamberg
155a95feeb
Add shebang line to python script and make it executable (#124) 2024-07-27 23:28:09 +02:00
Not-Nik
c96627f91a
Use proper enums for GuiGetStyle/GuiSetStyle (#125) 2024-07-27 23:27:00 +02:00
pancelor
6efc03f6fe
fix setMouseCursor() and setTextureWrap() enum types (#126)
* tidying

no change to behavior, just change a few things to be
more consistent with the rest

* fix enum type conversions

setMouseCursor() and setTextureWrap() both took c_int arguments;
now they take zig enums instead

* make fix_enums table-driven

hopefully this is easier to visually parse than the if-else chain
2024-07-27 23:19:14 +02:00
M. Bamberg
85e07d7db5
Make fontChars parameter optional in Font.initEx to match rl.loadFontEx (#123) 2024-07-22 10:08:44 +02:00
Not-Nik
a03b65a76c
Move from sentinel-terminated slices to sentinel-terminated pointers ([:0] -> [*:0]) 2024-07-09 21:59:38 +02:00
Not-Nik
fe34354be0
Seperate error union 2024-07-06 22:36:29 +02:00
Dumb Bird
2d8e856009
Make use of Zigs doc comments (#116)
* copy over inline comments

* remove trailing comma

* add more doc comments

* implement requested changes

* Newly generated file

* Manually add docstrings to raygui functions in prelude

* Fix generator script

---------

Co-authored-by: Not-Nik <nik.wipper@gmx.de>
2024-07-03 21:32:56 +02:00
pancelor
e98afb5252
Fix typo: constrast -> contrast (#115) 2024-07-02 21:15:10 +02:00
Not-Nik
361d3962cf
Allow passing null pointers to certain rlgl functions (#112) 2024-06-30 21:03:56 +02:00