robomage
55de1dd923
SDL2 - audio allow change bit_set
...
sdl.OpenAudioDevice was incorrectly using a bool instead of a c.int for it's last parameter. To make the proc call more idiomatic and inline with other bindings a new bit_set was introduced to be used in place of the constants
2025-07-27 17:39:42 -04:00
HeHHeyboi
020dd57b06
Correct RWwrite signature
2025-05-23 15:29:08 +07:00
gingerBill
0ca614361a
Update and add gamecontrollerdb.txt
2025-02-05 10:49:25 +00:00
gingerBill
868ab27720
Add @(ignore_duplicates) for foreign import declarations
2025-01-28 10:31:46 +00:00
Laytan Laats
60cd0da2ed
wgpu: cont. fix sdl2glue on Linux
2024-08-26 20:24:26 +02:00
gingerBill
eb799393d5
Fix -vet-tabs issues
2024-08-24 13:56:41 +01:00
Feoramund
bb6cbf6559
Fix SDL constants
2024-07-03 15:22:39 -04:00
gingerBill
e296d6fb90
Fix loads of indentation issues with mixing spaces and tabs
2024-06-29 19:50:51 +01:00
Hector
483015fe57
Updated SDL_CreateTexture to take PixelFormatEnum instead of u32
2024-06-06 11:47:59 +01:00
Christopher Kaster
8d399fa7c0
add missing SDL2_SemPost binding
2024-04-05 09:00:57 +02:00
gingerBill
5c20676c76
Fix type for SDL LoadFile(_RW)
2024-03-01 13:36:06 +00:00
gingerBill
3e7e779abf
Replace core:* to base:* where appropriate
2024-01-28 22:18:51 +00:00
gingerBill
2743bf7e44
Remove sdl.stack_* calls
2024-01-28 21:42:36 +00:00
flysand7
4b245e2d83
[vendor/sdl]: Fix fourcc codes for pixel formats to match FOURCC definition
2023-12-01 12:15:48 +11:00
gingerBill
f8bdd42027
Revert "Unify foreign import for vendor:sdl2"
...
This reverts commit b2b88f1d99 .
2023-05-02 12:06:41 +01:00
gingerBill
b2b88f1d99
Unify foreign import for vendor:sdl2
2023-04-20 11:27:36 +01:00
Sanian
b918acd871
Removed some more SDL_'s in sdl_render.odin
2023-01-16 23:45:03 +01:00
Sanian
a046c41c7c
Removed another missed SDL_ in sdl_mouse.odin
...
`sdl2.SDL_MouseWheelDirection` is now `sdl2.MouseWheelDirection`
2023-01-16 23:41:11 +01:00
Sanian
2513403014
Removed an SDL_ prefix that was missed
2023-01-16 22:46:46 +01:00
SyndaKai
eb4891bcc8
Fix for SDL GetPreferredLocales
2022-08-31 04:28:46 -04:00
gingerBill
776b48c10d
Fix GetEventState
2022-06-27 11:02:40 +01:00
gingerBill
199dae6cd5
Make SDL.*Event procedures return booleans instead of an integer where appropriate
2022-06-27 11:02:20 +01:00
Sébastien Marie
dfe2c0a600
remove some leftover semi-colons before EOF
2022-03-03 15:57:55 +00:00
Sébastien Marie
793117ed63
vendor: sdl2: simplify foreign import
2022-03-02 18:50:37 +00:00
Sébastien Marie
37b4e0de6c
sdl2: add openbsd support
2022-02-28 16:17:15 +00:00
gingerBill
f5697dd7f2
Merge branch 'master' into odin-global-constants-as-enums
2022-02-15 15:47:24 +00:00
FancyKillerPanda
e59064dd59
Updated vendor/sdl2/ttf LIB and DLL.
2022-02-13 10:33:48 +11:00
gingerBill
3d7d347192
Convert ODIN_OS and ODIN_ARCH to use enums rather than use strings
2022-01-20 19:56:05 +00:00
gingerBill
f0529535e0
ODIN_ENDIAN changed to an enum constant; ODIN_ENUM_STRING is the new string version of the old constant
2022-01-15 17:53:18 +00:00
André
3d89c6b35d
remove prefix from Mix_LoadWAV
2021-10-31 15:45:29 +01:00
awwdev
faa9df8735
changed KeyCode to Keycode
2021-10-23 12:46:09 +02:00
skytrias
9ceb6b79fd
small package fixes
2021-09-29 21:47:36 +02:00
gingerBill
344abf2cb2
Make core and vendor adhere to -vet, -strict-style, and -disallow-do
2021-09-11 16:40:19 +01:00
gingerBill
1f1d8ef884
Use [^] where appropriate
2021-09-10 23:53:16 +01:00
gingerBill
6899c7b7dd
Using vendor:vulkan types in vendor:sdl2 where appropriate
2021-09-10 23:45:39 +01:00
gingerBill
30554f4758
Correct PointInRect
2021-09-08 11:49:30 +01:00
gingerBill
3e459ba16b
Correct SDL.OpenURL
2021-09-08 11:09:24 +01:00
gingerBill
82f58aa3de
Remove unneeded semicolons from vendor
2021-08-31 22:33:19 +01:00
gingerBill
b450a853d5
Strip unneeded semicolons from vendor library
2021-08-31 22:26:58 +01:00
gingerBill
284acc37f9
Update SDL scancodes to have the same C enums equivalent global values
2021-08-27 11:38:29 +01:00
gingerBill
7b2f6aaa1c
Add [^] to GameControllerGetSensorData
2021-08-25 16:10:39 +01:00
gingerBill
ad943f0189
Use [^] on PeepEvents
2021-08-25 15:50:35 +01:00
gingerBill
1ef59417ef
Add gl_set_proc_address to both sdl2 and glfw as utility loaders for OpenGL
2021-08-25 15:21:06 +01:00
Jeroen van Rijn
50f3e77b43
vendor: Add README.md and clarify licensing.
2021-08-24 19:33:10 +02:00
gingerBill
bdac3ee120
Add gamecontrollerdb.txt to vendor:sdl
...
https://github.com/gabomdq/SDL_GameControllerDB
2021-08-24 14:04:27 +01:00
gingerBill
7bdbaca938
Make SDL_image.Init return InitFlags
2021-08-23 11:31:00 +01:00
gingerBill
36cb1f868b
Embed the SDL2 libraries into vendor:sdl2
2021-08-22 17:05:06 +01:00