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
Not-Nik
28bd276606
Add raylib 4.0.0 and macos compilation support
2022-01-08 23:07:54 +01:00
Nikolas
3c94160c6f
Merge pull request #15 from franciscod/devel
...
updates for zig 0.9.0
2022-01-08 20:59:18 +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
Francisco Demartino
3f19a5742a
set value for _POSIX_C_SOURCE macro
...
this fixes the raylib build for me.
c46989a1d9
2022-01-08 05:37:52 -03:00
Francisco Demartino
14a17edccf
projectSetup.sh: add shebang
2022-01-08 05:37:52 -03:00
Francisco Demartino
8e4adc376d
replace deprecated std.debug.warn with print
2022-01-08 03:43:21 -03:00
Not-Nik
004388133b
Fixup for rl 3.7
2021-11-28 14:07:22 +01:00
Not-Nik
a8d8d4b9bc
Merge branch 'devel' of https://github.com/Not-Nik/raylib-zig into devel
...
Local pull, I'm sorry
2021-07-25 02:19:11 +02:00
Not-Nik
bc85894992
Blatant copy rcorre's 'Fix SetShaderValue and port rlights.'
2021-07-25 02:19:01 +02:00
Nikolas
aa23317a17
Merge pull request #13 from rcorre/models_loading
...
Complete models_loading example.
2021-07-25 01:14:18 +02:00
Ryan Roden-Corrent
51b327fa03
Complete models_loading example.
...
This had a few things missing/commented, but after fixing the load paths
and uncommenting code, it seems to work fine for me.
I also ran `zig format` on the example, I can submit a PR without that
if it isn't ideal.
2021-07-24 16:21:49 -04:00
Not-Nik
3e6462d3af
Untested update to raylib 3.7
2021-07-20 18:04:03 +02:00
Nikolas
1996635c5b
Merge pull request #10 from mbcrocci/master
...
Compatibility with 0.9.0-dev changes
2021-07-12 22:40:56 +02:00
Maurizio Crocci
edbdcf4627
Reverts comment of fetchSubmodules
2021-07-12 09:54:15 +01:00
Nikolas
bfea325d40
Delete main.yml
2021-07-11 19:17:48 +02:00
Nikolas
b71cdfdc7c
Change zig setup strategy
2021-07-11 18:51:39 +02:00
Nikolas
47061fe68f
Downgrade Zig version
2021-07-11 18:43:49 +02:00
Nikolas
b858a04da8
Create CI workflow
2021-07-11 18:18:07 +02:00
Maurizio Crocci
46fe1d2b1f
Updates ReadMe
2021-07-11 14:37:27 +01:00
Maurizio Crocci
d0d4afa391
Temporary comment of fetchSubmodules
2021-07-10 03:31:14 +01:00
Maurizio Crocci
73a76bf849
Fixes examples that had unused params
2021-07-10 03:26:08 +01: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
Not-Nik
1e4b02ad1b
Fix mouse input example
2020-11-29 11:51:56 +01:00
Nikolas
8ae2cefd4c
Merge pull request #7 from Gertkeno/master
...
macosx -> macos; double -> f64
2020-11-29 11:34:15 +01:00
Nikolas
c26f12bc9a
Update generate_functions.py
2020-11-29 11:34:01 +01:00
Garrett Hale
813cdfe4f3
set matrix math to use f64 instead of double
2020-11-27 17:51:59 -06:00
Garrett Hale
3d19112b2a
macosx not in zig 0.7 build
...
extern fn GetTime() uses f64
2020-11-27 15:17:50 -06:00
NotNik
9da413709c
Merge pull request #6 from mbcrocci/patch-1
...
Fixes GenGradientV duplication
2020-10-09 12:31:28 +02:00
Maurizio Crocci
b2a1cc8f41
Fixes GenGrandientV dulicated fn to GenGrandientH
2020-10-05 13:43:27 +01:00
NotNik
863b34ef6a
Update ReadMe.md
2020-06-24 16:11:33 +10:00
NotNik
5058a150d5
Update ReadMe.md
2020-06-24 16:03:14 +10:00
NotNik
8756a27543
Update ReadMe.md
2020-06-24 15:58:08 +10:00
Not-Nik
4e9779db7d
Update and move logo
2020-06-02 21:05:36 +10:00
Not-Nik
4ef6fc8f8c
Update formatting
2020-06-02 21:01:53 +10:00
Not-Nik
492c7ac02f
Add logo
2020-06-02 21:00:48 +10:00
Not-Nik
9891ade3ae
Make linking system raylib the first thing we do
2020-05-28 14:28:22 +10:00
NotNik
1e2b7c892e
Merge pull request #4 from jessrud/raylib-submodule
...
add raylib submodule @ 3.0.0
2020-05-28 14:21:12 +10:00
Jesse Rudolph
c2ba0af539
use rlglfw only on windows
...
apparently building glfw is non-trivial on linux, and rglfw.c only really
exists in service of building raylib on windows requiring fewer steps
2020-05-27 21:17:17 -05:00
Jesse Rudolph
1a955c291e
stub out macosx stuff
2020-05-27 06:32:27 -05:00
Not-Nik
0fc7e68754
Silence OpenGL depreciation warnings on macOS
2020-05-27 13:59:43 +10:00
Jesse Rudolph
92f9aca743
exclude build of raylibs vendored glfw on macosx
2020-05-26 04:39:52 -05:00
Jesse Rudolph
7fc94954b9
adapt projectSetup.sh for use with lib.zig and raylib submodule
2020-05-24 21:59:40 -05:00
Jesse Rudolph
8771f17efb
attempt to automatically fetch raylib submodule if building against its source code
2020-05-24 15:31:08 -05:00
Jesse Rudolph
44fee6a550
support mac and bsd
2020-05-24 06:42:03 -05:00
Jesse Rudolph
6ece4e99f0
add argument to Pkg().link to enable linking to system raylib
2020-05-24 06:04:21 -05:00
Jesse Rudolph
c6222a0913
add raylib submodule
...
also add build helper `lib.zig` to handle compiling and linking against
raylib's source code, and update `build.zig` for examples to reflect
lib.zig usage.
2020-05-23 03:46:54 -05:00