summaryrefslogtreecommitdiffstats
path: root/core/variant/array.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add fill method to Arrays and PackedArraysMatheus Lima Cunha2021-04-211-0/+5
|
* Merge pull request #46991 from madmiraal/rename-invert-reverseRémi Verschelde2021-04-011-2/+2
|\ | | | | Rename Array.invert() to Array.reverse()
| * Rename Array.invert() to Array.reverse()Marcel Admiraal2021-03-211-2/+2
| | | | | | | | | | Does the same internally for List and Vector<>, which includes all PackedArray types.
* | Add functions to retrieve type of a typed ArrayGeorge Marques2021-03-181-0/+16
| |
* | Don't check type when assigning ArrayGeorge Marques2021-03-181-6/+11
|/ | | | | | | | The array should just assimilate the type of the other one since assignment in this case means a change in the reference. This also adds a `typed_assign` function for the cases where type validation is wanted.
* Fixes small typos and grammar correctionAnshul7sp12021-03-121-1/+1
|
* Change sort_custom/bsearch_custom to use Callableskobewi2021-02-041-14/+10
|
* Update copyright statements to 2021Rémi Verschelde2021-01-011-2/+2
| | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* Rename empty() to is_empty()Marcel Admiraal2020-12-281-5/+5
|
* Initialize class/struct variables with default values in core/ and drivers/Rafał Mikrut2020-11-231-1/+1
|
* Merge pull request #43398 from ↵Rémi Verschelde2020-11-101-0/+5
|\ | | | | | | | | KoBeWi/add_an_array_to_another_array_but_with_a_method Add append_array() method to Array class
| * Add append_array() method to Array classTomasz Chabora2020-11-081-0/+5
| |
* | Refactored variant constructor logicreduz2020-11-091-1/+1
|/
* Reorganized core/ directory, it was too fatty alreadyreduz2020-11-071-0/+556
-Removed FuncRef, since Callable makes it obsolete -Removed int_types.h as its obsolete in c++11+ -Changed color names code