286 Commits

Author SHA1 Message Date
Not-Nik
55d024fbe3
Update to raylib 4.2 re-release 2022-08-13 23:15:47 +02:00
Not-Nik
723c77688c
Update to raylib 4.2/zig 9.1 2022-08-11 23:05:10 +02:00
Nikolas
b8018afc90
Merge pull request #20 from Ivan-Velickovic/fix_vector_length_decl
fix: remove const from parameters in Vector3Length functions
2022-06-19 14:32:57 +02:00
Nikolas
85f1b5b8e1
Readd technical restrictions section (closes #22) 2022-04-27 14:10:25 +02:00
Ivan-Velickovic
59f05d5bdc fix: remove const from parameters in Vector3Length functions 2022-04-21 12:20:11 +10:00
Nikolas
a5b3846731
Merge pull request #19 from alanoliveira/fix_gamepad_fn
Use the right enum in the IsGamepadButtonXXX functions. Fixes #18
2022-03-25 16:34:22 +01:00
Not-Nik
533cd5a0ad
Integrate fix into function generation script 2022-03-25 16:33:29 +01:00
Alan Oliveira
d098e025ad Use the right enum in the IsGamepadButtonXXX functions 2022-03-25 21:39:23 +09:00
Not-Nik
261168a93c
Fix project setup script 2022-03-18 19:20:42 +01:00
Not-Nik
7d2665ebd7
Fix bug, where pointers were always marked const + update to lastest master 2022-03-18 17:48:11 +01:00
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