230 Commits

Author SHA1 Message Date
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
Nikolas
05fca88a02
Merge pull request #73 from tumberino/patch-1
Lock the cursor to the window for first person camera
2024-03-26 20:21:41 +01:00
Nikolas
694702b758
Update fps example to be more inline with raylib's version 2024-03-26 20:21:24 +01:00
Travis Staloch
906f19afc4 fix project_setup.sh for zig version 0.12.0-dev.1849+bb0f7d55e 2024-03-22 19:00:37 -07:00
James 'JT' Tumber
4edb34888a
Lock the cursor to the window for first person camera 2024-03-22 16:14:30 +00:00
Not-Nik
f8735a8cc7
Fix file exists in multiple modules error when including raymath (again) 2024-02-12 00:46:59 +01:00
Nikolas
7f73ddfa72
Merge pull request #67 from stalengd/devel
fix wrong getArtifact function invocation in setup script
2024-02-03 13:03:17 +01:00
StalinGD
62010ca3a9 fix wrong getArtifact function invocation in setup script 2024-02-02 16:37:53 +03:00
Nikolas
ff35f839e0
Merge pull request #65 from Kaixi26/devel 2024-01-31 14:20:29 +01:00
Nikolas
f86a2cd40f
Merge pull request #62 from iacore/patch-1 2024-01-30 13:39:50 +01:00
iacore
940d31c892
Merge remote-tracking branch 'origin/devel' into patch-1 2024-01-29 08:30:07 +00: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
Nikolas
54c298fe24
Merge pull request #64 from seppelin/devel
add default fontChars support
2024-01-17 20:52:58 +01:00
Nikolas
9c2b19aebf
Merge pull request #63 from sunarch/var-to-const
Change never mutated vars to consts
2024-01-17 20:52:45 +01:00
seppelin
5eeb74c908 add default fontChars support 2024-01-06 21:30:14 +01: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
iacore
048bf83616
Add the copied C headers to source 2024-01-01 16:08:02 +00:00
Locria Cyber
af35245a38
update generate files 2023-12-29 00:44:37 +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
Locria Cyber
37ddb70f93
Update zig functions to raylib 5.0 2023-12-28 14:59:48 +00:00
András Németh
3c89931a8c
Change never mutated vars to consts
Both are fine on 0.11.0 but 0.12.0-dev raises an error on build.
2023-12-28 02:24:20 +01:00
Locria Cyber
90bb1071dc
add drawCircleLinesV 2023-12-27 15:58:57 +00:00
Locria Cyber
dfd0e4ffa8
add const to draw* API 2023-12-25 13:36:24 +00:00
Locria Cyber
183347adaf
expose raylib artifact 2023-12-25 09:38:45 +00:00
Locria Cyber
654fd4b99f
Update to raylib 5.0 2023-12-25 09:23:28 +00:00
Not-Nik
239d3a2d96
Remove pub qualifier from getModuleInternal in build.zig 2023-10-11 13:47:18 +02:00