summaryrefslogtreecommitdiff
path: root/core/variant_call.cpp
AgeCommit message (Collapse)Author
2018-01-03Merge pull request #15220 from ibrahn/variantcall-defargs-fixRémi Verschelde
fix VariantCall default parameter ordering
2018-01-01Update copyright statements to 2018Rémi Verschelde
Happy new year to the wonderful Godot community!
2017-12-31fix VariantCall default parameter orderingIbrahn Sahir
2017-12-17Dictionary::copy -> ::duplicateWill Nations
2017-12-15Added third argument for String.split() function (see issue #14349)Dmitry Koteroff
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
2017-12-09Merge pull request #13347 from Noshyaar/hang_in_thereRémi Verschelde
Rect2: add function returning same rect with positive w and h
2017-12-07Style: Apply new clang-format 5.0 style to all filesRémi Verschelde
2017-11-28Rect2: add function returning same rect with positive w and hPoommetee Ketson
2017-11-25Made Vector::ptrw explicit for writing, compiler was sometimes using the ↵Juan Linietsky
wrong function, leading to unnecesary copy on writes and reduced performance.
2017-11-22Make tween able to be used as before (without the need for ":...")Bojidar Marinov
Fixes #13174
2017-11-22Merge pull request #12371 from donkeybonks/color-lighten-darkenRémi Verschelde
Add Color.lighten and Color.darken (like LESS.css or SASS) #2
2017-11-22Merge pull request #13151 from akien-mga/basis-vector3-constructorRémi Verschelde
Properly implement Basis constructor using Vector3 of Euler angles
2017-11-21Merge pull request #12284 from bojidar-bg/allow-subproperty-setRémi Verschelde
Allow for getting/setting "dotted" properties of objects
2017-11-21Properly implement Basis constructor using Vector3 of Euler anglesRémi Verschelde
Fixes #13104.
2017-11-21Allow for getting/setting indexed properties of objects using get/set_indexedBojidar Marinov
Performance is around the same as using pure set() through GDScript.
2017-11-21Add Color.lightened and Color.darkened (like LESS.css or SASS)Kyle Van Berendonck
2017-11-21Add bsearch and bsearch_custom to Arraypoke1024
2017-11-17Rename Rect3 to AABB.Ferenc Arn
Fixes #12973.
2017-11-05Fixed dedent() binding did not return resultZher Huei Lee
2017-11-01Added String::dedent() to remove text indentationZher Huei Lee
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.
2017-10-30Added difference between function which return value or notЗахаров Андрей
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.
2017-09-25Fixed constness of variant functions, as well as visual script sequence ↵Juan Linietsky
ports. Closes #11258
2017-09-20Rename pos to position in user facing methods and variablesletheed
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.
2017-09-12Merge pull request #11106 from hpvb/documentation-fix-poolarraysRémi Verschelde
Correct the Pool*Array documentation
2017-09-12Merge pull request #11028 from mrawlingst/color-RGBA32Rémi Verschelde
Change Color.to_32() to Color.to_rgba32() and lowercase other functions
2017-09-09Correct the Pool*Array documentationHein-Pieter van Braam
2017-09-07Change Color.to_32() to to_rgba32() and format as RGBAmrawlingst
2017-09-06-Fixed changes to default input actions not working, closes #10502Juan Linietsky
-Added Array.duplicate() method, needed to fix above
2017-08-29Remove Basis::set_scale and Basis::set_rotation_* functions.Ferenc Arn
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.
2017-08-27Use HTTPS URL for Godot's website in the headersRémi Verschelde
2017-08-20Exposed Transform.interpolate_with()Przemysław Gołąb (n-pigeon)
Additionaly changed values names for 2D version to more descriptive ones.
2017-08-08Moved member variables from constructor to initialization listWilson E. Alvarez
2017-07-13Add GZIP compression supportGeorge Marques
- Fix a wrong call in PoolByteArray::compress
2017-06-19Add basic compression functions to PoolBaseArrayGeorge Marques
2017-06-05added grow functions to Rect2toger5
- grow_individual - grow_margin
2017-05-20Removal of InputEvent as built-in Variant type..Juan Linietsky
this might cause bugs I haven't found yet..
2017-05-19Finish implementation of GDnative builtins bindingsEmmanuel Leblond
2017-05-17Removal of Image from Variant, converted to a Resource.Juan Linietsky
2017-04-24Merge pull request #8277 from tagcup/math_checksRémi Verschelde
Added various functions basic math classes. Also enabled math checks …
2017-04-08Add "Godot Engine contributors" copyright lineRémi Verschelde
2017-04-06Added various functions basic math classes. Also enabled math checks only ↵Ferenc Arn
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.
2017-04-03Made slide and reflect active verbs acting on itself in Vector2 and Vector3.Ferenc Arn
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.
2017-03-05A Whole New World (clang-format edition)Rémi Verschelde
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
2017-03-01added join to PoolStringArrayAlexHolly
2017-02-13Remove use of _SCS from ADD_METHODHein-Pieter van Braam
This saves typing and is a step towards fixing #56
2017-01-16Style: Various fixes to play nice with clang-formatRémi Verschelde
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-16Style: Cleanups, added headers, renamed filesRémi Verschelde
Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
2017-01-14Merge pull request #7010 from AlexHolly/format-string2Juan Linietsky
advanced string format
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.