52 Commits

Author SHA1 Message Date
Not-Nik
42dab04fbf
Correct @call 2023-08-14 00:18:32 +02:00
Not-Nik
79ee589441
Update to raylib head 2023-08-05 20:16:53 +02:00
Not-Nik
5283eb79e3
Fix slice type 2023-07-21 21:59:16 +02:00
Not-Nik
f6323bf0fa
anyopaque fixes 2023-07-21 21:24:24 +02:00
Not-Nik
a022f39ceb
Update structs 2023-07-21 21:03:21 +02:00
Not-Nik
5050957b56
Correctly call image functions from members 2023-07-21 18:03:55 +02:00
Not-Nik
edbd73e6be
Bump to Zig 0.11/raylib 4.6-dev 2023-07-21 17:04:56 +02:00
Not-Nik
e25a3e070a
Image member functions 2023-07-20 17:58:29 +02:00
Not-Nik
d80ffdf645
Minor updates to member functions 2023-07-20 17:10:06 +02:00
Not-Nik
e13c5bf521
Compression/Encoding functions now with proper slices + correct casting for lens 2023-07-20 16:33:37 +02:00
Not-Nik
f50189fdd0
More defer 2023-07-20 16:23:41 +02:00
Not-Nik
183cc437ac
Font & unloading member functions 2023-07-20 16:13:59 +02:00
Not-Nik
f09c38381b
Use correct zero-terminated type for strings (#46) 2023-07-19 19:36:21 +02:00
Not-Nik
66b7a087c3
More work on slices 2023-07-18 21:43:18 +02:00
Not-Nik
c08e5f51c2
Fix issues with slices in font loading functions (#47) 2023-07-18 12:20:01 +02:00
Not-Nik
02a3dbba61
Update some types 2023-07-11 19:18:53 +02:00
Not-Nik
052ab7b75b
Convert some more enums 2023-07-11 19:14:05 +02:00
Not-Nik
3f046d9db7
Convert return values 2023-07-11 18:58:07 +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
8a2cd7dce2
Convert WindowState flags again, this time with a non-exaustive enum (#43) 2023-07-10 22:51:13 +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
642ca0513f
Remove unneccessary empty lines at the end of library files 2023-07-10 00:45:21 +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
ffe8091bc4
Don't convert flags type to enum for WindowState (#43) 2023-07-07 02:09:23 +02:00
Not-Nik
af773c79e2
Use single library files instead of keeping function declarations in a seperate file 2023-07-07 02:03:54 +02:00
Not-Nik
1e06706bff
Update to 4.5-dev 2023-01-23 22:07:43 +01:00
Alexander Heinrich
59a62074e9 Fix typo 2023-01-04 20:16:01 +01:00
Alexander Heinrich
7ee4eb953d Rename RayHitInfo to RayCollision
This struct was renamed by upstream a while ago:
1c5de9721a
2022-12-17 18:26:27 +01:00
Not-Nik
723c77688c
Update to raylib 4.2/zig 9.1 2022-08-11 23:05:10 +02:00
Not-Nik
eba6c5392f
Update versions 2022-01-08 23:18:09 +01:00
Not-Nik
28bd276606
Add raylib 4.0.0 and macos compilation support 2022-01-08 23:07:54 +01:00
Not-Nik
fe637bb128
Some more cleanup 2022-01-08 20:58:22 +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
Not-Nik
3e6462d3af
Untested update to raylib 3.7 2021-07-20 18:04:03 +02:00
Maurizio Crocci
ab5431403c Removes unused function params and extern enums
This changes were necessary to bring the library
compatible with zig 0.9.0-dev.400+6c11e9bb0
2021-07-10 03:23:05 +01:00
Maurizio Crocci
b2a1cc8f41 Fixes GenGrandientV dulicated fn to GenGrandientH 2020-10-05 13:43:27 +01:00
Not-Nik
468ccf3a1a
Fix #3 on master (3.0) branch 2020-05-22 21:06:43 +10:00
Not-Nik
ecd3f09040
Fix naming issues 2020-05-14 10:28:51 +10:00
Not-Nik
3969aee9cc
Functions generated automatically 2020-05-09 23:12:17 +10:00
Not-Nik
2fab03eec1
Update comments 2020-05-04 15:14:13 +10:00
Not-Nik
c481ade52f
Starting out with object orientation 2020-05-04 15:06:13 +10:00
Not-Nik
a4fabdcd40 Raylib 3.0 compatibility \o/
Signed-off-by: Not-Nik <nik.wipper@gmx.de>
2020-05-02 13:34:46 +10: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