18 Commits

Author SHA1 Message Date
Mike Will
d4fc514d54
examples: Use decl literals (#221) 2025-03-12 21:21:15 +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
vent
845af357e4
Remove redundant namespaces from enums (#178) 2024-12-23 21:27:02 +01:00
vent
a378960088 Clean up build.zig and examples
This commit affects the build.zig and examples files. It reformats the
code to meet a 120 column limit. It also adjusts comments so that
there is a space after the comment symbol '//' and the grammar in the
comments has been fixed.
2023-09-11 16:04:32 +01:00
Not-Nik
edbd73e6be
Bump to Zig 0.11/raylib 4.6-dev 2023-07-21 17:04:56 +02:00
Not-Nik
286324cf03
Defer begin/end in examples 2023-07-20 16:39:06 +02:00
Not-Nik
f50189fdd0
More defer 2023-07-20 16:23:41 +02:00
Not-Nik
4bb6b605e4
Some small example fixes 2023-07-14 10:59:40 +02:00
Not-Nik
3f046d9db7
Convert return values 2023-07-11 18:58:07 +02:00
Not-Nik
d07552a064
Update example casts 2023-07-11 15:56:39 +02:00
Not-Nik
9e908b3925
Color member functions 2023-07-11 15:50:31 +02:00
Not-Nik
2578dceb42
Texture member functions 2023-07-11 15:39:11 +02:00
Not-Nik
7e95ad81b5
Update enum/const name style 2023-07-10 22:43:01 +02:00
Not-Nik
e29e012981
Map C pointers to Zig and functions names use Zig naming conventions 2023-07-10 22:22:37 +02:00
Not-Nik
c564af4f61
Move colors into color struct 2023-07-10 00:57:02 +02:00
Not-Nik
7a9cdd3af0
More convenience functions in structs 2023-07-09 19:31:27 +02:00
Not-Nik
42671d0195
Some work on the examples 2023-07-09 18:45:15 +02:00
Jordan O'Leary
aa3f77d736 add example "sprite_anim" 2023-03-23 12:19:15 -04:00