Commit Graph

33 Commits

Author SHA1 Message Date
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