Commit Graph

887 Commits

Author SHA1 Message Date
Karl Zylinski dc1b75b6c3 Added WASM libs for raylib and raygui. Added them to the foreign import blocks, with optional ways to override them. These overrides can be used to use alterantive libs when using for example emscripten. 2025-01-01 22:26:11 +01:00
Laytan 71b0f7e698 Merge pull request #4644 from karl-zylinski/box2d-build-script-fix
Fix for casing error in box2d/wasm.Makefile
2025-01-01 21:26:28 +01:00
Karl Zylinski f80c33727c Fix for casing error in box2d/wasm.Makefile 2025-01-01 21:15:44 +01:00
Karl Zylinski 51e90e5e96 Fix for vendor:libc using wrong types for log and sin procs. 2025-01-01 21:07:44 +01:00
gingerBill 6383fddb59 Disable the os-specific code in libc so that non-OS specific platforms still work with it 2025-01-01 15:13:36 +00:00
gingerBill 049359cae4 Clean up box2d foreign import 2025-01-01 15:13:07 +00:00
imlodinu cce2cb79c9 Change single pointers to multipointers, fix UUIDs in d3d11 and d3d12 2024-12-19 12:23:00 +08:00
Courtney Strachan 69bbd8082a Fixed typo in wgpu.js 2024-12-17 12:13:48 -08:00
gingerBill db1b67daba Merge pull request #4558 from thebigtoona/vendor/raylib-add-rcamera-module-bindings
add bindings for rCamera module in vendor/raylib/raylib.odin
2024-12-11 12:32:55 +00:00
shashank d02f575561 change pointer arg to multipointer in GetDisplayModeList and GetDisplayModeList1 2024-12-08 21:41:01 +05:30
gingerBill f28fa736b3 Merge pull request #4551 from wrapperup/vulkan-1.4.303
`vendor:vulkan` Update bindings version to 1.4.303
2024-12-08 13:11:13 +00:00
wrapperup 59d88f2a22 add missing vulkan video constants 2024-12-07 20:48:14 -05:00
Laytan Laats 402f8dd576 raylib/rlgl: fix foreign imports after update to 5.5 2024-12-06 18:54:48 +01:00
Tina Colvin 52a7a3e5fc change camera defines to constants 2024-12-04 16:44:00 -07:00
Tina Colvin dc0e189e32 add bindings for rCamera module in vendor/raylib/raylib.odin 2024-12-04 11:49:24 -07:00
wrapperup 08f14db8e8 regenerate vulkan vendor bindings (1.4.303) 2024-12-02 17:48:32 -05:00
Laytan Laats ef3d51fad2 vendor/raylib: revert removal of arm64 raygui binaries and fix import paths 2024-11-26 18:59:51 +01:00
Jeroen van Rijn d315d357ca Add aliases for Is*Ready -> Is*Valid 2024-11-25 20:18:53 +01:00
lxmcf 29839ea9e2 Resolve indentation issues 2024-11-25 21:09:10 +11:00
Alex Macafee 6ebea39b3e Add missing trailing commas 2024-11-25 19:50:34 +11:00
lxmcf b76781015b Update vendor:raylib to raylib 5.5 2024-11-25 19:37:43 +11:00
Waqar Ahmed aafa7a04ab Fix typo, its supposed to be #config
Otherwise compile errors out when importing the file with the error:

```odin
vendor/lua/5.2/lua.odin(10:15) Error: Undeclared name: config 
        LUA_SHARED :: config(LUA_SHARED, false) 
```
2024-11-18 23:58:02 +05:00
nickk-dv c2dd15b5d3 fix LoadRandomSequence binding in vendor raylib 2024-11-06 22:39:48 +02:00
Barinzaya 30cf3ed02f Fixed raymath not applying matrix translations.
Translation matrices use the w components of the matrix to apply the
transform, and thus only work when the w component is 1. In the
original raymath implementation, the multiplication is done manually
and adds the translation components directly to the result, as if w is
1, but in the Odin binding this is done with a matrix multiplication.
However, the w component is set to 0 instead of 1, resulting in the
translation not being applied.
2024-10-31 13:37:43 -04:00
gingerBill ee76acd665 Merge pull request #4427 from laytan/posix-additions
Finish sys/posix with Linux and partial Windows support & clean up other packages as a result
2024-10-30 11:43:47 +00:00
Laytan b7140875cf port pthread_mutex_t and pthread_cond_t from sys/unix cause miniaudio wants it 2024-10-28 19:42:27 +01:00
Laytan Laats 44eef21997 wgpu: add missing JS impl for RenderPassEncoderSetBlendConstant 2024-10-26 22:41:52 +02:00
Laytan Laats 62922a421c wgpu: take version check out of @init, use C cc when appropriate 2024-10-20 18:40:17 +02:00
Stefan Stefanov f112c27f7d rlgl: Add EnableColorBlend() 2024-10-12 20:01:27 +03:00
gingerBill d6f6099419 Merge pull request #4324 from laytan/va-list-stb-sprintf-raylib-fixe
va_list fixes for raylib & stb sprintf
2024-09-30 15:00:14 +01:00
Laytan 085b725774 Merge pull request #4302 from Pariatech/enable_static_glfw_linux
Add static GLFW bindings for Linux
2024-09-29 13:55:36 +02:00
Gabriel Pariat 3039131a5f do recommendation 2024-09-29 07:46:01 -04:00
Laytan Laats 152479052e va_list fixes for raylib & stb sprintf 2024-09-29 11:45:57 +02:00
Laytan Laats eccb548935 fix box2d World_Draw not taking a pointer 2024-09-29 10:50:31 +02:00
Laytan Laats eeaa9f048b fix wgpu examples after move of files in 95721fe 2024-09-29 10:39:28 +02:00
wrapperup 2b5c2cab1f generate new vulkan files (1.3.296) 2024-09-26 18:20:00 -04:00
wrapperup 39c8749d8f fix mismatching type generation with newer vulkan headers 2024-09-26 18:16:38 -04:00
Gabriel Pariat fdc56c4d9a adding binding for static for linux 2024-09-24 19:44:11 -04:00
gingerBill 130318d003 Fix assert caused by typo 2024-09-22 14:19:31 +01:00
gingerBill 1ae57d8d20 Fix more JS stuff 2024-09-22 13:32:28 +01:00
gingerBill 26d00925cc Clean-up libc usage 2024-09-22 13:20:45 +01:00
gingerBill 634fa7aa30 Move vendor:wasm/js to core:sys/wasm/js 2024-09-22 13:13:34 +01:00
gingerBill 096258b5d5 Rename runtime.js to odin.js 2024-09-22 13:08:42 +01:00
gingerBill c39b934e7f Remove unused imports 2024-09-22 13:04:23 +01:00
gingerBill 2c5be4e054 Use .shift() instead 2024-09-20 11:18:11 +01:00
gingerBill 02884207d5 Update wasm's runtime.js 2024-09-20 11:15:47 +01:00
gingerBill b116e8ff55 Fix 128-bit integer support for wasm targets 2024-09-20 01:29:39 +01:00
gingerBill a4dd489284 Add fmt tags 2024-09-19 17:12:47 +01:00
Karl Zylinski 29fedc1808 Changed some recently added //+ usages to #+ and also fixed some //+ usages in some code generators. 2024-09-17 19:39:48 +02:00
Karl Zylinski 093ade0504 Merge branch 'master' into file-tags-without-comments 2024-09-17 19:36:17 +02:00