From 574a5714dcbf5fcf126f3f99caab62a345e665c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Verschelde?= Date: Sun, 17 Sep 2017 18:57:13 +0200 Subject: doc: Sync classref and escape comparators [ci skip] --- doc/classes/@GDScript.xml | 8 ++-- doc/classes/@Global Scope.xml | 2 + doc/classes/JSON.xml | 31 ++++++++++++++++ doc/classes/JSONParseResult.xml | 81 +++++++++++++++++++++++++++++++++++++++++ doc/classes/Light2D.xml | 2 +- doc/classes/OS.xml | 16 ++++---- doc/classes/UndoRedo.xml | 26 +++++++++++++ 7 files changed, 153 insertions(+), 13 deletions(-) create mode 100644 doc/classes/JSON.xml create mode 100644 doc/classes/JSONParseResult.xml (limited to 'doc/classes') diff --git a/doc/classes/@GDScript.xml b/doc/classes/@GDScript.xml index 511109e615..7b120afa51 100644 --- a/doc/classes/@GDScript.xml +++ b/doc/classes/@GDScript.xml @@ -96,9 +96,9 @@ [codeblock] # Speed should always be between 0 and 20 speed = -10 - assert(speed < 20) # Is true and program continues - assert(speed >= 0) # Is false and program stops - assert(speed >= 0 && speed < 20) # Or combined + assert(speed < 20) # Is true and program continues + assert(speed >= 0) # Is false and program stops + assert(speed >= 0 && speed < 20) # Or combined [/codeblock] @@ -360,7 +360,7 @@ Returns the floating-point remainder of x/y that wraps equally in positive and negative. [codeblock] var i = -10; - while i < 0: + while i < 0: prints(i, fposmod(i, 10)) i += 1 [/codeblock] diff --git a/doc/classes/@Global Scope.xml b/doc/classes/@Global Scope.xml index 4044c4ed1f..a8fd377ecf 100644 --- a/doc/classes/@Global Scope.xml +++ b/doc/classes/@Global Scope.xml @@ -38,6 +38,8 @@ [InputMap] singleton + + [Marshalls] singleton diff --git a/doc/classes/JSON.xml b/doc/classes/JSON.xml new file mode 100644 index 0000000000..a38b2f61cf --- /dev/null +++ b/doc/classes/JSON.xml @@ -0,0 +1,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/classes/JSONParseResult.xml b/doc/classes/JSONParseResult.xml new file mode 100644 index 0000000000..6aeb614508 --- /dev/null +++ b/doc/classes/JSONParseResult.xml @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/doc/classes/Light2D.xml b/doc/classes/Light2D.xml index cc1882c7a4..7ce7cef7c1 100644 --- a/doc/classes/Light2D.xml +++ b/doc/classes/Light2D.xml @@ -388,7 +388,7 @@ Shadow filter type. May be one of [code][None, PCF5, PCF9, PCF13][/code]. Default value: [code]None[/code]. - Smoothing value for shadows. + Smoothing value for shadows. Smooth shadow gradient length. diff --git a/doc/classes/OS.xml b/doc/classes/OS.xml index 5b14d5a746..65200c4769 100644 --- a/doc/classes/OS.xml +++ b/doc/classes/OS.xml @@ -286,7 +286,7 @@ - + Returns the current screen orientation, the return value will be one of the SCREEN_ORIENTATION constants in this class. @@ -331,7 +331,7 @@ - + @@ -660,7 +660,7 @@ - + Sets the current screen orientation, the argument value must be one of the SCREEN_ORIENTATION constants in this class. @@ -840,15 +840,15 @@ - + - + - + - + - + diff --git a/doc/classes/UndoRedo.xml b/doc/classes/UndoRedo.xml index 43e0ad7873..d450a8812e 100644 --- a/doc/classes/UndoRedo.xml +++ b/doc/classes/UndoRedo.xml @@ -108,6 +108,12 @@ Get the name of the current action. + + + + + + @@ -116,6 +122,26 @@ This is useful mostly to check if something changed from a saved version. + + + + + + + + + + + + + + + + + + + + -- cgit v1.2.3