31 Commits

Author SHA1 Message Date
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
0ee5495059 Fix 3d camera first person example 2023-07-22 23:20:20 +02: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
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
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
Not-Nik
1e06706bff
Update to 4.5-dev 2023-01-23 22:07:43 +01:00
Not-Nik
723c77688c
Update to raylib 4.2/zig 9.1 2022-08-11 23:05:10 +02:00
Not-Nik
ba7b7c97f8
Update build system to latest raylib 2022-03-18 16:57:15 +01:00
Not-Nik
c83263a8a7
Readd core examples 2022-01-08 23:51:50 +01:00
Not-Nik
eba6c5392f
Update versions 2022-01-08 23:18:09 +01:00
Francisco Demartino
5e275e93df fix build and basic_window example
some restructuring due to the recent changes to usingnamespace.

also cleaned up some deprecated stuff from raylib 3.7.

- appended the contents of raylib-wa.zig into raylib-zig.zig
- using raylib functions requires `const rl = @import("raylib");`
    (and accesing the identifiers inside rl, like `rl.InitWindow`)

only the basic_window example was updated, and it looks like it crashes
on keyboard inputs.

many thanks to @nektro :)
2022-01-08 05:37:52 -03:00
Not-Nik
004388133b
Fixup for rl 3.7 2021-11-28 14:07:22 +01:00
Maurizio Crocci
73a76bf849 Fixes examples that had unused params 2021-07-10 03:26:08 +01:00
Not-Nik
1e4b02ad1b
Fix mouse input example 2020-11-29 11:51:56 +01:00
Not-Nik
c481ade52f
Starting out with object orientation 2020-05-04 15:06:13 +10:00
sacredbirdman
a7fa7755de zig 0.6.0 compatibility 2020-04-27 20:43:42 +03:00
G3bE
5f8226f8d8
Some minor improvements 2020-02-22 20:43:30 +10:00
G3bE
53be5d5871
Add some examples 2020-02-16 15:29:40 +10:00
G3bE
169fc6a886
Add (broken) models loading example 2020-02-15 21:53:45 +10:00
G3bE
4f808f7da1
Recreated ABI comatiblity 2020-02-15 20:54:31 +10:00
G3bE
b8c883e446
Raylib gets added as a package to examples and the projectSetup generator 2020-02-15 20:42:22 +10:00
G3bE
bfb4da40a0
Complete rename 2020-02-15 20:20:32 +10:00
G3bE
abd32b7cc8
Add bindings 2020-02-15 19:58:03 +10:00