e50ab50169
Fix visual script icons
...
This pull request fixes an issue where the visual script icons weren't representative of their data.
2021-07-20 17:23:42 -04:00
124e27b7b2
Merge pull request #50581 from DavidCambre/VisualScript-Drop-Custom-Nodes
...
Allow dropping custom node scripts in VisualScript editor
2021-07-20 12:46:50 +02:00
855c7c7414
Merge pull request #50566 from reduz/optimize-stringname-usage
...
Optimize StringName usage
2021-07-19 15:20:25 +02:00
6631f66c2a
Optimize StringName usage
...
* 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.
2021-07-18 21:20:02 -03:00
88088f351a
Prevents some warnings from appearing in visual scripts
2021-07-18 19:41:51 +03:00
aefde680a4
VisualScript-Drop-Custom-Nodes
...
Allows to drop custom node scripts directly in VisualScript
2021-07-18 15:48:35 +02:00
1054956461
Document remaining Visual Script classes
2021-07-13 23:43:46 +02:00
5ad4f26659
Implement the ability to disable classes
...
* 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.
2021-07-13 09:25:14 -03:00
88d68346ee
[Net] Rename NetworkedMultiplayerPeer to MultiplayerPeer.
2021-07-12 16:36:34 +02:00
f9ab70eb60
Fix creating a new function in visual scripts
2021-07-10 14:45:53 +03:00
2508fd0533
Use PROPERTY_USAGE_NONE instead of 0 for no property usage
...
Also use const more often.
2021-07-01 14:13:27 -04:00
a0b0f7c4ee
Fixes Visual script nodes operator mismatch issue #49943
2021-06-29 15:01:34 +05:30
921e6efe0d
VisualScriptEditor Fix in graph position calculation (do not skip zoom)
2021-06-23 22:01:15 +02:00
2e217a724e
Fix logic operators mislabeled #49412
2021-06-23 12:04:55 +02:00
e28fd07b2b
Rename instance()->instantiate() when it's a verb
2021-06-19 20:49:18 -06:00
d0e78c86d7
Added support for scripts reporting multiple errors to ScriptTextEditor
...
Scripts can now report multiple errors to the scripting editors in the engine. UI elements were added to support multiple errors.
2021-06-19 22:20:30 +10:00
0ff4095b36
Better format arguments in variant parser
2021-06-18 00:06:40 -03:00
b02f42def7
Merge pull request #49043 from theoway/missing_description_vs_search_window_fixed
...
Fixes missing descriptions in Visual Script search window when adding nodes
2021-06-17 23:04:07 +02:00
5e8d31ef0e
Fixes missing descriptions in search window of visualscript
2021-06-15 20:30:54 +05:30
2161fd117b
Adding some more missing renames for Transform3D and Quaternion
2021-06-15 16:01:50 +02:00
49ce5e69ee
Fix default value binding in VisualScriptFunctionState
2021-06-14 12:26:05 -03:00
7ff135b015
Consistently prefix bound virtual methods with _
2021-06-12 00:55:52 +02:00
04688b92ff
Rename Reference to RefCounted
2021-06-11 18:48:42 +02:00
6710ad1737
Let var2str display StringName with correct sigil
2021-06-10 16:30:28 -05:00
58c1235111
Merge pull request #49265 from KoBeWi/keepfreplace_2_keepers_of_replace
...
Move FindReplaceBar out of CodeTextEditor
2021-06-09 21:07:27 +02:00
0818a466c0
Merge pull request #49462 from TokageItLab/update-property-selector-icon-list
...
update property selector's icon list
2021-06-09 17:54:59 +02:00
67689dac7b
update property selector's icon list and rename Quat.svg to Quaternion.svg
2021-06-09 23:50:29 +09:00
da6aebeb4c
Move FindReplaceBar out of CodeTextEditor
2021-06-08 23:23:07 +02:00
3b18aa4910
Rename missing shortcut names in visual script editor
...
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.
2021-06-08 20:03:19 +02:00
896aa94283
Merge pull request #49221 from Faless/mp/4.x_rpc_refactor
...
[Net] Refactor RPCs, remove RSETs
2021-06-07 17:00:08 +02:00
c1c76850cb
Style: Cleanup uses of double spaces between words
...
Or after punctuation. Tried to leave third-party stuff alone, unless it has
been heavily modified for Godot.
2021-06-07 11:03:08 +02:00
e02e50505c
Fixed color for node headers in visual scripts
2021-06-06 21:20:05 +03:00
8acd13a456
Rename Quat to Quaternion
2021-06-04 18:14:32 +01:00
08a85352fb
Rename Variant TRANSFORM to TRANSFORM3D
...
Also _transform to _transform3d
2021-06-03 07:30:01 -04:00
d779b5aa3e
[Net] Refactor RPCs, remove RSETs
...
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.
2021-06-01 17:24:21 +02:00
d7205ef1d0
The built in function math/seed was missing the sequenceport.
2021-05-22 14:01:35 +02:00
bca0d36fe6
Improve TreeItem API and allow to move nodes
2021-05-17 22:06:46 +02:00
6c367f8e0d
Merge pull request #48168 from LightningAA/control-to-ctrl-4.0
2021-05-17 17:38:02 +02:00
2b30728ebf
Add get_base_editor to ScriptEditorBase
2021-05-15 18:47:00 +07:00
97fecd1b69
Rename "Control" key to "Ctrl" and add "_pressed" suffix to all InputEventWithModifiers properties/methods
2021-05-07 14:00:50 -06:00
8962d36bb1
Merge pull request #33577 from Calinou/highlight-control-flow-keywords
...
Highlight control flow keywords with a different color
2021-05-07 00:52:50 +02:00
6e621441ca
Merge pull request #45607 from Calinou/improve-editor-theme
...
Improve the editor theme
2021-05-06 16:45:07 +02:00
e905e8f145
Highlight control flow keywords with a different color
...
This makes them easier to distinguish from other keywords.
2021-05-05 22:38:12 +02:00
e196733e88
Re-bind posmod, use int64_t instead of int
...
Fixes #48420 , fixes #48421 .
The binding was missed when moving GDScript built-in to Global Scope it seems.
Co-authored-by: kleonc <9283098+kleonc@users.noreply.github.com >
2021-05-04 13:25:08 +02:00
0de9a7d803
Rename doubleclick to double_click
2021-05-04 04:38:08 -04:00
5b16020846
Replace remaining uses of NULL with nullptr
...
Follow-up to #38736 (these uses were likely added after this PR was merged).
2021-04-29 11:53:27 +02:00
60b70c77e0
Improve the editor theme
...
The editor theme now makes use of rounded corners and less borders
to follow modern visual trends.
The default theme's colors were also tweaked to make the blue hue
more subtle (similar to the Arc theme, which was removed as a
consequence). The Alien theme was replaced by a Breeze Dark theme,
which should blend in well with the KDE theme.
2021-04-27 22:38:26 +02:00
8247667a3e
Core: Drop custom copymem/zeromem defines
...
We've been using standard C library functions `memcpy`/`memset` for these since
2016 with 67f65f6639 .
There was still the possibility for third-party platform ports to override the
definitions with a custom header, but this doesn't seem useful anymore.
2021-04-27 16:26:27 +02:00
86822b187e
Rename LineEdit caret_* properties getters and setters to match property
2021-04-17 12:41:23 +01:00
d83761ba80
Style: Apply clang-tidy's readability-braces-around-statements
2021-04-05 14:09:59 +02:00