Commit Graph

64 Commits (9fb5b764af0b63caf01027f248b20326f6ec7531)

Author SHA1 Message Date
Emmanuel Leblond fe86a94dcf
Fix const qualifier for parameters in GDExtension api functions 2022-12-03 00:27:07 +01:00
Rémi Verschelde f1d501f977
headers: Sync with upstream commit 0ff874291 (4.0-beta7) 2022-12-01 18:17:11 +01:00
Rémi Verschelde 576bd17285
headers: Sync with upstream commit 7f8ecffa5 (4.0-beta6) 2022-11-23 15:43:17 +01:00
Rémi Verschelde 6c2f9196d7
headers: Resync with actual 4.0-beta5 release build 2022-11-16 12:36:01 +01:00
Rémi Verschelde 00db31c4f0
headers: Sync with upstream commit 89a33d28f (4.0-beta5) 2022-11-16 10:36:25 +01:00
Rémi Verschelde 243ec87918
Sync gdnative_interface.h with upstream refactoring
Syncs with https://github.com/godotengine/godot/pull/68701.
Breaks compat slightly by reordering member variables.
2022-11-16 09:55:03 +01:00
Emmanuel Leblond ed4d3d36f9
Fix missing final newline in godot-headers/extension_api.json 2022-11-08 21:56:41 +01:00
Emmanuel Leblond 3b82d5937b
Correct GDNativeExtensionScriptInstanceToString 2022-11-08 21:44:32 +01:00
Emmanuel Leblond e24b6b0e51
Use StringName in the whole GDExtension API instead of const char * 2022-11-08 21:44:31 +01:00
Emmanuel Leblond 0e81f89dd3
Uses `StringName` in GDExtension perf critical instance creation & method/properties setter/getter 2022-11-08 21:44:30 +01:00
Rémi Verschelde 727673a043
headers: Sync with upstream commit e6751549c (4.0-beta4) 2022-11-03 13:53:27 +01:00
Ricardo Buring 01960ffc9f Add support for virtual and abstract classes 2022-10-15 13:15:05 +02:00
Rémi Verschelde 1044251a9e headers: Sync with upstream commit 01ae26d31 (4.0-beta3) 2022-10-14 10:14:55 +02:00
Emmanuel Leblond b21931c4a3
Type `GDNativePropertyInfo.type` field as `GDNativeVariantType` 2022-10-13 14:04:54 +02:00
Emmanuel Leblond d17b256fdd
Correct godot-headers/extension_api.json `operator.right_type` field Nil -> Variant 2022-10-10 00:56:35 +02:00
Rémi Verschelde fa4d18f21c headers: Sync with upstream commit f8745f2f7 (4.0-beta2) 2022-09-29 09:12:41 +02:00
bruvzg fb8253c912
Add wrapper function generation for built-in module ↔ godot-cpp interoperability. 2022-09-28 10:04:35 +03:00
bruvzg c001d0e5c7
Implement support for typed arrays. 2022-09-23 09:02:00 +03:00
Rémi Verschelde 16606cde39
Merge pull request #840 from TokageItLab/move-some-methods-to-animation-from-variant 2022-09-15 21:09:44 +02:00
Rémi Verschelde be7ed4c775 headers: Sync with upstream commit 4ba934bf3 (4.0-beta1) 2022-09-15 10:38:32 +02:00
Silc Renew 440c4ed703 Mode some methods to Animation from Variant 2022-09-15 04:13:51 +09:00
Rémi Verschelde 420c86eb90 headers: Sync with upstream commit 22a09fef5 (4.0-alpha17) 2022-09-13 15:51:33 +02:00
Rémi Verschelde 0d7da02dc4 headers: Sync with upstream commit 86dd3f312 (4.0-alpha16) 2022-09-07 13:17:32 +02:00
clayjohn f64c049f0c Update extension api to alpha 15 2022-09-01 11:24:31 -07:00
Yuri Sizov fa111d7078 Add support for `property_*_revert` methods 2022-08-18 16:43:01 +03:00
Rémi Verschelde 8498f64a50 headers: Sync with upstream commit 11abffbf1 2022-08-10 17:43:20 +02:00
Rémi Verschelde 89ca5440a2 headers: Sync with upstream commit 7281f0f23 2022-07-28 13:09:47 +02:00
Rémi Verschelde 59fca06354 headers: Sync with upstream commit cc5135959 2022-07-27 14:36:57 +02:00
Rémi Verschelde 3cc1409210
Merge pull request #793 from bruvzg/v4_v4i_proj 2022-07-25 11:14:45 +02:00
bruvzg 91c56a0ad1
Add bindings for Vector4, Vector4i, Projection built-in types. 2022-07-21 09:36:38 +03:00
bruvzg 0ee980abae
Rename OSX to macOS. 2022-07-20 11:01:47 +03:00
Rémi Verschelde 17c1d1fd50 headers: Sync with upstream commit 9904a9db5 2022-07-15 09:57:17 +02:00
Rémi Verschelde cc1a2e1986 headers: Sync with upstream commit 2c11e6d9e (4.0-alpha12) 2022-07-14 23:51:09 +02:00
bruvzg 713b122b84
Add support for BitField hint, sync API files. 2022-07-11 15:00:17 +03:00
Rémi Verschelde d8a65edc4a headers: Sync with upstream commit afdae67cc (4.0-alpha11) 2022-07-01 10:16:08 +02:00
Fabio Alessandrelli 4d99c82327 headers: Sync to Godot 4.0 alpha10. 2022-06-15 15:59:21 +02:00
bruvzg e3119e7d05
Sync containers with new HashMap/HashSet, sync API headers. 2022-06-06 12:18:07 +03:00
Rémi Verschelde 95a2303e37 headers: Sync with upstream commit 917fd65 (4.0-alpha8) 2022-05-12 12:28:02 +02:00
bruvzg 031a83b0ea
[Method Bind] Add support for default argument values and static method binding. Sync headers. 2022-05-06 10:17:51 +03:00
bruvzg 8bf5a532de
Change registered initializers / terminators to the single function with level argument. 2022-05-04 11:14:51 +03:00
Rémi Verschelde 0b050442da headers: Sync with upstream commit 3e9ead0 (4.0-alpha7) 2022-04-29 19:57:26 +02:00
Rémi Verschelde 24f5cd2d48 Color: Rename to_srgb/to_linear to include base color space
Counterpart to https://github.com/godotengine/godot/pull/60199.
Also syncs the extension API with that PR.
2022-04-13 12:50:21 +02:00
bruvzg 057a771fda
Add support for variadic method binds with the typed return. Sync headers. 2022-03-30 15:11:28 +03:00
bruvzg 28027394f5
Add support for static method bindings. 2022-03-22 16:06:13 +02:00
bruvzg 93de1b2b0b
Sync godot-headers and fix build after "Create GDExtension clases for PhysicsServer3D". 2022-03-16 20:33:06 +02:00
bruvzg 817efdd484
Fix build after "Discern between VIRTUAL and ABSTRACT class bindings". 2022-03-15 13:43:12 +02:00
Rémi Verschelde c4f12ccc3c Remove godot-headers submodule, copy files directly
With the new GDExtension API, the headers are just two files, one of
which is generated and needs to always be kept in sync with the Godot
engine version.

So there's little practical use for using godot-headers as a submodule
anymore, and it only makes godot-cpp updates more cumbersome.

Custom headers (i.e. a custom API JSON) can still be used by passing
the `headers_dir` SCons option.
2022-03-15 10:19:07 +01:00
Rémi Verschelde b6c18d489d headers: Sync with upstream commit f470979 (4.0-alpha4) 2022-03-08 16:15:07 +01:00
Rémi Verschelde 8ead641b08 headers: Sync with upstream commit 256069e (4.0-alpha3) 2022-02-23 09:13:12 +01:00
Rémi Verschelde 75b180d2cd
headers: Sync with upstream commit 79077e6 (4.0-alpha2) 2022-02-09 16:46:48 +01:00