Julian Ceipek
8ceb691cec
Fix indentation
2022-10-20 21:38:43 -04:00
Julian Ceipek
f26516f6fa
Add objc_registerClassPair to allow subclassing
2022-10-20 21:18:11 -04:00
Julian Ceipek
fda8e8a30b
Use c.size_t to match C declaration more directly
2022-10-20 21:16:53 -04:00
Julian Ceipek
2242178d96
Fix signature for objc_allocateClassPair
2022-10-20 21:07:14 -04:00
terids
06d1df4cae
Fix GetInstanceProcAddr crash
...
It was trying to initialise itself with itself when calling load_proc_addresses(Instance)
Discord bug channel reference https://discord.com/channels/568138951836172421/585072813954564100/1030265964572450867
2022-10-14 02:03:57 +01:00
Julian Ceipek
63086c7eaf
Use NS.BOOL instead of bool
2022-10-09 14:31:26 -04:00
Julian Ceipek
ef0c6fc4b3
Fix signature for shouldTerminateAfterLastWindowClosed delegate proc
2022-10-08 23:52:12 -04:00
Jeroen van Rijn
457f509b5f
Merge pull request #2117 from janivanecky/cocoa_window
...
Add glfw.GetCocoaWindow
2022-10-08 17:09:28 +02:00
Jan Ivanecky
7e5c063d98
Add glfw.GetCocoaWindow
2022-10-08 17:03:55 +02:00
Jan Ivanecky
141133e326
Add class_getInstanceMethod, method_setImplementation bindings
2022-10-08 16:29:49 +02:00
Jan Ivanecky
5362e883f4
Add additional NSWindow methods
2022-10-08 00:47:42 +02:00
Jeroen van Rijn
0ca8a5e186
Add vendor:zlib to examples/all; prefix vendor packages.
2022-09-21 16:45:01 +02:00
André (counter)
8ce1ce85ad
removed do
2022-09-21 16:03:52 +02:00
ray.garner
d6f84887ff
Fix darwin libs for vendor stbi
2022-09-18 21:35:13 +09:00
Jeroen van Rijn
8aba92da9b
[zlib] Add statically linked x64 library.
2022-09-14 23:27:28 +02:00
Jeroen van Rijn
59f3e10f0a
[zlib] Add LICENSE, update README
2022-09-14 23:08:52 +02:00
Dale Weiler
8b82bcef7d
vendor zlib
2022-09-14 16:09:13 -04:00
eadesmet
023cc8b572
Added support for ID3D11InfoQueue
2022-09-12 18:19:12 -04:00
gingerBill
ad98efe1fd
Revert "Remove the workaround for NSWindow initWithContentFrame"
2022-09-09 10:47:02 +01:00
gingerBill
3b5998af12
Fix typo for pow in runtime.js
2022-09-08 14:48:37 +01:00
Hasen Judy
e6b91d3d7c
Remove the workaround for NSWindow initWithContentFrame
...
Reverts #1841
Resolves #1825
2022-09-06 16:56:17 +09:00
Joakim Hentula
0efc79bcb9
Add GL_DEBUG config that falls back to ODIN_DEBUG to preserve previous behaviour, but allows debug builds without OpenGL debug features
2022-09-02 13:30:45 +01:00
Jeroen van Rijn
c39b1a31db
vendor:cmark -> vendor:commonmark
2022-09-01 23:44:38 +02:00
Jeroen van Rijn
635c7fa153
Merge branch 'master' into cmark
2022-09-01 23:42:15 +02:00
SyndaKai
eb4891bcc8
Fix for SDL GetPreferredLocales
2022-08-31 04:28:46 -04:00
Jeroen van Rijn
803fd8f037
Wrap CMark allocator as Odin allocator
...
```odin
// Smaller allocation to larger allocation resize
{
// Allocated on CMark's allocator
foo := make([dynamic]int, 13)
for i in 0..<13 {
foo[i] = i
}
fmt.println("Before resize:", foo)
resize(&foo, 42)
fmt.println("After resize:", foo)
delete(foo)
}
```
2022-08-30 16:35:18 +02:00
Jeroen van Rijn
67bdb5b1a3
[cmark] Add static library for Linux
...
Built on Ubuntu 20.04.3 LTS.
Remove Odin allocator wrapper.
2022-08-30 16:02:40 +02:00
Jeroen van Rijn
acc635b535
[cmark] Move wrapped allocator next to get_default_allocator
2022-08-30 14:56:10 +02:00
Jeroen van Rijn
4e8ce87792
[cmark] Allow wrapping context.allocator
2022-08-30 14:53:48 +02:00
Jeroen van Rijn
2c8daa25dc
[cmark] Add wrappers.
2022-08-30 13:55:53 +02:00
Jeroen van Rijn
054ee0a8b5
[cmark] Change to static library
2022-08-30 13:32:07 +02:00
Jeroen van Rijn
d0cadaf1a6
Add CMark bindings
2022-08-30 00:54:12 +02:00
gingerBill
a460d140fe
Merge pull request #1889 from thePHTest/master
...
fix glfw/native.odin foreign lib import
2022-08-15 10:24:19 +01:00
Jeroen van Rijn
081e36c909
Add additional mouse buttons to Raylib bindings.
2022-08-13 15:34:52 +02:00
Lucas Perlind
43b78e51a4
Add ID3D11Debug interface to d3d11 package
2022-08-10 22:28:24 +10:00
Phil
0cb1a578d0
fix glfw/native.odin foreign lib import
2022-08-01 08:26:26 -07:00
Hyp-X
0815b4d59f
Update dxgi.odin
...
Fixed CreateDXGIFactory* last parameter to be ^rawptr instead of rawptr
2022-08-01 14:04:12 +02:00
William Roe
a9304f2fef
Update Windows GLFW libraries to 3.3.8
...
This matches the latest libraries committed for macOS/Darwin
2022-07-28 15:38:14 +01:00
William Roe
a0697ab057
Fix build on Apple Silicon when linking to GLFW
...
This also updates the library to GLFW 3.3.8
This includes the lib-universal static library, rather than just the
Intel one (lib-x86_64), so software building with GLFW on Apple Silicon
will work again.
2022-07-28 15:29:30 +01:00
Jeroen van Rijn
674ebe395f
Merge branch 'master' into master
2022-07-28 16:01:18 +02:00
pvance
9746e25784
Update stb_image_resize.odin
2022-07-28 04:27:42 -04:00
pvance
d26cfd2141
Update bindings.odin
2022-07-28 04:26:22 -04:00
pvance
21f2c06f4b
Update stb_image_resize.odin
2022-07-28 04:25:18 -04:00
pvance
727a25f41f
Replace ODIN_OS strings with enum values
2022-07-28 04:23:24 -04:00
pvance
3f27cb2309
replace ODIN_OS string with enums
2022-07-28 04:22:00 -04:00
pvance
f213622982
replace ODIN_OS string with enums
2022-07-28 04:20:37 -04:00
pvance
4aad835a66
replaced ODIN_OS string values with enums
2022-07-28 04:19:28 -04:00
Eduardo Nunes
59b4c889d3
Update vendor:raylib to support macos-arm64 (apple silicon)
2022-07-20 18:23:09 -03:00
gingerBill
7420fbd95b
Add custom event handling to wasm
2022-07-19 16:16:51 +01:00
gingerBill
e91f8feedf
Keep -vet happy
2022-07-18 15:12:54 +01:00