aboutsummaryrefslogtreecommitdiff
path: root/modules/visual_script (follow)
Commit message (Collapse)AuthorAgeFilesLines
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-0517-7128/+5648
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Add a bunch of missing Godot headers in own filesRémi Verschelde2017-03-0516-3/+458
|
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-052-6/+6
| | | | | | The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.
* Added missing FIXMEs in PR #7878Ferenc Arn2017-03-021-1/+1
|
* Merge pull request #7878 from RebelliousX/elseRémi Verschelde2017-02-281-1/+1
|\ | | | | Bunch of missing `else` statements and general logic
| * Various fixes detected using PVS-Studio static analyzer.Thaer Razeq2017-02-281-1/+1
| | | | | | | | | | | | | | - Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
* | Inf and NaN support added to GDScript.Saracen2017-02-283-2/+14
|/
* -renamed globals.h to global_config.cpp (this seems to have caused a few ↵Juan Linietsky2017-02-214-4/+4
| | | | | | modified files) -.pck and .zip exporting redone, seems to be working..
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-136-195/+195
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-136-72/+72
| | | | This saves typing and is a step towards fixing #56
* Overloaded basic math funcs (double and float variants). Use real_t rather ↵Ferenc Arn2017-01-161-31/+31
| | | | | | than float or double in generic functions (core/math) whenever possible. Also inlined some more math functions.
* Merge pull request #7532 from tagcup/pcg_prngRémi Verschelde2017-01-161-2/+2
|\ | | | | Replace the existing PRNG (Xorshift31) with (minimal) PCG-32.
| * Replace the existing PRNG (Xorshift31) with (minimal) PCG (XSH-RR variant ↵Ferenc Arn2017-01-151-2/+2
| | | | | | | | | | | | 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: Fix statements ending with ';;'Rémi Verschelde2017-01-162-3/+3
| |
* | Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-161-1/+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).
* Style: Fix whole-line commented codeRémi Verschelde2017-01-144-8/+10
| | | | | 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 Input.get_mouse_speed() to Input.get_last_mouse_speed()Juan Linietsky2017-01-131-2/+2
|
* some class renamesJuan Linietsky2017-01-122-7/+7
| | | | | | TextureFrame -> TextureRect Patch9Frame -> NinePatchRect ColorFrame -> ColorRect
* Both Array and Dictionary are always in shared mode (removed copy on write).Juan Linietsky2017-01-111-3/+3
|
* Merge pull request #7093 from bojidar-bg/named-colorsRémi Verschelde2017-01-112-2/+25
|\ | | | | Add named colors to GDScript/Visual Script/core.
| * Add named colors to GDScript/Visual Script/core.Bojidar Marinov2016-12-172-2/+25
| | | | | | | | Names and values taken from https://en.wikipedia.org/wiki/X11_color_names
* | Type renames:Juan Linietsky2017-01-115-25/+25
| | | | | | | | | | | | | | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* | Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a ↵Juan Linietsky2017-01-101-2/+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
* | PopupMenu now emits both index_pressed and id_pressed instead of ↵Juan Linietsky2017-01-081-3/+3
| | | | | | | | item_pressed, closes #3188
* | renamed joystick to joypad everywhere around source code!Juan Linietsky2017-01-083-23/+23
| |
* | Editor settings categories are now tidy and beautiful!Juan Linietsky2017-01-051-8/+8
| |
* | -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-054-18/+18
| | | | | | | | | | | | | | | | 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
* | ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-0216-383/+383
| | | | | | | | | | | | | | | | 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()
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-012-2/+2
| | | | | | | | | | | | | | | | 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 "Positive" operator to VisualScriptGeorge Marques2016-11-111-1/+6
|/
* style: Fix PEP8 blank lines issues in Python filesRémi Verschelde2016-11-011-3/+0
| | | | | | | | | | | Done with `autopep8 --select=E3,W3`, fixes: - E301 - Add missing blank line. - E302 - Add missing 2 blank lines. - E303 - Remove extra blank lines. - E304 - Remove blank line following function decorator. - E309 - Add missing blank line. - W391 - Remove trailing blank lines.
* style: Start applying PEP8 to Python files, indentation issuesRémi Verschelde2016-11-011-2/+2
| | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E1`, fixes: - E101 - Reindent all lines. - E112 - Fix under-indented comments. - E113 - Fix over-indented comments. - E115 - Fix under-indented comments. - E116 - Fix over-indented comments. - E121 - Fix a badly indented line. - E122 - Fix a badly indented line. - E123 - Fix a badly indented line. - E124 - Fix a badly indented line. - E125 - Fix indentation undistinguish from the next logical line. - E126 - Fix a badly indented line. - E127 - Fix a badly indented line. - E128 - Fix a badly indented line. - E129 - Fix a badly indented line.
* Merge pull request #6850 from akien-mga/pr-scsub-shebangRémi Verschelde2016-10-171-0/+2
|\ | | | | SCsub: Add python shebang as a hint for syntax highlighting
| * SCsub: Add python shebang as a hint for syntax highlightingRémi Verschelde2016-10-171-0/+2
| | | | | | | | Also switch existing shebangs to "better" /usr/bin/env python.
* | Merge pull request #6692 from bojidar-bg/add-char-to-gd-vs-scriptRémi Verschelde2016-10-172-0/+18
|\ \ | |/ |/| Add `String char(int ascii)` function to GDScript and Visual Script
| * Add `String char(int ascii)` function to GDScript and Visual ScriptBojidar Marinov2016-10-032-0/+18
| | | | | | | | Just hope it doesn't crashes with that much pointer math... :smile:
* | modules: Clone env in each moduleRémi Verschelde2016-10-151-1/+1
|/ | | | | | | | | | | | | | | | | | | | This allows to pass include paths and flags only to a given thirdparty library, thus preventing conflicts between their files (e.g. between opus and openssl which both provide modes.h. This also has the nice effect of making the compilation command smaller for each module as it no longer related to all other modules, only the final linking brings them together. This however requires adding manually the ogg include path in opus and vorbis when building against the builtin ogg, since it is no longer in the global env. Also simplified template 'thirdparty_<module>_sources' to 'thirdparty_sources'. "Core" modules like cscript, gdscript, gridmap, ik and virtual_script still use the main env_modules, but it could be changed if need be.
* -Cleaned up find/replace bar for replace (made selection only default if ↵Juan Linietsky2016-09-111-0/+1
| | | | | | selection exists), also made buttons look like buttons -Fixed a bug related to theme propagation, may be able to solve #6443, #6302 and others. Please test.
* Merge pull request #6436 from djrm/iconsRémi Verschelde2016-09-091-1/+1
|\ | | | | Tweaked some icons, including xform one
| * Tweaked some icons, including xform oneDaniel J. Ramirez2016-09-081-1/+1
| |
* | Renamed the bind_native functions to bind_vararg, should make it show the ↵Juan Linietsky2016-09-072-1/+9
|/ | | | documentation more clearly and also make it easier to bind to C#
* -Added diectly editable expressions on node to VSEditor, closes #6392Juan Linietsky2016-09-063-5/+39
| | | | -Added ability for LineEdit to expand to fit text
* Changed Vector3.snap from fmod to stepify, which makes more sense, fixes #6399Juan Linietsky2016-09-065-376/+504
|
* Should Fix Compiling Export TemplatesISylvox2016-09-063-2/+5
| | | | | - Works on Windows, Linux x11, Linux Server, Android, HTML5 - Not tested on Mac/iOS (don't have Apple's devices yet)
* Removed script_variables/ prefix to VS properties, made them easier to ↵Juan Linietsky2016-09-042-27/+12
| | | | access from GD and Expression nodes
* Added expression nodes to visual script, please test.Juan Linietsky2016-09-046-6/+1727
|
* small fixJuan Linietsky2016-09-031-0/+1
|
* Connection hints when connecting to empty space.Juan Linietsky2016-09-038-3/+491
|
* Made basic call nodes unsequenced, since they are like gdscript and most ↵Juan Linietsky2016-09-031-2/+2
| | | | return const.