Dawid Jankowiak
18a7daa631
Add project setup script for Windows ( #107 )
2024-06-24 11:26:18 +02:00
Sebastian Keller
e09c34d64d
Update project_setup.sh to work with zig 0.13.0 ( #105 )
2024-06-17 22:45:49 +02:00
Not-Nik
ad994ac135
Update README.md
2024-06-17 22:42:36 +02:00
Not-Nik
9105494e68
Remove .gitmodules
2024-06-17 21:02:23 +02:00
Not-Nik
44e9b6044a
Update zig version
2024-06-17 21:01:27 +02:00
Not-Nik
c5ce02c084
Warn users when calling textFormat with a non-tuple type
2024-06-17 21:00:42 +02:00
Not-Nik
43d15b05c2
Add CONTRIBUTING.md
2024-06-08 12:44:06 +02:00
Nikolas
0b1d3bd4e1
Update .gitattributes
2024-06-06 11:44:13 +02:00
Nikolas
bcb7ca5e9b
Don't include raylib headers in language analysis
2024-06-06 11:41:38 +02:00
Not-Nik
c0d07991d1
Merge raymath and rlgl into main raylib module
2024-06-05 22:56:07 +02:00
oneearedrabbit
171c2e100c
Update raylib to the latest version ( #101 )
...
* Update raylib to the latest
* Update API
---------
Co-authored-by: Not-Nik <nik.wipper@gmx.de>
2024-06-05 22:01:32 +02:00
Not-Nik
4d48d3c090
Pass OpenGL version to raylib dependency ( #100 )
2024-06-04 14:15:40 +02:00
Not-Nik
533c31321a
Fix build with raygui ( #98 )
2024-06-02 20:55:44 +02:00
Not-Nik
a968200aaf
Add raygui files to zon paths
2024-05-31 21:17:36 +02:00
Not-Nik
876219c600
Properly depend on raygui
2024-05-31 21:15:19 +02:00
Not-Nik
d56fc7b663
Update README.md
2024-05-31 20:39:40 +02:00
Not-Nik
674e5ada11
Use ShaderUniformDataType instead of int
2024-05-31 20:31:58 +02:00
Not-Nik
a0126d15be
BREAKING: rename raylib-math module to raymath
2024-05-31 20:27:48 +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
Sebastian Lukas
b5330624d6
Adding texture/background_scrolling example ( #91 )
...
Adding textures_background_scrolling example
Signed-off-by: Sebastian Lukas <sisasebbl@googlemail.com>
2024-05-20 20:38:22 +02:00
CosmicBagel
9abd48b147
Raylib commit bump for zig build script fix ( #90 )
...
Co-authored-by: CosmicBagel <>
2024-05-20 20:37:49 +02:00
Not-Nik
ae533ad60f
Update raylib
2024-05-15 22:42:35 +02:00
Not-Nik
3a18a355e3
Automatically fetch hash in project setup
2024-05-15 22:36:08 +02:00
CosmicBagel
28f9a051e4
LazyPath.path deprecated in zig 0.12, removed in 0.13 ( #89 )
...
LazyPath.path deprecated in zig 0.12, removed in 0.13, using b.path() instead
Co-authored-by: CosmicBagel <>
2024-05-15 22:28:24 +02:00
Not-Nik
b98527d062
Forward raylib options ( #87 )
2024-05-15 22:27:54 +02:00
Not-Nik
7cbe2292a1
Explicitly set error types for functions that return RaylibError
2024-05-04 19:47:00 +02:00
Not-Nik
a85122eabe
Update project setup to use raylib-zig's emcc instead of copying it
2024-05-03 22:36:54 +02:00
Not-Nik
07a11a1c28
Publicly expose emcc utility functions from build script
2024-05-03 22:16:39 +02:00
Not-Nik
dedc7c912e
Update README.md
2024-04-28 23:47:53 +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
6eeb304ff3
Remove public build script API
2024-04-25 23:24:56 +02:00
Not-Nik
4231842efd
Fix typo in README.md
...
Co-authored-by: rupakhetibinit <bineetrupakheti@gmail.com>
2024-04-20 22:13:05 +02:00
anthony-63
78f0d74305
vix version in zon ( #79 )
2024-04-17 17:22:09 +02:00
Not-Nik
8136c8ee92
Update project setup script
2024-04-14 22:47:29 +02:00
Not-Nik
a861917f5a
Update build.zig.zon
2024-04-14 22:44:09 +02:00
Not-Nik
b586febf5c
Make usage instructions more in-line with the new build process
2024-04-14 22:36:59 +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
625827ac4c
Add test step
2024-04-14 22:03:33 +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
Daniel Hill
a488218d0e
feat(examples): core/basic_screen_manager
& core/window_flags
( #78 )
...
* feat(examples): add `core/basic_screen_manager`
* feat(examples): add WIP `core/window_flags`
* fix(examples): get `core/window_flags` working correctly
2024-04-14 20:26:29 +02:00
Not-Nik
0e9d003926
Set version
2024-04-07 22:54:34 +02:00
Kean
068f9e1816
fixed pointer cast that discards const qualifier ( #75 )
...
* fixed pointer cast that discards const qualifier. By removing the const from the array parameter.
* changed to [*c]const
* Revert "changed to [*c]const"
This reverts commit d76c85d71ac0639f8ff59be4017a49b510c4d09d.
---------
Co-authored-by: Not-Nik <nik.wipper@gmx.de>
2024-04-07 14:08:35 +02:00
Not-Nik
433c170c02
Update project setup script to use raylib-zig as a dependency, instead of cloning the entire repo
2024-04-03 19:37:10 +02:00
Nikolas
d002b702c8
Merge pull request #74 from travisstaloch/update-setup
...
fix project_setup.sh for zig version 0.12.0-dev.1849+bb0f7d55e
2024-04-03 18:53:37 +02:00