* 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
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.
* 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
* 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>
* Update to Zig 0.12.0 and raylib 5.1-dev
* More build.zig fixes for 0.12
* Get module with target and optimization
* Add examples to build step when compiling for emscripten
* Remove unused function
* Add build.* and emcc.zig to the zon paths (#83)
As per some info found through https://github.com/ziglang/zig/issues/18282,
this is apparently necessary to use this library as a dependency.
Co-authored-by: Drum Ogilvie <me@daogilvie.com>
* Update binding