Commit Graph

220 Commits

Author SHA1 Message Date
Rémi Verschelde
c41de73651 doc: Fix enum tags thanks to 2bc6db6 2017-11-24 23:16:30 +01:00
Rémi Verschelde
08b4da4ef8 doc: Remove setters and getters now exposed via properties/members 2017-11-24 18:10:32 +01:00
Rémi Verschelde
bc6b6c43d4 doc: Update header version for 3.0-beta 2017-11-24 09:16:52 +01:00
Rémi Verschelde
e2fe479af6 doc: Sync classref with current source 2017-11-24 09:16:27 +01:00
Juan Linietsky
0e33ecfe6c Merge pull request #11933 from cxong/master
Use "Command" instead of "Meta" for macOS (#1619)
2017-11-21 14:25:09 -03:00
pablotato
5b8a95b1e8 Add cartesian to polar conversion functions 2017-11-20 23:34:40 +01:00
Juan Linietsky
508adf7bdd 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
b132f628ad Rename Rect3 to AABB.
Fixes #12973.
2017-11-17 11:01:41 -05:00
George Marques
04481a5269 Add print_error function, akin to print_line 2017-11-16 21:56:57 -02:00
Rémi Verschelde
c453a67966 Merge pull request #12954 from akien-mga/docs
Make module docs self-contained and various improvements
2017-11-15 21:54:21 +01:00
Rémi Verschelde
55e453ed89 doc: Make all module docs self-contained 2017-11-15 21:29:33 +01:00
Rémi Verschelde
778a4736d8 Merge pull request #12948 from vnen/vs-custom-nodes
Create API to add and remove VisualScript custom nodes
2017-11-15 20:40:49 +01:00
George Marques
0a7ece2896 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
0f4d7ec704 Move singleton management from ProjectSettings to Engine 2017-11-14 15:15:13 +01:00
Goutte
4cf6b16693 Add support for the TAU constant. Fixes #12094. 2017-11-12 13:32:35 +01:00
Juan Linietsky
4412e5502b Properly fix node path selection in input ports, closes #12152 2017-11-12 09:20:38 -03:00
Bojidar Marinov
1b923e8b42 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
1b0ef61c2a Merge pull request #12035 from Chaosus/wrapfunc
Added new Wrap functions for numbers
2017-10-31 23:30:50 +01:00
Jerome67000
3b6741de6d Removes Script::get_node_type()
used before GDScript, with squirrel apparently
2017-10-25 20:11:30 +02:00
Ignacio Etcheverry
288791f97e 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
343e80f328 Refactor Fixed to Physics 2017-10-21 21:28:08 +07:00
Rémi Verschelde
6c4f87400a 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
49c26689d1 (VS) Add space after "=" sign in variable list 2017-10-17 21:45:39 +11:00
Rémi Verschelde
e2e1c4680e 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
56ffb9150f Gave a tooltip to the "In" logic node 2017-10-14 22:13:19 +02:00
RCurtis
472d422123 Fixed issue that improperly initialized visual node properties to Nil 2017-10-14 14:55:09 -04:00
Poommetee Ketson
8b4853593f VisualScript: add inverse_lerp & range_lerp 2017-10-13 19:47:07 +07:00
Cong
75c6a7e557 Use "Command" for OSX in translation strings (#1619) 2017-10-13 20:12:58 +11:00
Chaosus
33d2fb8277 Added new wrap functions 2017-10-13 11:10:45 +03:00
Ruslan Mustakov
6e61649d03 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
e027e649c0 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
5db7f6a869 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
f533561a1c Document some of the VisualScript classes. 2017-10-03 12:01:53 +03:00
Daniel J. Ramirez
e96dbe7f16 VS now supports white themes. 2017-10-02 21:31:32 -05:00
Daniel J. Ramirez
26df4393c1 Added correct initialization for script editor theme.
Some style fixes for VS interface.
2017-10-02 18:33:42 -05:00
Andreas Haas
ff221abf5e Merge pull request #11659 from AndreaCatania/prephysics
Renamed fixed_process to physics_process
2017-10-02 23:10:36 +02:00
AndreaCatania
1155f74008 Renamed fixed_process to physics_process 2017-09-30 16:19:07 +02:00
Marcelo Fernandez
ce7c87e435 VisualScript crashfix when returns are too few 2017-09-30 11:18:50 -03:00
Gilles Roudiere
01a7068f52 Remove unecessary anchors&margins set causing bad display (sons of containers) 2017-09-27 00:38:28 +02:00
Rémi Verschelde
cf6b55e4f2 Merge pull request #11424 from groud/control_node_presets
Implements set_margins_preset(...)
2017-09-26 00:11:46 +02:00
Juan Linietsky
6d05a789a8 Fixed constness of variant functions, as well as visual script sequence ports. Closes #11258 2017-09-25 17:09:27 -03:00
Gilles Roudiere
fe1a714d15 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
Rémi Verschelde
edfa86961c Merge pull request #11153 from letheed/rename-pos
Rename pos/rot/loc/scl
2017-09-20 13:22:47 +02:00
letheed
79d71f67d9 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
0de1d2f2b9 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
938cc63cfa 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
39f7d04049 Merge pull request #11230 from maxim-sheronov/fix_enum_bindings
Fix enums bindings
2017-09-15 08:43:35 +02:00
Daniel J. Ramirez
2bab00e0d8 Improved VisualScriptEditor 2017-09-14 12:45:42 -05:00
Rémi Verschelde
5e0f161c23 Merge pull request #11259 from RaTi17/master
Fix 2 typos, rename "/constant" to "constant"

[ci skip]
2017-09-14 11:43:30 +02:00
Jeroen
cd40e62ae3 Fix 2 typos 2017-09-14 10:31:43 +02:00