Rémi Verschelde
15ada56d73
doc: Sync classref with current source
2017-11-24 09:16:27 +01:00
Juan Linietsky
30dadb1228
Merge pull request #11933 from cxong/master
...
Use "Command" instead of "Meta" for macOS (#1619 )
2017-11-21 14:25:09 -03:00
pablotato
054a2ac579
Add cartesian to polar conversion functions
2017-11-20 23:34:40 +01:00
Juan Linietsky
ebbe2bd572
Merge pull request #12930 from vnen/gdscrit-output-print
...
Make tool scripts print on the editor Output panel
2017-11-17 16:05:44 -03:00
Ferenc Arn
d28763a4c1
Rename Rect3 to AABB.
...
Fixes #12973 .
2017-11-17 11:01:41 -05:00
George Marques
1d12470a78
Add print_error function, akin to print_line
2017-11-16 21:56:57 -02:00
Rémi Verschelde
677e95d8d1
doc: Make all module docs self-contained
2017-11-15 21:29:33 +01:00
George Marques
0284727e7b
Create API to add and remove VisualScript custom nodes
...
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.
2017-11-15 17:13:13 -02:00
Leon Krause
9b7b46143d
Move singleton management from ProjectSettings to Engine
2017-11-14 15:15:13 +01:00
Goutte
91ca725f9b
Add support for the TAU constant. Fixes #12094 .
2017-11-12 13:32:35 +01:00
Juan Linietsky
c1855dcff1
Properly fix node path selection in input ports, closes #12152
2017-11-12 09:20:38 -03:00
Bojidar Marinov
4045bc1059
Fix "Invalid outputs" error when calling a void method from visual script
...
Fixes #11851
2017-11-08 21:34:05 +02:00
Rémi Verschelde
ea0e942617
Merge pull request #12035 from Chaosus/wrapfunc
...
Added new Wrap functions for numbers
2017-10-31 23:30:50 +01:00
Jerome67000
2609cc9ef4
Removes Script::get_node_type()
...
used before GDScript, with squirrel apparently
2017-10-25 20:11:30 +02:00
Ignacio Etcheverry
e218a13a64
Add ScriptLanguage::supports_builtin_mode and improve ScriptCreateDialog
...
- 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.
2017-10-24 15:48:58 +02:00
Poommetee Ketson
9b634180aa
Refactor Fixed to Physics
2017-10-21 21:28:08 +07:00
Rémi Verschelde
bf88c3c8e8
Merge pull request #12097 from rcurtis/issue12065
...
Visualscript: Fixes untouched value is null instead of 0
2017-10-20 23:20:32 +02:00
homer666
6880cad471
(VS) Add space after "=" sign in variable list
2017-10-17 21:45:39 +11:00
Rémi Verschelde
38ba70f2f5
Merge pull request #12069 from Noshyaar/pr-vslerp
...
VisualScript: add inverse_lerp & range_lerp
2017-10-15 20:20:49 +02:00
Cédric Fuchs
77dd6f37bd
Gave a tooltip to the "In" logic node
2017-10-14 22:13:19 +02:00
RCurtis
7fb57ecbd9
Fixed issue that improperly initialized visual node properties to Nil
2017-10-14 14:55:09 -04:00
Poommetee Ketson
efc5209b99
VisualScript: add inverse_lerp & range_lerp
2017-10-13 19:47:07 +07:00
Cong
524ffc9712
Use "Command" for OSX in translation strings ( #1619 )
2017-10-13 20:12:58 +11:00
Chaosus
216a8aa643
Added new wrap functions
2017-10-13 11:10:45 +03:00
Ruslan Mustakov
61ddf52983
Add NIL_IS_VARIANT usage to few definitions
...
The missing usage flag led to GDNative API descriptions containting
arguments with "void" type.
2017-10-05 18:51:22 +07:00
Andreas Haas
a848fa6cde
Merge pull request #11789 from djrm/pr_visual_improvements
...
Added correct initialization for script editor theme.
2017-10-03 19:56:14 +02:00
Nathan Lovato
cc40784728
Merge pull request #11653 from bojidar-bg/doc-vscript-1
...
[DOCS] Document some of the VisualScript classes
2017-10-03 11:58:06 +02:00
Bojidar Marinov
10469c1962
Document some of the VisualScript classes.
2017-10-03 12:01:53 +03:00
Daniel J. Ramirez
bb69855f1a
VS now supports white themes.
2017-10-02 21:31:32 -05:00
Daniel J. Ramirez
6d874ea685
Added correct initialization for script editor theme.
...
Some style fixes for VS interface.
2017-10-02 18:33:42 -05:00
Andreas Haas
5303efb2fa
Merge pull request #11659 from AndreaCatania/prephysics
...
Renamed fixed_process to physics_process
2017-10-02 23:10:36 +02:00
AndreaCatania
4537977d6d
Renamed fixed_process to physics_process
2017-09-30 16:19:07 +02:00
Marcelo Fernandez
57ef77376f
VisualScript crashfix when returns are too few
2017-09-30 11:18:50 -03:00
Gilles Roudiere
6f185cc9f7
Remove unecessary anchors&margins set causing bad display (sons of containers)
2017-09-27 00:38:28 +02:00
Rémi Verschelde
f577efd47e
Merge pull request #11424 from groud/control_node_presets
...
Implements set_margins_preset(...)
2017-09-26 00:11:46 +02:00
Juan Linietsky
c5da28f24c
Fixed constness of variant functions, as well as visual script sequence ports. Closes #11258
2017-09-25 17:09:27 -03:00
Gilles Roudiere
05bb8e0c10
Remove set_area_as_parent_rect and replace it by set_anchors_and_margins_preset(PRESET_WIDE)
2017-09-22 11:39:44 +02:00
letheed
5ad9be4c24
Rename pos to position in user facing methods and variables
...
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.
2017-09-20 13:11:10 +02:00
Rémi Verschelde
752a116847
Merge pull request #11256 from djrm/pr_visual_improvements
...
Visual improvements and new look for VS
2017-09-19 23:44:09 +02:00
Hein-Pieter van Braam
137f8a58a8
Move Variant::evaluate() switch to computed goto
...
In an effort to make GDScript a little faster replace the double
switch() with a computed goto on compilers that set __GNUC__. For
compilers that don't support computed goto it will fall back to regular
switch/case statements.
In addition disable using boolean values in a mathematical context. Now
boolean values can only be compared with other booleans. Booleans will
also no longer be coerced to integers.
This PR replaces #11308 and fixes #11291
2017-09-17 22:49:23 +02:00
Thomas Herzog
7dffed485b
Merge pull request #11230 from maxim-sheronov/fix_enum_bindings
...
Fix enums bindings
2017-09-15 08:43:35 +02:00
Daniel J. Ramirez
74d028729f
Improved VisualScriptEditor
2017-09-14 12:45:42 -05:00
Jeroen
ca5abae1e7
Fix 2 typos
2017-09-14 10:31:43 +02:00
Maxim Sheronov
0fffa45158
Fix enums bindings
...
Add missed bindings for enums
Move some enums to class to have correct output of api.json
2017-09-13 20:57:07 +03:00
Rémi Verschelde
fe3bbaa9d0
Merge pull request #11076 from hpvb/fix-10935
...
Fix crash on wrong type drag into the vs editor
2017-09-13 19:28:13 +02:00
Daniel J. Ramirez
60f054d3ac
Improved VS node coloring
2017-09-12 13:16:47 -05:00
Daniel J. Ramirez
1e8048dd45
Improved theme generation, and other fixes
2017-09-12 13:16:38 -05:00
Juan Linietsky
1c5376ae59
Many fixes to visual script, changed virtuals override for a proper selector.
2017-09-12 07:58:54 -03:00
Hein-Pieter van Braam
2ec0bc4f80
Fix crash on wrong type drag into the vs editor
...
Don't allow drops of draggable items without a vs node type.
This fixes #10935
2017-09-09 00:34:53 +02:00
Hein-Pieter van Braam
b2a38854fd
Fix unused variable warnings
...
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08 15:03:53 +02:00