Commit Graph

906 Commits

Author SHA1 Message Date
gingerBill 4a2b13f1c2 Fix foreign import names 2025-01-10 10:18:30 +00:00
gingerBill b377ac182c Keep -vet happy 2025-01-10 10:15:15 +00:00
gingerBill fd058dff46 Merge branch 'master' of https://github.com/odin-lang/Odin 2025-01-10 10:12:42 +00:00
gingerBill 3d4a20918f Simplify stb foreign imports 2025-01-10 10:12:36 +00:00
gingerBill 5a259ed0ee Merge pull request #4669 from denovodavid/pr-d3d12-shader-component-mapping
vendor:directx/d3d12: add shader component mapping constants and macro-procedures
2025-01-10 09:44:17 +00:00
Laytan Laats 1511162b0a webgpu: fix cstring as parameter not loading correctly 2025-01-09 17:29:31 +01:00
denovodavid c30cdaa7b0 add d3d12 shader component mapping constants and macro-procedures 2025-01-09 11:39:01 +11:00
Laytan Laats 0cc1dbb092 vendor/box2d: clarify wasm building 2025-01-05 19:35:37 +01:00
Laytan Laats bf0e6eaf60 vendor/raylib: fix SetVertexAttribute definition
Fixes #4596
2025-01-05 19:21:39 +01:00
Laytan f566c5ee83 Merge pull request #4639 from flga/vulkan_xlib_xcb
`vendor:vulkan` Add support for xlib and xcb
2025-01-05 19:03:57 +01:00
fleandro 25cdc3736e vendor:x11/xlib add IS_SUPPORTED constant to match core:time and friends 2025-01-05 17:50:52 +00:00
Laytan 96513c8d5d Merge pull request #4636 from 2nafish117/update-to-cgltf-1.14
update cgltf from 1.13 to 1.14
2025-01-05 18:41:29 +01:00
laytan 834209194f rebuild windows lib 2025-01-05 17:35:40 +01:00
Laytan Laats 252b807714 update wasm blob 2025-01-05 18:22:38 +01:00
Laytan Laats 5957ff3699 vendor/raylib: fix Vector3Unproject wrong assignment
Fixes #4646
2025-01-05 13:45:01 +01:00
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
fleandro 98967aad74 vendor:vulkan Use vendor:x11/xlib types when available 2024-12-31 02:44:42 +00:00
fleandro 0d0a202a78 vendor:vulkan Add support for xlib and xcb 2024-12-30 22:09:27 +00:00
shashank 3e63f598a0 build cgltf lib 2024-12-29 20:07:36 +05:30
shashank 77511da195 update cgltf from 1.13 to 1.14 2024-12-29 19:58:55 +05:30
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