summaryrefslogtreecommitdiffstats
path: root/core/variant_call.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Sync classref with current sourceRémi Verschelde2018-05-281-0/+2
| | | | Also fix binding of Basis.slerp
* Merge pull request #14715 from Krakean/string_add_rsplit2Max Hilbrunner2018-05-231-0/+2
|\ | | | | Added rsplit() method to String class
| * Added rsplit() for String classDmitry Koteroff2017-12-151-0/+2
| | | | | | | | Docs updated
* | Add SLERP to Vector{2,3}, optimize Quat's Vector3 rotation.tagcup2018-05-121-1/+17
| | | | | | | | Also even out Basis and Quat APIs a little.
* | Vector3::round, Vector2::round & Vector2::ceil methods were added.Alexander Alekseev2018-05-041-0/+6
| | | | | | | | | | Now both structs (Vector2 & Vector3) have round, floor & ceil methods. (see #18603)
* | Merge pull request #16649 from ibrahn/visual-script-release-crashRémi Verschelde2018-05-011-1/+1
|\ \ | | | | | | fix for segfault when using CallBasic in visual script on release build
| * | fix for segfault when using CallBasic in visual script on release buildIbrahn Sahir2018-02-121-1/+1
| | |
* | | add string trim_prefix trim_suffix lstrip and rstrip methodsbosak2018-04-171-0/+8
| | |
* | | Duplicate Arrays and Dictionaries when instancing scene in editorBojidar Marinov2018-03-131-4/+4
| | | | | | | | | | | | | | | | | | Also, add deep (=false) parameter to Array.duplicate and Dictionary.duplicate Fixes #13971
* | | Bring back Vector2.cross()Bernhard Liebl2018-03-071-2/+2
| | |
* | | Merge pull request #15563 from poke1024/gdscript-shuffleRémi Verschelde2018-02-191-0/+2
|\ \ \ | | | | | | | | Add shuffle() method to Array
| * | | Add shuffle() method to Arraypoke10242018-01-101-0/+2
| | | |
* | | | Merge pull request #15852 from poke1024/color_hsvRémi Verschelde2018-02-191-0/+2
|\ \ \ \ | |_|/ / |/| | | Add Color.from_hsv()
| * | | Add Color.from_hsv()Bernhard Liebl2018-01-181-0/+2
| |/ /
* | | Fix broken variant call of Vector3.snappedTimur Celik2018-02-031-1/+1
| | |
* | | Fix wrong return type of xform functionsPoommetee Ketson2018-01-301-4/+4
|/ /
* | Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | | | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* | Merge pull request #15220 from ibrahn/variantcall-defargs-fixRémi Verschelde2018-01-031-2/+3
|\ \ | | | | | | fix VariantCall default parameter ordering
| * | fix VariantCall default parameter orderingIbrahn Sahir2017-12-311-2/+3
| | |
* | | Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
|/ / | | | | | | Happy new year to the wonderful Godot community!
* / Dictionary::copy -> ::duplicateWill Nations2017-12-171-0/+2
|/
* Added third argument for String.split() function (see issue #14349)Dmitry Koteroff2017-12-151-2/+2
| | | | | | | | Remove negative limit, leave only positive and make it reflect behaviour like in Python Also limit renamed to maxsplit to match Python one. Also docs updated. Fix indent
* Merge pull request #13347 from Noshyaar/hang_in_thereRémi Verschelde2017-12-091-0/+2
|\ | | | | Rect2: add function returning same rect with positive w and h
| * Rect2: add function returning same rect with positive w and hPoommetee Ketson2017-11-281-0/+2
| |
* | Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-071-3/+3
|/
* Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky2017-11-251-1/+1
| | | | | | wrong function, leading to unnecesary copy on writes and reduced performance.
* Make tween able to be used as before (without the need for ":...")Bojidar Marinov2017-11-221-0/+2
| | | | Fixes #13174
* Merge pull request #12371 from donkeybonks/color-lighten-darkenRémi Verschelde2017-11-221-0/+4
|\ | | | | Add Color.lighten and Color.darken (like LESS.css or SASS) #2
| * Add Color.lightened and Color.darkened (like LESS.css or SASS)Kyle Van Berendonck2017-11-211-0/+4
| |
* | Merge pull request #13151 from akien-mga/basis-vector3-constructorRémi Verschelde2017-11-221-6/+0
|\ \ | | | | | | Properly implement Basis constructor using Vector3 of Euler angles
| * | Properly implement Basis constructor using Vector3 of Euler anglesRémi Verschelde2017-11-211-6/+0
| | | | | | | | | | | | Fixes #13104.
* | | Merge pull request #12284 from bojidar-bg/allow-subproperty-setRémi Verschelde2017-11-211-2/+2
|\ \ \ | |/ / |/| | Allow for getting/setting "dotted" properties of objects
| * | Allow for getting/setting indexed properties of objects using get/set_indexedBojidar Marinov2017-11-211-2/+2
| | | | | | | | | | | | Performance is around the same as using pure set() through GDScript.
* | | Add bsearch and bsearch_custom to Arraypoke10242017-11-211-0/+4
| |/ |/|
* | Rename Rect3 to AABB.Ferenc Arn2017-11-171-49/+49
|/ | | | Fixes #12973.
* Fixed dedent() binding did not return resultZher Huei Lee2017-11-051-1/+1
|
* Added String::dedent() to remove text indentationZher Huei Lee2017-11-011-0/+2
| | | | | | | This functions similarly to Python's textwrap.dedent() It's also been applied to doc_data.cpp to remove extra whitespace while parsing the XML.
* Added difference between function which return value or notЗахаров Андрей2017-10-301-292/+307
| | | | | | Now ADDFUNC with suffix R add function with return value. It was changed because addfunc considers that the function doesn't return a value if it returns NIL.
* Fixed constness of variant functions, as well as visual script sequence ↵Juan Linietsky2017-09-251-21/+49
| | | | ports. Closes #11258
* Rename pos to position in user facing methods and variablesletheed2017-09-201-10/+10
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* Merge pull request #11106 from hpvb/documentation-fix-poolarraysRémi Verschelde2017-09-121-1/+1
|\ | | | | Correct the Pool*Array documentation
| * Correct the Pool*Array documentationHein-Pieter van Braam2017-09-091-1/+1
| |
* | Merge pull request #11028 from mrawlingst/color-RGBA32Rémi Verschelde2017-09-121-4/+4
|\ \ | |/ |/| Change Color.to_32() to Color.to_rgba32() and lowercase other functions
| * Change Color.to_32() to to_rgba32() and format as RGBAmrawlingst2017-09-071-4/+4
| |
* | -Fixed changes to default input actions not working, closes #10502Juan Linietsky2017-09-061-0/+2
|/ | | | -Added Array.duplicate() method, needed to fix above
* Remove Basis::set_scale and Basis::set_rotation_* functions.Ferenc Arn2017-08-291-6/+0
| | | | | | Those functions were added in #8277 but they did more harm than good. They're subtle, don't do what people think and requires users to understand the non-uniqueness of polar decomposition. They ended up confusing people. Until we store additional information enough to make a unique polar decomposition, these functions shouldn't be a part of Basis.
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Exposed Transform.interpolate_with()Przemysław Gołąb (n-pigeon)2017-08-201-1/+3
| | | | Additionaly changed values names for 2D version to more descriptive ones.
* Moved member variables from constructor to initialization listWilson E. Alvarez2017-08-081-3/+3
|
* Add GZIP compression supportGeorge Marques2017-07-131-1/+1
| | | | - Fix a wrong call in PoolByteArray::compress