aboutsummaryrefslogtreecommitdiff
path: root/core/variant_call.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Vector3::round, Vector2::round & Vector2::ceil methods were added.Alexander Alekseev2018-06-011-0/+6
| | | | | | | Now both structs (Vector2 & Vector3) have round, floor & ceil methods. (see #18603) (cherry picked from commit 26963473a9d832f18e05db074577511d2477a42a)
* fix for segfault when using CallBasic in visual script on release buildIbrahn Sahir2018-05-131-1/+1
| | | | (cherry picked from commit 95dfa5b96d85d4cb02e70d70f0808101249abc54)
* Revert "Fix wrong return type of xform functions"Hein-Pieter van Braam2018-02-211-4/+4
| | | | | | As this will change bindings API this will have to wait for 3.1 This reverts commit 187c40d64dd733ea77b27d96416ab7ad106069b9.
* Fix wrong return type of xform functionsPoommetee Ketson2018-01-301-4/+4
| | | | (cherry picked from commit ebe23375156fbc0d610460b2a0e995bb5c966f84)
* 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-274/+289
| | | | | | 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
* Add basic compression functions to PoolBaseArrayGeorge Marques2017-06-191-0/+41
|
* added grow functions to Rect2toger52017-06-051-0/+4
| | | | | - grow_individual - grow_margin
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-26/+0
| | | | this might cause bugs I haven't found yet..
* Finish implementation of GDnative builtins bindingsEmmanuel Leblond2017-05-191-1/+0
|
* Removal of Image from Variant, converted to a Resource.Juan Linietsky2017-05-171-94/+0
|
* Merge pull request #8277 from tagcup/math_checksRémi Verschelde2017-04-241-0/+18
|\ | | | | Added various functions basic math classes. Also enabled math checks …
| * Added various functions basic math classes. Also enabled math checks only ↵Ferenc Arn2017-04-061-0/+18
| | | | | | | | | | | | | | | | for debug builds. Added set_scale, set_rotation_euler, set_rotation_axis_angle. Addresses #2565 directly. Added an euler angle constructor for Basis in GDScript and also exposed is_normalized for vectors and quaternions. Various other changes mostly cosmetic in nature.
* | Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|/
* Made slide and reflect active verbs acting on itself in Vector2 and Vector3.Ferenc Arn2017-04-031-4/+8
| | | | | | | This is in alignment with other functions in vector classes. Also added checks for normalization, fixed the sign of reflect (which now corresponds to reflection along a plane mathematically), added bounce method and updated docs. Fixes #8201.
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-1091/+1056
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* added join to PoolStringArrayAlexHolly2017-03-011-0/+2
|
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-131-5/+5
| | | | This saves typing and is a step towards fixing #56