summaryrefslogtreecommitdiffstats
path: root/modules
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #7532 from tagcup/pcg_prngRémi Verschelde2017-01-162-4/+4
|\ | | | | Replace the existing PRNG (Xorshift31) with (minimal) PCG-32.
| * Replace the existing PRNG (Xorshift31) with (minimal) PCG (XSH-RR variant ↵Ferenc Arn2017-01-152-4/+4
| | | | | | | | | | | | with 32-bit output, 64-bit state). PCG is better than many alternatives by many metrics (see www.pcg-random.org) including statistical quality with good speed.
* | Style: Various fixes to play nice with clang-formatRémi Verschelde2017-01-163-28/+34
| |
* | Style: Fix statements ending with ';;'Rémi Verschelde2017-01-169-17/+17
| |
* | Style: No break before list braceRémi Verschelde2017-01-161-2/+1
| | | | | | | | | | | | | | clang-format does not handle that well *at all*. For the reference, found the relevant pieces of code with: `ag "=[ "$'\t'"]?"$'\n'"[ "$'\t'"]?{" --ignore=thirdparty`
* | Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-164-4/+4
| | | | | | | | | | | | | | | | | | 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).
* | Oops! Audio engine has vanished :DJuan Linietsky2017-01-1554-12916/+10
| |
* | Style: Cosmetic fixes to play nice with clang-formatRémi Verschelde2017-01-153-79/+108
|/
* Compile error when duplicate key in dictionery literal #7034James Mintram2017-01-141-0/+11
|
* Merge pull request #6845 from karroffel/masterJuan Linietsky2017-01-146-2/+697
|\ | | | | Adds pattern matching to GDScript
| * pattern matcher: Implemented backendKarroffel2017-01-114-286/+372
| | | | | | | | changed comments
| * pattern matcher: Implemented transformationsKarroffel2017-01-113-35/+393
| |
| * pattern matching: implemented parserKarroffel2017-01-114-1/+252
| |
* | Merge pull request #4918 from jjay/f/error_on_redefineJuan Linietsky2017-01-141-0/+25
|\ \ | | | | | | Redefine var results in an error
| * | [GDScript] Redefine var results in an errorYakov Borevich2016-05-301-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | Error rised if redefine - function argument - for-loop argument - local-scope var Affects #3730
* | | removed duplicated functions in class hierarchy that were bound more than onceJuan Linietsky2017-01-142-10/+10
| | | | | | | | | | | | added a check to detect this case in the future
* | | Style: Fix whole-line commented codeRémi Verschelde2017-01-1428-88/+114
| | | | | | | | | | | | | | | 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-1412-16/+16
| | | | | | | | | | | | String.get_basename()
* | | rename Input.get_mouse_speed() to Input.get_last_mouse_speed()Juan Linietsky2017-01-131-2/+2
| | |
* | | Must now register with set_transform_notify() to get ↵Juan Linietsky2017-01-121-0/+1
| | | | | | | | | | | | NOTIFICATION_TRANSFORM_CHANGED
* | | some class renamesJuan Linietsky2017-01-122-7/+7
| | | | | | | | | | | | | | | | | | TextureFrame -> TextureRect Patch9Frame -> NinePatchRect ColorFrame -> ColorRect
* | | Implicit inheritance now defaults to Resource, will error for node scripts ↵Juan Linietsky2017-01-122-1/+8
| | | | | | | | | | | | if extends not used.
* | | More efficient iteration syntax, and range() is converted behind the scenes ↵Juan Linietsky2017-01-111-0/+58
| | | | | | | | | | | | to it.
* | | Merge pull request #6930 from bojidar-bg/gdscript-export-array-hintRémi Verschelde2017-01-111-2/+33
|\ \ \ | | | | | | | | Allow typing hints for Array class (in GDScript and Inspector)
| * | | Allow typing hints for Array class (in GDScript and Inspector/ArrayPropertyEdit)Bojidar Marinov2016-10-261-2/+33
| | | | | | | | | | | | | | | | Closes #3586, by implementing the `1b` variation mentioned there.
* | | | Both Array and Dictionary are always in shared mode (removed copy on write).Juan Linietsky2017-01-114-11/+11
| | | |
* | | | Merge pull request #7093 from bojidar-bg/named-colorsRémi Verschelde2017-01-114-2/+63
|\ \ \ \ | | | | | | | | | | Add named colors to GDScript/Visual Script/core.
| * | | | Add named colors to GDScript/Visual Script/core.Bojidar Marinov2016-12-174-2/+63
| | | | | | | | | | | | | | | | | | | | Names and values taken from https://en.wikipedia.org/wiki/X11_color_names
* | | | | Type renames:Juan Linietsky2017-01-1114-78/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* | | | | It is now possible to name layers of different kinds!Juan Linietsky2017-01-101-1/+1
| | | | |
* | | | | uses the global thread to protect the instacnes map in GDScript, closes #4615Juan Linietsky2017-01-102-3/+45
| | | | |
* | | | | Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a ↵Juan Linietsky2017-01-102-3/+2
| | | | | | | | | | | | | | | | | | | | container!
* | | | | -All types have editable script now in propertiesJuan Linietsky2017-01-092-4/+0
| | | | | | | | | | | | | | | | | | | | -Changed clip to a property in Control which can be set by the user
* | | | | Moved JSON functions to built-in to_json, parse_json, validate_jsonJuan Linietsky2017-01-083-1/+78
| | | | |
* | | | | Removed Musepack, it's a pretty obsolete format nowadays.Juan Linietsky2017-01-086-670/+0
| | | | |
* | | | | Variant INT and REAL are now 64 bits (other types remain at 32)Juan Linietsky2017-01-081-3/+3
| | | | |
* | | | | PopupMenu now emits both index_pressed and id_pressed instead of ↵Juan Linietsky2017-01-082-4/+4
| | | | | | | | | | | | | | | | | | | | item_pressed, closes #3188
* | | | | renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-085-32/+32
| | | | |
* | | | | Fix code completion for new getnode syntaxJuan Linietsky2017-01-082-4/+31
| | | | |
* | | | | -Fix bugs related to PoolVector crashesJuan Linietsky2017-01-084-0/+91
| | | | | | | | | | | | | | | | | | | | -Added ability to request nodes using $Name in GDScript :)
* | | | | Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-0719-105/+105
| | | | | | | | | | | | | | | | | | | | renamed to PoolVector
* | | | | Editor settings categories are now tidy and beautiful!Juan Linietsky2017-01-052-11/+13
| | | | |
* | | | | -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-059-38/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
* | | | | -GDScript support for accessing properties directlyJuan Linietsky2017-01-045-67/+275
| | | | | | | | | | | | | | | | | | | | -Added code lookup and code completion support for properties too
* | | | | Merge branch 'master' of https://github.com/godotengine/godotJuan Linietsky2017-01-041-9/+9
|\ \ \ \ \
| * | | | | Use right handed coordinate system for rotation matrices and quaternions. ↵Ferenc Arn2017-01-031-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also fixes Euler angles (XYZ convention, which is used as default by Blender). Furthermore, functions which expect a rotation matrix will now give an error simply, rather than trying to orthonormalize such matrices. The documentation for such functions has be updated accordingly. This commit breaks code using 3D rotations, and is a part of the breaking changes in 2.1 -> 3.0 transition. The code affected within Godot code base is fixed in this commit.
* | | | | | -Conversion of most properties to a simpler syntax, easier to use by scriptJuan Linietsky2017-01-041-5/+5
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | -Modified help to display properties GDScript can still not make use of them, though.
* | | | | ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-0253-598/+598
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* | | | | Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-0210-68/+68
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * | | | | PBR more or less working, still working on bringing gizmos backJuan Linietsky2016-10-271-2/+2
| | | | | |