ed
e951b72b81
Merge remote-tracking branch 'offical/master'
2024-10-19 15:06:25 -04:00
Stefan Stefanov
f112c27f7d
rlgl: Add EnableColorBlend()
2024-10-12 20:01:27 +03:00
Laytan Laats
152479052e
va_list fixes for raylib & stb sprintf
2024-09-29 11:45:57 +02:00
ed
10861d53c0
Merge remote-tracking branch 'offical/master'
2024-09-09 13:15:00 -04:00
Laytan
eef4dffa12
Merge pull request #4134 from karl-zylinski/fix-raylib-LoadImageAnim-binding
...
Fix binding: Make rl.LoadImageAnim take a pointer instead of a multi-pointer.
2024-08-24 22:56:49 +02:00
Karl Zylinski
25e8a6353d
Fix comment indentation.
2024-08-24 22:02:17 +02:00
Karl Zylinski
574a5015d6
Make rl.LoadImageAnim take a pointer instead of a multipointer. The param frames is just for returning an int, it's not for passing a multipointer into the proc.
2024-08-24 22:00:29 +02:00
gingerBill
0e71e93b22
Remove unused import
2024-08-24 14:51:28 +01:00
gingerBill
61b3af5b08
MemFree as a procedure group for both rawptr and cstring
2024-08-24 14:51:05 +01:00
gingerBill
19b95349a6
Use fmt.caprintf directly
2024-08-24 14:47:33 +01:00
gingerBill
eb799393d5
Fix -vet-tabs issues
2024-08-24 13:56:41 +01:00
Jason Olson
d00057c803
Add missing trailing comma
2024-08-17 13:23:42 -07:00
Jason Olson
acfd9dcd1b
Restores vertical text alignment broken after 4.0 migration
...
A series of changes between raygui 3.6 and 4.0 were that various text box
properties were moved from the text box specific properties up into the
extended default control properties. This change corrects the various
property enums to match the raygui 4.0 API.
One additional aspect of this change was rolling back a previous commit
made to this vendor file that changed the signature of GuiSetStyle and
GuiGetStyle from using a c.int as property value to a more strongly-defined
GuiControlProperty enum. Unfortunately, this breaks the raygui API by
disallowing the use of various control-specific extended properties due to
how the enums are built.
2024-08-17 12:35:50 -07:00
ed
975f7ba295
Merge remote-tracking branch 'offical/master'
...
# Conflicts:
# core/os/os_darwin.odin
# core/os/os_freebsd.odin
# core/os/os_js.odin
# core/os/os_linux.odin
# core/os/os_openbsd.odin
# core/os/os_windows.odin
2024-08-04 18:49:08 -04:00
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
ed
fe4d6cbe5a
Merge remote-tracking branch 'offical/master'
2024-06-15 15:00:21 -04: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
ed
3f0169d9ff
Merge remote-tracking branch 'offical/master'
2024-06-11 19:23:35 -04: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
ed
db610c4639
Merge remote-tracking branch 'offical/master'
2024-06-09 22:25:45 -04:00
gingerBill
ff37a7435c
Add parentheses around the foreign import paths
2024-06-06 21:03:35 +01:00
ed
8bfc2a0af0
Merge remote-tracking branch 'offical/master'
2024-06-06 10:31:33 -04: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
ed
d68dba3677
Merge remote-tracking branch 'offical/master'
2024-04-14 19:42:56 -04:00
Laytan Laats
d83532d29e
fix raygui GuiFade being renamed to GuiSetAlpha
2024-04-06 20:20:16 +02:00
ed
e03fa88e4c
Merge remote-tracking branch 'offical/master'
2024-03-25 18:44:26 -04: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
ed
fe500e2904
Merge remote-tracking branch 'offical/master'
2024-03-20 09:09:02 -04:00
gingerBill
cd7137af60
Update raylib to use #row_major matrices
2024-03-19 21:16:04 +00:00
ed
c448b34143
Merge remote-tracking branch 'offical/master'
2024-03-08 17:47:40 -05:00
ed
00e3c3d94d
Updated raylib vendor package to default to shared in config and with SUPPORT_CUSTOM_FRAME_CONTROL enabled
2024-03-08 15:39:22 -05:00
gingerBill
51d12acab3
Enforce linalg
2024-03-08 13:28:15 +00:00
ed
57712343be
Merge remote-tracking branch 'offical/master'
2024-03-06 16:42:22 -05:00
ed
9525a3a135
Merge remote-tracking branch 'offical/master'
...
# Conflicts:
# vendor/raylib/raylib.odin
2024-03-05 20:24:08 -05:00