dementive
0b8e76817b
Use LocalVector instead of std::vector
2025-09-16 15:47:41 -05:00
dementive
e36e81ac86
Remove <string> includes in headers
2025-09-08 20:45:13 -05:00
David Snopek
b192b880d3
Take reference in Wrapped(const StringName &)
2025-08-20 11:13:28 -05:00
David Snopek
fd708f429b
Merge pull request #1828 from BenLubar/guard-unaligned-access
...
Only check for Godot 4.0 if the pointer is aligned how it would be for the legacy interface.
2025-08-14 10:12:14 -05:00
Ben Lubar
05d2ce3006
Only check for Godot 4.0 if the pointer is aligned how it would be for the legacy interface.
2025-08-09 12:19:21 -05:00
David Snopek
309b17b6eb
Test that internal classes work as expected
2025-07-23 13:53:52 -05:00
David Snopek
7f5f02940d
Update for GDExtension interface changes in Godot 4.5
2025-06-23 16:40:43 -05:00
David Snopek
5a0d6565d1
Merge pull request #1773 from tomfull123/method-bind-clean-up
...
Clean up the MethodBind class
2025-06-20 12:01:26 -05:00
Pierre-Thomas Meisels
0871c7a93a
Expose gdextension_object_get_script_instance and gdextension_object_set_script_instance methods from engine
2025-05-05 18:55:59 +02:00
Ben Lubar
7fd0999b3c
fix iterators making unintended copies
2025-04-21 18:45:05 -05:00
Tom
ca5af3c861
Cleaned up the MethodBind class
2025-04-20 20:47:06 +01:00
David Snopek
08fd033a9e
Merge pull request #1743 from dsnopek/get-used-classes
...
Register the classes used with the Godot editor
2025-04-18 06:56:23 -05:00
Marc Gilleron
7670de814f
Use Math::abs to avoid ambiguity with integer abs
2025-04-16 20:37:19 +02:00
Tom
d634a5f8c4
Synced defs.hpp with godot's typedefs.h
2025-04-07 17:30:55 +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
aed195f6dc
Register the classes used with the Godot editor
2025-03-17 13:23:32 -05: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
David Snopek
5c9529fc84
Update for virtual method compatibility system
2025-01-11 16:36:59 -06: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
Aaron Franke
ac466e4766
Add print_line for compatibility with engine modules
2024-11-26 03:06:22 -08:00
David Snopek
253e095c81
Merge pull request #1581 from dsnopek/classdb-add-virtual-method-arg-metadata-size
...
Fix crash in `ClassDB::add_virtual_method()` if arguments metadata is the wrong size
2024-11-05 09:18:01 -06:00
David Snopek
42e398e4e2
Update for new NOTIFICATION_POSTINITIALIZE handling
2024-10-29 16:29:24 -05:00
David Snopek
ca5179f7d7
Merge pull request #1594 from dsnopek/macos-thread-local
...
Avoid `thread_local` on MacOS to prevent issues with hot reload
2024-10-29 15:39:49 -05:00
David Snopek
1e169bb809
Fix crash in ClassDB::add_virtual_method() if arguments metadata is the wrong size
2024-10-29 13:22:12 -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
David Snopek
0602c32986
Directly get object instance ID from Variant and implement Variant::get_validated_object()
2024-10-17 09:58:52 -05:00
David Snopek
91833c852e
Avoid thread_local on MacOS to prevent issues with hot reload
2024-10-17 09:06:27 -05:00
David Snopek
a98d41f62b
Merge pull request #1590 from dsnopek/reload-instance-bindings
...
Correctly set instance bindings on reload
2024-10-17 16:05:02 +02: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
David Snopek
cb543c192a
Correctly set instance bindings on reload
2024-09-17 09:18:08 -05:00
Aaron Franke
92e6ea7303
Fix missing type info for PackedVector4Array
2024-08-10 21:21:13 -07:00
David Snopek
e65ec904b8
Remind developers about memnew() in crash message when missing binding callbacks
2024-06-27 13:09:24 -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
David Snopek
5d8f80bc55
Merge pull request #1446 from Daylily-Zeleen/daylily-zeleen/set_instance_and_instance_biding_in_Wrapped_constructor
...
Set instance and instance binding in `Wrapped` constructor.
2024-06-14 09:39:46 -05:00
bruvzg
2360f84513
[TextServer, GDExtension] Fix building text servers as GDExtension, expose new/changed low-level methods to GDExtension API.
2024-06-13 18:57:24 +03:00
Richard Hozák
8c6cc1ec15
Fix warnings emitted with -Wall
2024-06-02 21:48:50 +02:00
Daylily-Zeleen
76cbc66785
Set instance and instance binding in Wrapped constructor.
2024-05-28 22:59:37 +08:00
David Snopek
b697ba8896
Merge pull request #1447 from dsnopek/avoid-double-postinitialize
...
Fix NOTIFICATION_POSTINITIALIZE sent twice to native parent classes
2024-05-17 11:56:09 -05:00
David Snopek
88df025aa0
Clean up instance bindings for engine singletons to prevent crash
2024-05-10 19:51:31 -05:00
Rémi Verschelde
17a82e7f94
Merge pull request #1374 from dsnopek/gdext-docs
...
Allow submitting documentation to the Godot editor
2024-05-08 00:48:02 +02:00
David Snopek
f5c2b38724
Merge pull request #1456 from dsnopek/packedvector4array
...
Add support for `PackedVector4Array`
2024-05-07 12:56:11 -05: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
David Snopek
a434850069
Allow submitting documentation to the Godot editor
2024-05-07 11:08:18 -05:00