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
Nikolas
ae751ce82e
Bump to Zig 0.12/raylib 5.1-dev ( #81 )
...
* 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
2024-04-28 23:46:51 +02:00
Not-Nik
9600e2108a
Rename library files
2024-04-14 22:20:30 +02:00
Not-Nik
ee7593d5ef
Add rlgl binding ( #77 )
2024-04-14 22:14:49 +02:00
Not-Nik
1aab1159da
Add testing with refAllDeclsRecursive and fix some compile errors
2024-04-14 21:48:53 +02:00
Not-Nik
42c091f514
Update pixel format enum
2024-04-14 20:58:35 +02:00
Not-Nik
f8735a8cc7
Fix file exists in multiple modules error when including raymath (again)
2024-02-12 00:46:59 +01:00
Nikolas
ff35f839e0
Merge pull request #65 from Kaixi26/devel
2024-01-31 14:20:29 +01:00
iacore
1ca51fe8aa
apply review suggestions
2024-01-29 08:25:02 +00:00
Kaixi26
588675a3e6
fix compilation errors in zig prelude
2024-01-23 01:02:30 +00:00
iacore
99b1119adb
clean up
2024-01-02 06:09:09 +00:00
iacore
ca13a424e5
fix imports
2024-01-01 16:18:21 +00:00
Locria Cyber
db9c0729a3
revert changes
2023-12-29 00:42:41 +00:00
Locria Cyber
44e53ff7d1
fix examples
2023-12-28 15:07:14 +00:00
Locria Cyber
528bcf29c5
fix const
2023-12-28 15:04:26 +00:00
Not-Nik
b74f8d02bb
Correctly define Color.pink ( #58 )
2023-10-11 13:44:48 +02:00
Not-Nik
00ea64faa7
Catch null pointers before trying to cast them ( #49 )
2023-10-03 21:23:28 +02:00
Not-Nik
cd66693011
Use slice length instead of asking for it from the callee on some functions ( #50 )
2023-08-18 00:58:13 +02:00
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
0d4cc3ac8c
Fix file exists in multiple modules error when including raymath
2023-08-05 20:10:10 +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