Alex Macafee
1f2ab84e82
Use GuiControlProperty instead of c.int
2024-07-31 19:08:08 +10:00
Alex Macafee
92831d7ca3
Remove GuiStyleProp
2024-07-31 18:58:43 +10:00
Alex Macafee
f33b4ecd3e
Update Raygui Style set/get functions
2024-07-31 18:48:16 +10:00
gingerBill
df56655ab1
Fix formatting inconsistencies
2024-07-16 14:03:02 +01:00
gingerBill
6702f07762
rawptr -> cstring
2024-07-16 14:02:07 +01:00
gingerBill
8642d719f0
Imply #no_capture to all variadic parameters
2024-07-14 12:19:47 +01:00
gingerBill
c7bd954752
Add more uses of #no_capture
2024-07-14 11:56:04 +01:00
gingerBill
a67df07392
Merge pull request #3742 from karl-zylinski/fix-raymath-matrix-to-float
...
Make rl.MatrixToFloatV do same thing in Odin as in C
2024-06-12 23:15:48 +01:00
Karl Zylinski
c7ea4ec71c
rlgl: Pull in raylib and expose missing types, so it is the same as rlgl.h. This makes rlgl less stand-alone, but I left some notes in rlgl.odin how to easily make it stand-alone if one really wants to.
2024-06-12 21:13:12 +02:00
Karl Zylinski
d37b5a7b67
Make rl.MatrixToFloatV transpose the matrix before transmuting it to [16]f32, so it does the same thing as the raymath version implemented in C.
2024-06-12 19:54:14 +02:00
gingerBill
cb45aa58fd
Merge pull request #3731 from karl-zylinski/rlgl-subpackage
...
Move rlgl to vendor:raylib/rlgl
2024-06-12 11:51:16 +01:00
Karl Zylinski
1a22f82f94
Changed rl.SetShaderValue etc to take a c.int like in original raylib.h. You should be able to use other values than the ShaderLocationIndex enum, that enum is only for build in things in raylib. Added #any_int on those procs so you can pass both int and also a ShaderLocationIndex.
2024-06-11 18:03:20 +02:00
Karl Zylinski
c9e732d141
rlgl.RLGL_VERSION -> rlgl.VERSION
2024-06-11 08:59:30 +02:00
Karl Zylinski
d2cd96c3c8
Made rlgl.odin work as a subpackage of raylib. So now you import vendor:raylib/rlgl. Instead of rl.rlBegin(rl.RL_TRIANGLES) you now type rlgl.Begin(rlgl.TRIANGLES).
2024-06-11 08:46:44 +02:00
Karl Zylinski
34af2bb8ad
Moved rlgl.odin to subpackage 'raylib/rlgl'
2024-06-11 08:34:45 +02:00
gingerBill
ff37a7435c
Add parentheses around the foreign import paths
2024-06-06 21:03:35 +01:00
gingerBill
3b7100f8e5
raygui: change c.int to their correct enum types
2024-06-04 16:17:49 +01:00
gingerBill
11b1a48bf0
Fix extra_linker_flags for raylib on windows
2024-06-04 15:54:57 +01:00
gingerBill
72ce111a95
Keep -vet happy
2024-06-04 15:51:19 +01:00
gingerBill
606608c02b
Utilize foreign import constant strings for foreign imports
2024-06-04 15:49:17 +01:00
alec hodgkinson
3b632b4d90
Fixed typo in raylib documentation
2024-04-22 15:13:52 -07:00
Laytan Laats
d83532d29e
fix raygui GuiFade being renamed to GuiSetAlpha
2024-04-06 20:20:16 +02:00
gingerBill
29e5f94c2a
Add #no_broadcast procedure parameter to disallow automatic array programming broadcasting on procedure arguments
2024-03-21 11:52:48 +00:00
gingerBill
cd7137af60
Update raylib to use #row_major matrices
2024-03-19 21:16:04 +00:00
gingerBill
51d12acab3
Enforce linalg
2024-03-08 13:28:15 +00:00
Laytan Laats
3ada83a503
clean imports
2024-03-01 20:32:07 +01:00
Laytan Laats
50ded324e0
move va_list into core:c
2024-03-01 20:30:19 +01:00
Laytan Laats
6734a7096a
makes raylib and stb_rect_pack free of libc
2024-02-29 23:33:25 +01:00
gingerBill
d1174f66bc
Fix #3233
2024-02-28 13:41:54 +00:00
Karl Zylinski
cdda8f0eb9
Additional fixes for errors in Raylib bindings since Raylib 4 -> 5 upgrade.
2024-02-26 17:16:45 +01:00
Karl Zylinski
ae67f37fc1
Fix ModelAnimation in raylib.odin missing a field.
2024-02-26 13:32:16 +01:00
gingerBill
b43c1f2b5b
Merge pull request #3134 from laytan/non-universal-binaries-raylib
...
vendor/raylib: change to non-universal binaries
2024-02-19 14:18:44 +00:00
gingerBill
4ca23499fa
Add raymath procedures (with numerous deprecated attributes to suggest to use array programming)
2024-02-10 16:31:03 +00:00
Murtagy
456dd22dc4
Update raylib.odin
2024-02-05 21:38:17 +03:00
Murtagy
7bf25a4cf2
typo in comment
2024-02-03 18:43:34 +03:00
Laytan Laats
9ac619f4a2
vendor/raylib: change to non-universal binaries
...
We already have 2 different folders for the different architectures, so
this does should not have any usage impact.
Main motivation for doing this is hombrew requiring non-universal
binaries in their installation, so this is a step to getting homebrew
and vendor to play nice.
2024-01-24 20:58:14 +01:00
Colin Davidson
d0bb1fb844
bring log allocator up to date
2024-01-17 13:11:10 -08:00
gingerBill
1d621295b1
Fix #1934 raylib IsGestureDetected
2024-01-17 12:26:44 +00:00
Karl Zylinski
46f46e645c
Added comment on SetConfigFlags in Raylib bindings that it must be called before window creation
2024-01-11 11:20:14 +01:00
Karl Zylinski
a9166f52f8
Raylib 5.0 IsMouseButtonUp workaround: Better use of when clause to make sure we remove the workaround later.
2023-12-18 11:30:20 +01:00
Karl Zylinski
9bdd4c73a5
Raylib workaround: Fix comment typo
2023-12-18 11:20:15 +01:00
Karl Zylinski
2362be11bf
Raylib 5.0 bug workaround: Check VERSION and panic if VERSION != 5.0, in which case there is info in the message about how to remove the workaround.
2023-12-18 11:19:11 +01:00
Karl Zylinski
2a0e4f7a8c
Workaround for bug in Raylib 5 making IsMouseButtonUp not work properly.
2023-12-17 19:48:19 +01:00
Michael
a4606e4da8
IsMouseButtonUp hack for now
2023-12-16 16:50:22 -07:00
Michael
61335089c6
added some commas
2023-12-08 00:05:51 +01:00
Michael
30ad923558
Update raygui.odin for Mac targets
2023-12-04 20:14:05 +01:00
Michael
a31ab31e96
Add files via upload
2023-12-04 20:09:12 +01:00
Michael
ac760a0bdd
MacOS-arm64 Raygui libs
2023-12-04 20:08:31 +01:00
Michael
fbf0180411
Delete vendor/raylib/macos-arm64/libraygui.a
2023-12-04 20:07:29 +01:00
Michael
198ac00994
New Raygui libs for Windows
2023-12-04 17:31:32 +01:00