aboutsummaryrefslogtreecommitdiff
path: root/core/variant_call.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Style: Various fixes to play nice with clang-formatRémi Verschelde2017-01-161-11/+11
|
* Style: Fix statements ending with ';;'Rémi Verschelde2017-01-161-9/+9
|
* Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-161-0/+1
| | | | | | | | | 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).
* Merge pull request #7010 from AlexHolly/format-string2Juan Linietsky2017-01-141-0/+2
|\ | | | | advanced string format
| * advanced string formatAlexHolly2016-11-011-0/+2
| |
* | Style: Fix whole-line commented codeRémi Verschelde2017-01-141-2/+2
| | | | | | | | | | 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.
* | rename String.extension() -> String.get_extension() / String.basename() -> ↵Juan Linietsky2017-01-141-4/+4
| | | | | | | | String.get_basename()
* | Vector2.get_aspect() renamed to Vector2.aspect() to keep consistent method ↵Juan Linietsky2017-01-131-2/+2
| | | | | | | | naming
* | Both Array and Dictionary are always in shared mode (removed copy on write).Juan Linietsky2017-01-111-2/+2
| |
* | Type renames:Juan Linietsky2017-01-111-297/+297
| | | | | | | | | | | | | | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* | Merge pull request #7426 from m4nu3lf/bugfix/physicsJuan Linietsky2017-01-101-0/+5
|\ \ | | | | | | Fixed inertia tensor computation and center of mass
| * | Fixed inertia tensor computation and center of massm4nu3lf2017-01-091-0/+5
| | |
* | | Remove deprecated Vector2.floorf methodEmmanuel Leblond2017-01-101-5/+0
| | |
* | | Moved JSON functions to built-in to_json, parse_json, validate_jsonJuan Linietsky2017-01-081-5/+11
| | |
* | | renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-081-2/+2
| | |
* | | Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-2/+2
|/ / | | | | | | renamed to PoolVector
* | Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-29/+40
|\ \ | | | | | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * | Begining of GLES3 renderer:Juan Linietsky2016-10-031-29/+40
| | | | | | | | | | | | | | | | | | | | | | | | -Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
* | | Merge pull request #7271 from Faless/ipv6_cleanupRémi Verschelde2017-01-021-4/+0
|\ \ \ | | | | | | | | Fixes and improvementes for IPv6 implementation.
| * | | Migrate int.IP_TYPE_ constants to IP.TYPE_Fabio Alessandrelli2016-12-091-4/+0
| | | |
* | | | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
|/ / / | | | | | | | | | | | | | | | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* | / Add Array.front() and Array.back()Kazuo2562016-11-181-0/+4
| |/ |/|
* | adding ipv6Ariel Manzur2016-10-181-0/+5
|/
* Merge pull request #6675 from J08nY/issue-vector3-angle-toRémi Verschelde2016-10-031-0/+2
|\ | | | | | | | | Adds Vector.angle_to(Vector other), fixes #3912 [ci skip]
| * Vector3: added angle_to(Vector3 other)J08nY2016-10-031-0/+2
| |
* | Merge pull request #6304 from razvanc-r/masterRémi Verschelde2016-10-031-2/+2
|\ \ | |/ |/| (Array) .pop_front, .pop_back & .remove return values instead of void
| * (Array) pop_front, pop_back return valuesRăzvan Cosmin Rădulescu2016-09-111-2/+2
| | | | | | | | | | | | | | | | | | | | pop_front, pop_back now return values instead of `void`. Things I didn't know how to properly implement: 1. pop_front & pop_back shows in the help menu Object as return value. I know this is incorrect but if not Object than what? Cause it can't be void. It needs to be a generic type that includes all the Array types
* | Expose Vector2::clamped() to scriptsAndreas Haas2016-09-191-0/+2
|/ | | | | Needed this and wondered that there's no built-in function for it. So I wanted to implement it and saw that it's actually already there, just wasn't bound ^^
* Merge pull request #5879 from gau-veldt/subarray_patchJuan Linietsky2016-09-101-0/+2
|\ | | | | Subarray patch
| * Added slicing operation to DVector via DVector.subarray(int start,int end) ↵Gau o fthe Veldt2016-07-231-0/+2
| | | | | | | | | | | | | | | | | | method. Negative indices index from the end of the array. Indices are range checked before attempting and return appropriate error when out of range. Binding for RawArray in gdscript to access DVector.subarray() provided. Documentation of RawArray.subarray() in classes.xml provided.
* | Merge pull request #6352 from hurikhan/fix_release_build_IIRémi Verschelde2016-09-051-2/+2
|\ \ | | | | | | Fix release build. (II)
| * | Fix release build. (II)Mario Schlack2016-09-011-2/+2
| | |
* | | Basic type constants for visual scriptJuan Linietsky2016-09-021-2/+10
|/ /
* | More progress on visual script editingJuan Linietsky2016-08-031-0/+50
| |
* | Merge pull request #5524 from pkowal1982/masterJuan Linietsky2016-07-241-0/+2
|\ \ | |/ |/| Array has(var value) function
| * Array has(var value) functionPawel Kowal2016-07-071-0/+2
| |
* | classref: Fix arg name for is_action_pressed/releasedRémi Verschelde2016-07-081-4/+4
|/ | | | Also position TEXTURE_SPHERE constant properly.
* Make sure builtin types' constants remain in orderGeorge Marques2016-07-051-42/+60
| | | | | | | | This adds a list of constants for VariantCall to make sure the order of register is kept when showing in the editor help and in the documentation. This also remove the sorting of constants from the doctool, so it keeps the natural order in classes.xml.