summaryrefslogtreecommitdiffstats
path: root/modules/visual_script
Commit message (Collapse)AuthorAgeFilesLines
* Validates VisualScript.add_node input nodeHaoyu Qiu2021-08-021-0/+1
|
* Make action names translatableHaoyu Qiu2021-07-311-2/+2
|
* Remove obsolete "dectime" methodAaron Franke2021-07-303-64/+37
| | | | Replaced by "move_toward"
* doc: Use self-closing tags for `return` and `argument`Rémi Verschelde2021-07-308-414/+207
| | | | | | | | For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
* Merge pull request #50840 from ↵Rémi Verschelde2021-07-261-1/+1
|\ | | | | | | | | Gallilus/VisualScript-drop-preload-nodes-change-action-name Change "Add Preload Node" action to "Add Node(s)"
| * Change "Add Preload Node" action to "Add Node(s)"Gallilus2021-07-251-1/+1
| | | | | | The action might also drop Custom Nodes
* | Use const references where possible for List range iteratorsRémi Verschelde2021-07-257-50/+50
| |
* | Use C++ iterators for Lists in many situationsAaron Franke2021-07-237-279/+275
|/
* Revert unnecessary changes to VisualScriptEmitSignalDavid Cambré2021-07-232-14/+1
| | | | Revert unnecessary changes to VisualScriptEmitSignal, commit 2032b56005b2f6add6b105a00f04c05f9b292eec
* Merge pull request #48972 from ↵Rémi Verschelde2021-07-213-2/+72
|\ | | | | | | DavidCambre/Expose_VisualScriptCustomNode_TypeHints_m
| * expose type hints for VisualScriptCustomNodeDavid Cambré2021-07-213-2/+72
| | | | | | | | Co-Authored-By: Rémi Verschelde <rverschelde@gmail.com>
* | Merge pull request #50686 from Calinou/use-standard-inf-nan-constantsRémi Verschelde2021-07-212-4/+4
|\ \ | | | | | | Use the standard C `INFINITY` and `NAN` constants directly
| * | Use the standard C `INFINITY` and `NAN` constants directlyHugo Locurcio2021-07-212-4/+4
| | | | | | | | | | | | | | | | | | | | | The `Math_INF` and `Math_NAN` defines were just aliases for those constants, so we might as well use them directly. Some portions of the code were already using `INFINITY` directly.
* | | Merge pull request #49749 from ↵Rémi Verschelde2021-07-214-91/+176
|\ \ \ | |/ / |/| | | | | | | | DavidCambre/VisualScriptFunction_Call_Set_Get_Improvement-2 VisualScriptFunctionNodes Improvements
| * | Improve and streamline VisualScriptFuncNodes Call Set GetDavid Cambré2021-07-214-91/+176
| | | | | | | | | | | | | | | | | | | | | This PR improves and streamlines the workflow for VisualScriptFunctionNodes Call Set Get Uniform design. Drag in set-get from tree is now working. Removes redundant method_select popup.
* | | Fix visual script iconsNick Huelin2021-07-202-3/+12
| | | | | | | | | | | | This pull request fixes an issue where the visual script icons weren't representative of their data.
* | | Merge pull request #50581 from DavidCambre/VisualScript-Drop-Custom-NodesRémi Verschelde2021-07-201-6/+20
|\ \ \ | | | | | | | | Allow dropping custom node scripts in VisualScript editor
| * | | VisualScript-Drop-Custom-NodesDavid Cambré2021-07-181-6/+20
| | | | | | | | | | | | | | | | Allows to drop custom node scripts directly in VisualScript
* | | | Merge pull request #50566 from reduz/optimize-stringname-usageRémi Verschelde2021-07-194-135/+135
|\ \ \ \ | | | | | | | | | | Optimize StringName usage
| * | | | Optimize StringName usagereduz2021-07-184-135/+135
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added a new macro SNAME() that constructs and caches a local stringname. * Subsequent usages use the cached version. * Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time. * Replaced all theme usages by this new macro. * Replace all signal emission usages by this new macro. * Replace all call_deferred usages by this new macro. This is part of ongoing work to optimize GUI and the editor.
* / / / Prevents some warnings from appearing in visual scriptsYuri Roubinsky2021-07-182-2/+19
|/ / /
* | | Document remaining Visual Script classesTomasz Chabora2021-07-1317-0/+120
| | |
* | | Implement the ability to disable classesreduz2021-07-131-49/+49
| | | | | | | | | | | | | | | | | | | | | * This PR adds the ability to disable classes when building. * For now it's only possible to do this via command like: `scons disable_classes=RayCast2D,Area3D` * Eventually, a proper UI will be implemented to create a build config file to do this at large scale, as well as detect what is used in the project.
* | | [Net] Rename NetworkedMultiplayerPeer to MultiplayerPeer.Fabio Alessandrelli2021-07-121-1/+1
| | |
* | | Fix creating a new function in visual scriptsYuri Roubinsky2021-07-101-1/+1
| | |
* | | Use PROPERTY_USAGE_NONE instead of 0 for no property usageAaron Franke2021-07-013-18/+18
| | | | | | | | | | | | Also use const more often.
* | | Fixes Visual script nodes operator mismatch issue #49943Dipal M Zambare2021-06-292-36/+70
|/ /
* | VisualScriptEditor Fix in graph position calculation (do not skip zoom)kleonc2021-06-232-107/+48
| |
* | Fix logic operators mislabeled #49412Martin2021-06-231-33/+63
| |
* | Rename `instance()`->`instantiate()` when it's a verbLightning_A2021-06-1915-132/+132
| |
* | Added support for scripts reporting multiple errors to ScriptTextEditorEric M2021-06-192-2/+2
| | | | | | | | Scripts can now report multiple errors to the scripting editors in the engine. UI elements were added to support multiple errors.
* | Better format arguments in variant parserMichael Alexsander Silva Dias2021-06-183-3/+3
| |
* | Merge pull request #49043 from ↵Rémi Verschelde2021-06-171-2/+3
|\ \ | | | | | | | | | | | | theoway/missing_description_vs_search_window_fixed Fixes missing descriptions in Visual Script search window when adding nodes
| * | Fixes missing descriptions in search window of visualscriptUmang Kalra2021-06-151-2/+3
| | |
* | | Adding some more missing renames for Transform3D and QuaternionBastiaan Olij2021-06-152-3/+3
| | |
* | | Fix default value binding in VisualScriptFunctionStateGeorge Marques2021-06-142-2/+2
|/ /
* | Consistently prefix bound virtual methods with _kobewi2021-06-121-3/+3
| |
* | Rename Reference to RefCountedPedro J. Estébanez2021-06-113-4/+4
| |
* | Let var2str display StringName with correct sigilJonathan Gollnick2021-06-1012-17/+17
| |
* | Merge pull request #49265 from KoBeWi/keepfreplace_2_keepers_of_replaceRémi Verschelde2021-06-091-0/+1
|\ \ | | | | | | Move FindReplaceBar out of CodeTextEditor
| * | Move FindReplaceBar out of CodeTextEditorkobewi2021-06-081-0/+1
| | |
* | | Merge pull request #49462 from TokageItLab/update-property-selector-icon-listRémi Verschelde2021-06-092-3/+3
|\ \ \ | | | | | | | | update property selector's icon list
| * | | update property selector's icon list and rename Quat.svg to Quaternion.svgSilc 'Tokage' Renew2021-06-092-3/+3
| | | |
* | | | Rename missing shortcut names in visual script editorJonas Bernemann2021-06-081-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | With the change of the shortcuts for common actions like delete, copy and paste the delete menu items in the visual script editor for members where missing because of a missing shortcut.
* | | | Merge pull request #49221 from Faless/mp/4.x_rpc_refactorRémi Verschelde2021-06-073-123/+18
|\ \ \ \ | |/ / / |/| | | [Net] Refactor RPCs, remove RSETs
| * | | [Net] Refactor RPCs, remove RSETsFabio Alessandrelli2021-06-013-123/+18
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | In this PR: - Removed rset - rpc_config can now optionally configure transfer mode (reliable/unreliable/ordered) and channel (channels are not actually implemented yet.) - Refactor how the RPC id is computed to minimize the logic in Node and scripts that now only needs a single `get_rpc_methods` function.
* | | Style: Cleanup uses of double spaces between wordsRémi Verschelde2021-06-071-1/+1
| | | | | | | | | | | | | | | Or after punctuation. Tried to leave third-party stuff alone, unless it has been heavily modified for Godot.
* | | Fixed color for node headers in visual scriptsYuri Roubinsky2021-06-061-0/+1
| | |
* | | Rename Quat to QuaternionMarcel Admiraal2021-06-042-3/+3
| | |
* | | Rename Variant TRANSFORM to TRANSFORM3DAaron Franke2021-06-032-3/+3
|/ / | | | | Also _transform to _transform3d