Swarnim Arun
497cde27ab
Tool Mode for Visualscript
...
Add the ability to VisualScript to function in Tool mode aka the Editor itself similar to GDScript or Mono
2019-09-21 18:42:27 +05:30
Rémi Verschelde
e4f1b32c85
doc: Sync classref with current source
2019-07-22 12:27:52 +02:00
Rémi Verschelde
c64f2311cd
Merge pull request #30693 from Chaosus/lerp_angle
...
Added lerp_angle built-in function
2019-07-20 13:37:13 +02:00
Rémi Verschelde
37572e5a53
Merge pull request #30576 from qarmin/lgtm_coverage
...
Changed some code reported by LGTM and Coverity
2019-07-20 12:00:13 +02:00
Chaosus
add37970b3
Added lerp_angles built-in function
...
Co-authored-by: Xrayez <https://github.com/Xrayez >
Co-authored-by: DleanJeans <https://github.com/DleanJeans >
2019-07-20 12:59:41 +03:00
qarmin
2738b0b1e2
Changed some code showed in LGTM and Coverage
2019-07-20 08:09:57 +02:00
Rémi Verschelde
527930d471
Merge pull request #23310 from aaronfranke/posmod-int
...
Add integer posmod and rename default arg names
2019-07-19 15:07:49 +02:00
K. S. Ernest (iFIre) Lee
353ed6f901
Visualscript: Add types for base type get and set.
2019-07-19 00:04:46 -07:00
Aaron Franke
8703a8dec8
Add integer posmod and rename default arg names
...
"posmod" is the integer version of "fposmod". We do not need a "mod" because of the % operator.
I changed the default arg names from "x" and "y" to "a" and "b" because they are not coordinates. I also changed pow's arg names to "base" and "exp". Also, I reorganized the code in the VS built-in funcs switch statement.
2019-07-18 16:33:43 -04:00
Rémi Verschelde
1ac70b9e1b
doc: Sync classref with current source
2019-07-15 20:45:30 +02:00
Hugo Locurcio
f88bded1d2
Use base Color() constructors instead of Color::html()
...
This results in slightly smaller binaries (-17 KB for an editor binary)
as no strings need to be allocated.
2019-07-08 21:17:10 +02:00
qarmin
1f240c7ec4
Fixes minor issues found by static analyzer
2019-07-07 23:08:51 +02:00
Rémi Verschelde
636ac701e6
Merge pull request #29333 from hbina/fix_double_click_when_no_edited_func
...
fixed an issue with double clicking available node in VisualScriptEditor
2019-07-01 16:33:04 +02:00
Rémi Verschelde
156319823f
Merge pull request #30184 from akien-mga/doc-property-defval
...
doc: Add default values to all properties
2019-06-30 14:22:29 +02:00
Rémi Verschelde
d7f65527ae
doc: Remove null default values that can't be determined
...
Applying #30187 .
2019-06-30 13:58:07 +02:00
Rémi Verschelde
feade426af
doc: Add default values to all properties
...
Thanks to @bojidar-bg's impressive work in #29380 .
2019-06-30 13:58:07 +02:00
Andrii Doroshenko (Xrayez)
7c999c9cb1
Add support for creating editor icons per module
...
The functionality is similar to how `doc_classes` are retrieved per module.
The build system will search for custom icons path defined per module via
`get_icons_path()` method in `config.py` or default icons path.
If such paths don't exist, only the editor's own icons will be built.
Most module icons were moved from editor/icons to respective modules.
2019-06-28 23:42:26 +03:00
Hugo Locurcio
23af85f606
Proofread and improve the whole class reference
...
- Document a few more properties and methods
- Add more information to many classes
- Fix lots of typos and gramar mistakes
- Use [code] tags for parameters consistently
- Use [b] and [i] tags consistently
- Put "Warning:" and "Note:" on their own line to be more visible,
and make them always bold
- Tweak formatting in code examples to be more readable
- Use double quotes consistently
- Add more links to third-party technologies
2019-06-27 22:30:19 +02:00
Rémi Verschelde
eaa8598133
Merge pull request #30123 from akien-mga/doc-misc-updates
...
doc: Replace all [code]CONSTANT[/code] by new [constant CONSTANT] hyperlinks, remove @GlobalScope scope when unnecessary
2019-06-27 15:05:18 +02:00
Rémi Verschelde
b2d81c90e3
doc: Don't use GlobalScope scope in hyperlinks, it's automatically inferred
2019-06-27 14:43:37 +02:00
Rémi Verschelde
9798e341c3
doc: Replace all [code]CONSTANT[/code] by new [constant CONSTANT] hyperlinks
2019-06-27 13:49:36 +02:00
Rémi Verschelde
cd282ebede
Merge pull request #30119 from akien-mga/doc-misc-updates
...
doc: Complete and harmonize all _MAX constant descriptions, fix scoped hyperlinks
2019-06-27 12:33:39 +02:00
Rémi Verschelde
be74f53090
doc: Complete and harmonize all _MAX constant descriptions
2019-06-27 11:10:53 +02:00
qarmin
75031bcd42
Some code changed with Clang-Tidy
2019-06-26 15:08:25 +02:00
Rémi Verschelde
bb7fac1228
Merge pull request #29283 from qarmin/fix_some_always_same_values
...
Remove always true/false values
2019-06-20 21:10:10 +02:00
qarmin
5dfe088a2d
Fix always true/false values
2019-06-20 16:59:48 +02:00
JohnJLight
af6a3a56a4
Made use of semicolons more consitent, fixed formatting
2019-06-19 15:24:31 +02:00
Rémi Verschelde
294f681a08
doc: Improve docs for Resource* classes
...
Also move module-specific classes to their own module's `doc_classes`
folder.
2019-06-18 20:07:26 +02:00
Rémi Verschelde
afa8680918
Merge pull request #28766 from pgoral/editor_validation_issue
...
Changing method signature in other class in not recognized in working…
2019-06-17 23:13:08 +02:00
Rémi Verschelde
023eae8bc3
Merge pull request #29262 from DarknessCatt/issue-27476
...
Automatically add new line to scripts
2019-06-11 15:07:09 +02:00
Rémi Verschelde
7458985d1d
Merge pull request #27789 from Giacom/move_towards
...
Added move_toward functions for float, Vector2 and Vector3
2019-06-01 12:05:18 +02:00
hbina085
72d3cb4138
fixed an issue where there is no edited function but user double clicks on an available functions
2019-05-30 19:10:53 -04:00
Matheus Lima Cunha
5f457a03c4
Automatically add new line to scripts
2019-05-29 18:13:29 -03:00
Goral
467b772d16
Changing method signature in other class in not recognized in working class in typed GDScript #28685
2019-05-29 22:27:16 +02:00
James Buck
a61cb17530
Remove some redundant lines
2019-05-29 15:20:39 -05:00
Giacom
959a4f59e6
Added move_toward functions for float, Vector2 and Vector3
2019-05-28 11:39:35 +01:00
Rémi Verschelde
24f9307a47
Merge pull request #28606 from bojidar-bg/25889-indexed-set-defaults
...
Fix default values not being read correctly in VS, take two
2019-05-28 10:54:49 +02:00
Rémi Verschelde
f7f70bc566
Merge pull request #28836 from Jummit/vs-fix-default-call-modes
...
Change the call mode to self when adding nodes via the node search
2019-05-24 17:44:54 +02:00
Rémi Verschelde
97518c612b
Merge pull request #28980 from Jummit/vs-rename-change-base-type
...
Fix VisualScript Change Base Type title
2019-05-24 13:45:09 +02:00
Rémi Verschelde
2dfb5a538b
Merge pull request #27886 from LeonardMeagher2/obj_to_string
...
Allow overriding how scripted objects are converted to strings
2019-05-20 22:37:01 +02:00
Swarnim Arun
7b6296d324
Fix history state setup in VisualScript
2019-05-20 22:15:43 +05:30
Jummit
4b2bdf3106
Fix VisualScript Change Base Type title
2019-05-18 10:07:12 +02:00
Jummit
a32b7b4d50
change call mode to self when adding nodes with node search
...
fixes #28614
2019-05-12 09:27:05 +02:00
Leonard Meagher
2f58ed1b1b
Allow overriding how scripted objects are converted to strings
...
solves #26796
- ADD `String to_string()` method to Object which can be overriden by `String _to_string()` in scripts
- ADD `String to_string(r_valid)` method to ScriptInstance to allow langauges to control how scripted objects are converted to strings
- IMPLEMENT to_string for GDScriptInstance, VisualScriptInstance, and NativeScriptInstance
- ADD Documentation about `Object.to_string` and `Object._to_string`
- Changed `Variant::operator String` to use `obj->to_string()`
2019-05-03 15:06:05 -07:00
Bojidar Marinov
952f48f035
Fix default values not being read correctly in VS, take two
...
Fixes #25889 .
2019-05-02 20:57:00 +03:00
K. S. Ernest (iFire) Lee
86c9702154
VS: Give the generic search the current base type.
2019-05-01 08:27:22 -07:00
K. S. Ernest (iFire) Lee
f515cc8a68
VS: Better ux
...
* In VS functions' put the current node type first.
* Cleanup and merge property and method sections.
2019-05-01 08:07:35 -07:00
K. S. Ernest (iFire) Lee
d549686f8c
Change order of Visual Script Search.
...
Previously:
* vs nodes
* properties
* methods
Now:
* properties
* methods
* vs nodes
2019-05-01 08:07:35 -07:00
Rémi Verschelde
aa41f4d303
Merge pull request #27707 from Calinou/tweak-message-wording
...
Improve wording of various messages and make casing more consistent
2019-04-30 11:10:36 +02:00
Rikhardur Bjarni Einarsson
0f1735eeb7
Added a marker in text_edit that tells which row is executing.
2019-04-23 21:51:01 +01:00