summaryrefslogtreecommitdiffstats
path: root/src/variant
Commit message (Collapse)AuthorAgeFilesLines
* Rebrand preambles to RedotSpartan3222024-10-3121-42/+84
|
* Merge pull request #1591 from dsnopek/variant-object-instance-idDavid Snopek2024-10-291-6/+5
|\ | | | | Directly get object instance ID from `Variant` and implement `Variant::get_validated_object()`
| * Directly get object instance ID from `Variant` and implement ↵David Snopek2024-10-171-6/+5
| | | | | | | | `Variant::get_validated_object()`
* | Sync `Quaternion` with the version in GodotDavid Snopek2024-10-281-40/+28
| |
* | Add p_use_model_front to Basis::looking_at()Florent Guiocheau2024-10-141-2/+5
| |
* | Implement typed dictionariesThaddeus Crews2024-09-171-0/+6
|/
* Fix missing type info for PackedVector4ArrayAaron Franke2024-08-101-0/+1
|
* Merge pull request #1504 from Repiteo/pre-commit-hooksDavid Snopek2024-06-252-2/+2
|\ | | | | Replace legacy hooks with `pre-commit` Python tool
| * Integrate `.pre-commit-config.yaml`Thaddeus Crews2024-06-242-2/+2
| |
* | Add missing enum & ctor for PackedVector4Array implementationChris Cranford2024-06-191-0/+8
|/
* [TextServer, GDExtension] Fix building text servers as GDExtension, expose ↵bruvzg2024-06-131-4/+4
| | | | new/changed low-level methods to GDExtension API.
* Merge pull request #1456 from dsnopek/packedvector4arrayDavid Snopek2024-05-071-0/+19
|\ | | | | Add support for `PackedVector4Array`
| * Add support for `PackedVector4Array`David Snopek2024-05-061-0/+19
| |
* | Merge pull request #1437 from AThousandShips/vec_elem_scalarDavid Snopek2024-05-076-0/+115
|\ \ | |/ |/| Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`
| * Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`A Thousand Ships2024-04-116-0/+115
| | | | | | | | Also added `snapped` to the integer vectors for completeness
* | Merge pull request #1436 from AThousandShips/math_updateDavid Snopek2024-04-2410-0/+40
|\ \ | | | | | | [Math] Add `is_finite` methods
| * | [Math] Add `is_finite` methodsA Thousand Ships2024-04-1110-0/+40
| |/
* / Fix Projection create_orthogonal being incorrectthimenesup2024-04-141-1/+1
|/ | | Title
* Merge pull request #1409 from Repiteo/class-to-typenameDavid Snopek2024-04-021-4/+4
|\ | | | | Enforce template syntax `typename` over `class`
| * Enforce template syntax `typename` over `class`Thaddeus Crews2024-03-101-4/+4
| |
* | Merge pull request #1379 from dsnopek/uninitialized-value-mk2David Snopek2024-03-141-51/+33
|\ \ | | | | | | Avoid creating most objects that Godot is going to use placement new to initialize
| * | Avoid creating most objects that Godot is going to use placement new to ↵David Snopek2024-02-261-51/+33
| |/ | | | | | | initialize
* / Add support for getting argument count from `Callable`sA Thousand Ships2024-03-142-4/+27
|/
* Switch to 64-bit ints.bruvzg2024-01-102-38/+38
|
* Add `Vector2i/3i/4i` methods: `distance_to` and `distance_squared_to`Jakub Mateusz Marcowski2024-01-031-0/+8
|
* Fix comparison of `Callable`s from callable_mp() of the same methodDavid Snopek2023-11-171-4/+56
|
* Merge pull request #1280 from dsnopek/callable-customDavid Snopek2023-11-172-10/+119
|\ | | | | Add `CallableCustom` that devs can use in their GDExtensions
| * Add `CallableCustom` that devs can use in their GDExtensionsDavid Snopek2023-11-062-10/+119
| |
* | Add missing int→Variant conversionsThaddeus Crews2023-11-081-0/+16
|/
* Switch to using `ObjectID` in custom callablesDavid Snopek2023-10-251-1/+1
|
* Merge pull request #1253 from gilzoide/fix-variant-iteration-valid-flagDavid Snopek2023-10-201-4/+6
|\ | | | | Fix return value and `r_valid` value in `Variant::iter_init` and `Variant::iter_next`
| * Fix return value and r_valid value in Variant::iter_init and iter_nextgilzoide2023-09-241-4/+6
| |
* | Use the new `string_name_new_with_latin1_chars` function to improve ↵David Snopek2023-10-091-2/+3
|/ | | | StringName construction performance
* Implement `callable_mp()` and `callable_mp_static()`David Snopek2023-09-211-0/+66
|
* Fix variant call compiler errorMatthew Murphy2023-09-091-2/+2
| | | | Co-authored-by: David Snopek <dsnopek@gmail.com>
* Implement `String::resize()`David Snopek2023-07-311-0/+4
|
* Attempt to fully implement CharStringDavid Snopek2023-06-221-98/+107
|
* Ensure GDExtension class is the correct type for the Godot engine classDavid Snopek2023-05-161-1/+2
|
* Update to load function pointers for GDExtension interfaceDavid Snopek2023-05-093-104/+104
|
* Fix compilation error: const GDExtensionStringPtr -> GDExtensionConstStringPtrZhehang Ding2023-02-141-1/+1
|
* Update array_set_typed() call to use GDExtensionVariantType instead of uint32_tJan Haller2023-02-091-1/+2
|
* Merge pull request #1011 from mihe/error-macrosRémi Verschelde2023-02-071-0/+2
|\ | | | | | | Update error macros to match core
| * Added missing `string.hpp` include in `transform2d.cpp`Mikael Hermansson2023-01-221-0/+2
| |
* | Update typed array API to match "GDScript: Fix typed arrays".bruvzg2023-01-311-0/+4
| |
* | Move Array:set_typed to internal GDExtension structure.bruvzg2023-01-301-0/+4
|/
* Expose some low level functions and String operators.bruvzg2023-01-191-8/+41
|
* Merge pull request #1001 from Faless/ext/basis_absFabio Alessandrelli2023-01-191-1/+1
|\ | | | | Fix Basis::scaled_orthogonal using incorrect abs function.
| * Fix Basis::scaled_orthogonal using incorrect abs function.Fabio Alessandrelli2023-01-191-1/+1
| |
* | Fix Variant::can_convert[_strict] returning gibberish.Fabio Alessandrelli2023-01-191-4/+2
|/ | | | | An uninitialized value was being returned instead of the function return value.
* Merge pull request #997 from asmaloney/fix-shadow-eulerorderRémi Verschelde2023-01-181-2/+2
|\ | | | | Fix a shadowed enum (EulerOrder)