Josh Lankford
350388c8ec
add basic shapes example
2025-01-10 19:16:57 +01:00
raugl
4e05ee5a3f
Added missing variadic arguments to traceLog()
( #186 )
...
* Added missing variadic arguments to `traceLog()`
* Made changes resillient to `generate_function.py`
2025-01-06 17:26:37 +01:00
Not-Nik
57041e707c
[raygui] Allow GuiControlProperty and GuiDefaultProperty as types for property in GuiGetStyle/GuiSetStyle ( #131 )
2025-01-04 00:24:09 +01:00
Not-Nik
16a388c9c2
Fix build errors related to update to rl 5.5
2025-01-03 23:56:01 +01:00
Kaio Delphino
265461f4ec
fix: MATERIAL and SHADER_LOC default values ( #183 )
...
These constants were assigned to inexistent enums.
2025-01-03 23:43:27 +01:00
vent
845af357e4
Remove redundant namespaces from enums ( #178 )
2024-12-23 21:27:02 +01:00
Alexander Moening
0dcee846f4
Add both
field for runtime Linux platform detection ( #179 )
...
Add `both` field to allow GLFW to use runtime platform detection
2024-12-20 17:12:46 +01:00
Daniel Koucher Machado
de8c2d4585
Automatically include Emscripten headers ( #173 )
...
* add emscripten headers
* update func to return error
2024-11-26 20:18:33 +01:00
Michał
606d9bb9ba
raylib: add missing fields to Mesh struct ( #175 )
...
Add missing veoId and vboId fields to the Mesh struct. This fixes
some crashes when meshes are being manipulated on the Zig side, for
example when genMesh* functions are used.
2024-11-26 20:16:46 +01:00
Jonathan Marler
94570c4b60
fix zig fetch command in README ( #130 )
...
* fix zig fetch command in README
All URLs within build.zig.zon files must point to archives that never
change. However, the zig fetch command in the README.md adds a URL
that points to the `devel` git branch whose content changes whenever
the `devel` branch is updated.
I've updated the README a url that zig will resolve to a SHA before it
writes it to the zon file.
* Update template scripts
---------
Co-authored-by: Not-Nik <nik.wipper@gmx.de>
2024-11-25 14:19:38 +01:00
Андрей Краевский
ff775330c7
Update raylib to version 5.5 ( #174 )
2024-11-25 14:18:03 +01:00
Not-Nik
90109ff804
Revert "[build] Only cache raygui impl ( #170 )"
...
This reverts commit 2f773da6b38508dee1509282eadcfcab9c033b0e.
2024-11-08 17:48:26 +01:00
Not-Nik
2f773da6b3
[build] Only cache raygui impl ( #170 )
2024-11-08 15:36:12 +01:00
Not-Nik
a420751c0d
[emcc] Fix build for Windows ( #86 )
...
Co-authored-by: DanielKMach <danikoucher@gmail.com>
2024-11-08 15:18:30 +01:00
Miko
f5abffe4f7
feat: textures image loading example ( #167 )
...
Co-authored-by: Mikolaj Witkowski <notai@mikolajs-mbp.home>
2024-11-08 15:10:19 +01:00
Not-Nik
6c0774619d
[emcc] Pass -sUSE_OFFSET_CONVERTER
2024-11-08 15:09:20 +01:00
mega-dean
c191e12e7c
make some files not executable ( #160 )
2024-10-18 14:22:28 +03:00
Nicholas S. Zivkovic
817f91b57c
ported example core 3d picking ( #163 )
2024-10-18 14:21:01 +03:00
Nicholas S. Zivkovic
a6f94ce655
ported example 3d camera free ( #162 )
2024-10-18 14:19:22 +03:00
Not-Nik
a2397363aa
meta: Bump raylib/raygui
2024-10-13 14:12:39 +02:00
Not-Nik
01b6e1a2e2
raylib/raymath/rlgl/raygui: Expose cdef ( #152 )
2024-10-02 22:34:26 +02:00
Not-Nik
855ab9cd70
raygui: Revert property parameters back to i32s ( #131 )
2024-10-02 22:19:20 +02:00
Not-Nik
a087398387
rlgl: Add constants ( #156 )
2024-10-02 22:00:38 +02:00
Not-Nik
d4541b29e0
readme: Add info on build options
2024-09-28 21:05:49 +02:00
Not-Nik
1224eb2290
emcc: Fix build ( #155 )
2024-09-28 19:43:57 +02:00
pancelor
c94e68d872
emcc: Remove webhack_c ( #149 )
...
I am unsure what the point of this file is, so maybe I should not be
removing it. But the comment says to try removing it to see if things
work fine, and things work fine on my machine when I remove it.
I tested 3 or 4 of the builtin examples using commands like this:
zig build raw_stream -Dtarget=wasm32-emscripten --sysroot ~/.emscripten_cache/sysroot
(see also #134 ; my sysroot setup is a bit weird. but I don't think
that would affect this at all)
2024-09-28 14:56:36 +02:00
pancelor
6418a87091
Tidying ( #150 )
...
create resources folder during project_setup, and link with emscripten
--embed-file complained b/c the directory was empty, so I added
resources/placeholder.txt
I tested project_setup.sh (but not project_setup.ps1) -- the emscripten
build works
also, s/std.builtin.Mode/std.builtin.OptimizeMode
(std.builtin.Mode's source says: "///Deprecated; use OptimizeMode.")
2024-09-28 14:55:09 +02:00
johan0A
87e18ab398
Make fontChars optional in loadFontFromMemory ( #153 )
...
Fixed loadFontFromMemory and Font.fromMemory not allowing null for fontChars
2024-09-28 14:54:02 +02:00
Not-Nik
d7d9e41863
emcc: Look for emcc binary in PATH if no sysroot was specified
2024-09-28 14:51:24 +02:00
Rob Rossmiller
f26b2ab084
Update build.zig.zon ( #145 )
2024-09-03 15:49:57 +02:00
Not-Nik
e3e3a7518a
Bump to raylib 5.5-dev
2024-08-31 11:20:45 +02:00
Krieg
2176d37bcc
Ported raylib example "text/text_format_text.c" ( #141 )
...
* Added example: text_format_text.zig
* reverted autoformatting changes
2024-08-31 10:41:42 +02:00
Not-Nik
58df62807f
Add drawTextCodepoints ( #135 )
2024-08-17 17:22:57 +02:00
Not-Nik
4b2d9b305f
Allow passing points for drawing as const slices ( #127 ) (2/2)
2024-08-17 17:22:57 +02:00
YetAnotherCoder00
6d52ac4e13
added 2d camera mouse zoom example ( #129 )
...
* added 2d camera mouse zoom example
* correctly formatted build.zig
* removed "gl" const
2024-08-17 16:58:15 +02:00
Not-Nik
6cc4aec3c4
Allow passing points for drawing as const slices ( #127 )
2024-08-04 23:33:48 +02:00
Not-Nik
da1da5a66c
Allow passing null pointers to more rlgl functions ( #128 )
2024-08-04 23:25:47 +02:00
Not-Nik
a7f25c615b
Use slice length for spline and image kernel functions
2024-07-28 00:11:56 +02:00
M. Bamberg
155a95feeb
Add shebang line to python script and make it executable ( #124 )
2024-07-27 23:28:09 +02:00
Not-Nik
c96627f91a
Use proper enums for GuiGetStyle
/GuiSetStyle
( #125 )
2024-07-27 23:27:00 +02:00
pancelor
6efc03f6fe
fix setMouseCursor() and setTextureWrap() enum types ( #126 )
...
* tidying
no change to behavior, just change a few things to be
more consistent with the rest
* fix enum type conversions
setMouseCursor() and setTextureWrap() both took c_int arguments;
now they take zig enums instead
* make fix_enums table-driven
hopefully this is easier to visually parse than the if-else chain
2024-07-27 23:19:14 +02:00
M. Bamberg
85e07d7db5
Make fontChars parameter optional in Font.initEx to match rl.loadFontEx ( #123 )
2024-07-22 10:08:44 +02:00
Not-Nik
201926cfd3
Update README.md formatting
2024-07-13 15:09:48 +02:00
Not-Nik
d4fb6c2e2d
Add note about defining feature macros
2024-07-13 15:09:04 +02:00
Not-Nik
a03b65a76c
Move from sentinel-terminated slices to sentinel-terminated pointers ([:0] -> [*:0])
2024-07-09 21:59:38 +02:00
Not-Nik
19db777449
Add option to build raylib as a shared library ( #113 )
2024-07-06 22:49:00 +02:00
Not-Nik
fe34354be0
Seperate error union
2024-07-06 22:36:29 +02:00
Dumb Bird
2d8e856009
Make use of Zigs doc comments ( #116 )
...
* copy over inline comments
* remove trailing comma
* add more doc comments
* implement requested changes
* Newly generated file
* Manually add docstrings to raygui functions in prelude
* Fix generator script
---------
Co-authored-by: Not-Nik <nik.wipper@gmx.de>
2024-07-03 21:32:56 +02:00
pancelor
e98afb5252
Fix typo: constrast -> contrast ( #115 )
2024-07-02 21:15:10 +02:00
rwzd
2e6cacd399
Modernize Installation Method ( #114 )
...
* Modernize installation method
* tiny spelling fix
2024-07-02 20:47:06 +02:00