David Snopek
fe68c22c3e
Generate GDExtension interface header and loader from JSON
2025-12-18 12:09:41 -06:00
David Snopek
7f5f02940d
Update for GDExtension interface changes in Godot 4.5
2025-06-23 16:40:43 -05:00
David Snopek
a7127d3ec7
Merge pull request #1771 from tomfull123/array-constructor-crash
...
Fix array constructor crash
2025-06-07 14:20:01 -05:00
Thaddeus Crews
64cdf089d9
CI: Various version bumps; sync with main repo
2025-04-26 12:23:07 -05:00
Tom
ddd4f2513c
Fixed a crash with an Array constructor
2025-04-16 20:30:15 +01:00
David Snopek
97ad05beeb
Merge pull request #1758 from tomfull123/sync-defs
...
Sync defs
2025-04-15 11:02:10 -05:00
Marc Gilleron
7e6c9c9370
Use Math::abs to avoid ambiguity with integer abs
2025-04-14 23:46:47 +02:00
Tom
d634a5f8c4
Synced defs.hpp with godot's typedefs.h
2025-04-07 17:30:55 +01:00
David Snopek
478e2637bd
Merge pull request #1716 from tomfull123/master
...
Add support for `initializer_list` to Array and TypedArray
2025-04-05 10:32:18 -05:00
Tom
335b490061
Added initialiser list support to TypedDictionary
2025-04-03 23:16:12 +01:00
Tom
946a693859
.
2025-04-02 19:58:05 +01:00
David Snopek
da064d84d2
Merge pull request #1717 from tomfull123/typed-array-range-based-loop-support
...
Add support for range based loops for Array
2025-04-02 13:00:38 -05:00
David Snopek
d72baf192d
Merge pull request #1742 from aaronfranke/projection-construct
...
Add missing Projection constructor with 16 `real_t` values
2025-04-02 12:59:14 -05:00
Tom
a2c37f8a16
Made the Array's ptr and ptrw methods private
2025-04-01 20:47:35 +01:00
David Snopek
075b517d96
Synchronize most shared variant code with Godot 4.4
2025-03-14 11:39:56 -05:00
Aaron Franke
aa03c32b3e
Add missing Projection constructor with 16 real_t values
2025-03-14 02:46:23 -07:00
Thaddeus Crews
7056c996dd
Style: Replace header guards with #pragma once
2025-03-07 17:58:10 -06:00
Thaddeus Crews
89fd27608f
Style: Replace _NO_DISCARD_ macro with [[nodiscard]]
2025-02-20 09:23:08 -06:00
David Snopek
13cd2d921c
Merge pull request #1628 from IvanInventor/typed_dict_regression_fix
...
fix typed_dictionary compile-time regression
2025-01-21 11:15:42 -06:00
Fabio Alessandrelli
c4f1abe3f9
[Bindings] Build profile now strips methods and skip files
...
This allows removing dependencies that are not explicitly unused by the
gdextension being built and is implemented using an intermediate json
API file with the methods and classes stripped (i.e. without touching
the file generators).
2025-01-07 20:33:12 +01:00
Lukas Tenbrink
daef7d48ea
Add variant_internal.hpp.
...
This module contains VariantInternalType, VariantInternal, VariantGetInternalPtr, VariantInternalAccessor and VariantDefaultInitializer, allowing to access and manipulate Variant's internal values.
2024-11-28 15:15:03 +01:00
David Snopek
259c757cce
Merge pull request #1609 from Ivorforce/patch-3
...
Rename Vector4.components -> coords.
2024-10-30 14:51:04 -05:00
Lukas Tenbrink
23c9d41d2a
Rename Vector4.components -> coords.
...
The use of .components is deprecated.
2024-10-30 15:44:44 +01:00
David Snopek
688ed4b388
Merge pull request #1626 from ruffenman/remove-unimplemented-variant-functions
...
Remove unimplemented static variant functions 'blend' and 'interpolate'…
2024-10-30 08:49:38 -05:00
David Snopek
fa3dfa0e3c
Merge pull request #1591 from dsnopek/variant-object-instance-id
...
Directly get object instance ID from `Variant` and implement `Variant::get_validated_object()`
2024-10-29 13:10:12 -05:00
David Snopek
2004af63a0
Sync Quaternion with the version in Godot
2024-10-28 15:37:45 -05:00
Vano
7f47d3951e
fix typed_dictionary compile-time regression
2024-10-21 04:13:12 +03:00
David Snopek
0602c32986
Directly get object instance ID from Variant and implement Variant::get_validated_object()
2024-10-17 09:58:52 -05:00
ruffenman
42a35a1852
Remove unimplemented static variant functions 'blend' and 'interpolate'. If a user attempts to call either of these it will introduce a linker error and it may not be immediately clear to them why. Also, variant interpolation can already be accessed via 'UtilityFunctions::lerp', making at least the interpolate function unecessary here.
2024-10-14 20:33:20 -04:00
Florent Guiocheau
02fd535454
Add p_use_model_front to Basis::looking_at()
2024-10-14 21:50:12 +02:00
Thaddeus Crews
2ffff669f5
Implement typed dictionaries
2024-09-17 15:05:16 -05:00
Aaron Franke
92e6ea7303
Fix missing type info for PackedVector4Array
2024-08-10 21:21:13 -07:00
David Snopek
99926d8e20
Merge pull request #1483 from AThousandShips/arr_typed_fix
...
Fix sharing of typed arrays from constructor
2024-06-28 07:26:44 -05:00
David Snopek
7d7799b56e
Merge pull request #1504 from Repiteo/pre-commit-hooks
...
Replace legacy hooks with `pre-commit` Python tool
2024-06-25 09:42:55 -05:00
Thaddeus Crews
e0d363aad8
Integrate .pre-commit-config.yaml
2024-06-24 15:43:55 -05:00
Chris Cranford
78b63203d4
Add missing enum & ctor for PackedVector4Array implementation
2024-06-19 11:21:11 -04:00
A Thousand Ships
41aa71f8c3
Fix sharing of typed arrays from constructor
2024-06-06 16:40:10 +02:00
David Snopek
43be24f34c
Merge pull request #1437 from AThousandShips/vec_elem_scalar
...
Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
2024-05-07 12:55:23 -05:00
A Thousand Ships
d389171905
[Math] Add is_finite methods
2024-04-11 13:30:28 +02:00
A Thousand Ships
b65970860e
Add scalar versions of Vector* min/max/clamp/snap(ped)
...
Also added `snapped` to the integer vectors for completeness
2024-04-11 10:42:29 +02:00
David Snopek
44d78ec881
Merge pull request #1409 from Repiteo/class-to-typename
...
Enforce template syntax `typename` over `class`
2024-04-02 14:30:01 -05:00
David Snopek
a62f633ceb
Merge pull request #1379 from dsnopek/uninitialized-value-mk2
...
Avoid creating most objects that Godot is going to use placement new to initialize
2024-03-14 11:06:59 -05:00
A Thousand Ships
fb79d5ff98
Add support for getting argument count from Callables
2024-03-14 10:27:39 +01:00
Thaddeus Crews
87f5fb0691
Enforce template syntax typename over class
2024-03-10 16:02:43 -05:00
David Snopek
c4fde852e6
Avoid creating most objects that Godot is going to use placement new to initialize
2024-02-26 10:36:16 -06:00
Allen Pestaluky
349b5a3146
Added newer Variant types to typed_array.hpp
...
This is a companion commit to the godot PR https://github.com/godotengine/godot/pull/87992 which fixes https://github.com/godotengine/godot/issues/87991
Also undefines typed array templates after use to match Godot's typed_array.h
2024-02-06 13:53:38 -05:00
David Snopek
0145e900f3
Merge pull request #1357 from bruvzg/cpp_64
...
Switch to 64-bit ints.
2024-01-19 12:15:55 -06:00
A Thousand Ships
3943e41d2f
Fix AABB.encloses failing on shared upper bound
2024-01-12 18:08:40 +01:00
bruvzg
59a5a8b104
Switch to 64-bit ints.
2024-01-10 15:36:36 +02:00
A Thousand Ships
f037a697eb
Add missing OP_POWER operator to Variant
2024-01-06 21:12:52 +01:00