summaryrefslogtreecommitdiffstats
path: root/modules/visual_script/visual_script.h
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #18516 from PJB3005/18-04-30-visual-script-title-barsMax Hilbrunner2018-05-261-1/+1
|\ \ | |/ |/| Move things into the title bars of Visual Script nodes.
| * Move things into the title bars of Visual Script nodes.Pieter-Jan Briers2018-04-301-1/+1
| | | | | | | | | | | | This is an attempt to make VS slightly nicer to use. WiP.
* | Fix Coverity reports of uninitialized scalar variableRémi Verschelde2018-04-191-2/+0
|/ | | | | | | | | | | Fixes most current reports on Coverity Scan of uninitialized scalar variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html These happen most of the time (in our code) when instanciating structs without a constructor (or with an incomplete one), and later returning the instance. This is sometimes intended though, as some parameters are only used in some situations and should not be double-initialized for performance reasons (e.g. `constant` in ShaderLanguage::Token).
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-3/+4
| | | | | | 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.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Create API to add and remove VisualScript custom nodesGeorge Marques2017-11-151-0/+1
| | | | | | | This makes a VisualScriptEditor singleton, which gives plugins the ability to register their own custom nodes. Those will be available for insertion in the Visual Script editor, under the "Custom Nodes" category.
* Removes Script::get_node_type()Jerome670002017-10-251-2/+0
| | | | used before GDScript, with squirrel apparently
* Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialogIgnacio Etcheverry2017-10-241-0/+1
| | | | | - Make ScriptCreateDialog disable the built-in script checked button if the language does not support it. - ScriptLanguage's get_template and make_template now receive the script path as class name if the the script language does not have named classes.
* Rename pos to position in user facing methods and variablesletheed2017-09-201-2/+2
| | | | | | | | | | | 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.
* Fixes language overridden external editorsIgnacio Etcheverry2017-09-031-1/+0
|
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Updated function argument namesWilson E. Alvarez2017-08-121-2/+2
|
* Makes all Godot API's methods Lower CaseIndah Sylvia2017-08-071-2/+2
|
* -Many fixes to VisualScript, fixed property names, etc.Juan Linietsky2017-06-301-1/+1
| | | | | | -Added ability to set/get a field in GetSet, as well as assignment ops -Added a Select node -Fixed update bugs related to variable list and exported properties, closes #9458
* Better user expirence with external text editors.geequlim2017-06-271-0/+1
| | | | | Implements open_in_external_editor for subclasses of ScriptLanguage. Add option 'Debug with external editor' to debug menu to control the behavoir of script opened by editor.
* Add ability to use custom script templates.Andreas Haas2017-06-131-0/+2
| | | | | | | | | | Templates will be loaded from .godot/script_templates For now they're disabled for GDNative. Ideas for further improvements: - Add a "Save as Template" option to the script editor, as it can normally only save to res:// - Support more placeholders / custom placeholders
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-2/+0
| | | | this might cause bugs I haven't found yet..
* External editor improvements and fixesIgnacio Etcheverry2017-04-171-0/+2
| | | | | | | | | | | | | | | Notable changes: - Now ScriptLanguages have the option to override the global external editor setting. If `ScriptLanguage::open_in_external_editor()` returns `ERR_UNAVAILABLE` (which it does by default), then the global external editor option will be used. - Added formatting to the external editor execution arguments. Now it's possible to write something like this: `{project} -g {file}:{line}:{col}`. - `VisualScript::get_member_line()` now can return the line of functions (well, it returns the id of the _Function_ node of the function). I guess there is nothing else we can get a "line" from. Fixes: - Fixes a bug where `ScriptEditor::script_goto_method()` would not work if the script is not already open in the built-in editor. - Fixes wrong DEFVAL for `cursor_set_column` and `cursor_set_line` in TextEdit. - `Script::get_member_line()` now returns -1 ("found nothing") by default.
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-231/+204
| | | | | | | | | | | | | | | | | | | | | | | | 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-051-0/+28
|
* Type renames:Juan Linietsky2017-01-111-1/+1
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* -All types have editable script now in propertiesJuan Linietsky2017-01-091-2/+0
| | | | -Changed clip to a property in Control which can be set by the user
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-4/+4
| | | | | | | | 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()
* Should Fix Compiling Export TemplatesISylvox2016-09-061-0/+2
| | | | | - 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-041-1/+0
| | | | access from GD and Expression nodes
* Connection hints when connecting to empty space.Juan Linietsky2016-09-031-1/+2
|
* made visual script switch more flexibleJuan Linietsky2016-09-011-0/+2
|
* More improvements to visual script..Juan Linietsky2016-08-311-0/+1
| | | | fixed a bug of not saving when sub-nodes changed.
* More visual script improvementsJuan Linietsky2016-08-301-16/+22
| | | | | | -Added anti-aliasing on lines -Improved draw performance enormously -Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
* More visual script workJuan Linietsky2016-08-251-0/+3
| | | | | | | | | -Block switches to 2d/3d editor if editing visual script -Added cast node in flow control -Added ability to do RPC in visual script -Comment nodes -Fix bug with inverted cable in connecting backwards -Copy and paste nodes, including from different scripts
* Proper function/property selection in visual script editing for property.Juan Linietsky2016-08-231-1/+2
| | | | This one has an ordered list, built-in description, search, etc.
* Brand new networked multiplayerJuan Linietsky2016-08-191-1/+4
|
* Added a simpler way to do sub-functions in both visual and gdscript with the ↵Juan Linietsky2016-08-081-0/+5
| | | | | | | subcall node. With this, visual script is almost done (missing registering custom nodes from addon). All this is probably pretty broken, too and needs a lot of testing.
* Added ability to create custom nodes from script.Juan Linietsky2016-08-071-0/+4
|
* -Added yield nodes to visual scriptJuan Linietsky2016-08-071-2/+41
| | | | | -Added input selection nodes to visual script -Added script create icon for those who miss it, will only appear when it can be used.
* Likely with bugs and with some features are missing, as well as profiler ↵Juan Linietsky2016-08-061-4/+78
| | | | support, but VisualScript should be more or less done!
* VisualScript can now execute visual scripts, but there is no debugger or ↵Juan Linietsky2016-08-051-7/+155
| | | | profiler yet.
* More work on visual scripting..Juan Linietsky2016-08-031-0/+12
|
* WIP visual scripting, not working yet but you can check out stuffJuan Linietsky2016-08-021-0/+318