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
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
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
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
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
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
6cc4aec3c4
Allow passing points for drawing as const slices ( #127 )
2024-08-04 23:33:48 +02:00
Not-Nik
a7f25c615b
Use slice length for spline and image kernel functions
2024-07-28 00:11:56 +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
1dab3352b3
Allow not specifiying codepoints in loadFontEx ( #110 )
2024-06-25 20:01:25 +02:00
Not-Nik
fb11a4e1c8
Make panel text optional ( #109 )
2024-06-25 19:49:57 +02:00
Not-Nik
c5ce02c084
Warn users when calling textFormat with a non-tuple type
2024-06-17 21:00:42 +02:00
Not-Nik
c0d07991d1
Merge raymath and rlgl into main raylib module
2024-06-05 22:56:07 +02:00
Not-Nik
6ff9f0a45b
Use packed struct for ConfigFlags ( #93 )
2024-05-31 20:23:04 +02:00
Not-Nik
98ced86523
Use more enums instead of ints
2024-05-31 19:52:06 +02:00
Not-Nik
0378699fcd
Remove unneccessary escape for type member
2024-05-31 19:34:56 +02:00
Mohanavel S K
efb7b736db
Adding support for raygui ( #95 )
...
* updated build.zig and generate_functions.py to add raygui
* added raygui.h and manually coded some structs & enums in raygui prelude WIP
* ported all the structs, enums and globals to zig till raygui implementation
* imported types from raylib in raygui
* re-encoded raygui-prelude.zig. I don't know for some reason it was showing up as UTF-16 unicode text file. re-encoded it to UTF-8
* fixed imports in prelude to work properly with generated files
* updated generate_functions.py file to generate for raygui [text type error not fixed]
* simple temporary patch for mentioned text type issue
* removed unused imports from raylib in raygui
* added generated files
* Manually define raygui functions for slice arguments
* Manually define raygui functions with pointer return values
---------
Co-authored-by: Not-Nik <nik.wipper@gmx.de>
2024-05-31 19:24:05 +02:00
Mike Will
39909cdcb3
Add an implementation of Zig's Allocator interface ( #94 )
2024-05-21 16:12:20 +02:00
Not-Nik
ae533ad60f
Update raylib
2024-05-15 22:42:35 +02:00
Not-Nik
7cbe2292a1
Explicitly set error types for functions that return RaylibError
2024-05-04 19:47:00 +02:00