summaryrefslogtreecommitdiff
path: root/doc/classes/@GlobalScope.xml
AgeCommit message (Collapse)Author
2021-09-01Merge pull request #51987 from aaronfranke/fix-docs-gdvirtualGeorge Marques
Fix docs after GDVIRTUAL pull request
2021-08-31Remove cartesian2polar and polar2cartesiankobewi
2021-08-25Fix docs after GDVIRTUAL pull requestAaron Franke
2021-08-25Merge pull request #52023 from mhilbrunner/vs-fix-reloadedMax Hilbrunner
Fix VisualScriptEditor after namespaces
2021-08-24Fix Visual Script editorMax Hilbrunner
2021-08-23Expose RID creation utilities.reduz
* Exposed as utility functions. * Not very useful for script, but vital for creating servers using native extensions.
2021-08-23Implement NativeExtension pointer argumentsreduz
* Allows calling into native extensions directly with a pointer * Makes it easier to implement some APIs more efficiently * Appears with a "*" in the documentation for the argument. * Implementing the pointer handling is entirely up to the implementation, although the extension API provides some hint. * AudioStream has been implemented as an example, allowing to create NativeExtension based AudioStreams.
2021-08-22Replace BIND_VMETHOD by new GDVIRTUAL syntaxreduz
* New syntax is type safe. * New syntax allows for type safe virtuals in native extensions. * New syntax permits extremely fast calling. Note: Everything was replaced where possible except for `_gui_input` `_input` and `_unhandled_input`. These will require API rework on a separate PR as they work different than the rest of the functions. Added a new method flag METHOD_FLAG_OBJECT_CORE, used internally. Allows to not dump the core virtuals like `_notification` to the json API, since each language will implement those as it is best fits.
2021-08-11Docs: Fix capitalisation of Warning in two placesMax Hilbrunner
These are the only places in the docs that were not cased like this. Now they are!
2021-08-11Fix CI after #38992Max Hilbrunner
2021-08-11Merge pull request #38992 from Dragoncraft89/masterRémi Verschelde
Error handling functions for GdScript
2021-08-10Merge pull request #51017 from vnen/extension-fixesRémi Verschelde
2021-08-08[Text Server] Improve object (image/table) inline alignment.bruvzg
2021-08-06Bind missing constants from PropertyHint and PropertyUsageGeorge Marques
2021-07-30Remove obsolete "dectime" methodAaron Franke
Replaced by "move_toward"
2021-07-30doc: Use self-closing tags for `return` and `argument`Rémi Verschelde
For the time being we don't support writing a description for those, preferring having all details in the method's description. Using self-closing tags saves half the lines, and prevents contributors from thinking that they should write the argument or return documentation there.
2021-07-24Implement Resource UIDsreduz
* Most resource types now have unique identifiers. * Applies to text, binary and imported resources. * File formats reference both by text and UID (when available). UID always has priority. * Resource UIDs are 64 bits for better compatibility with the engine. * Can be represented and used textually, example `uuid://dapwmgsmnl28u`. * A special binary cache file is used and exported, containing the mappings. Example of how it looks: ```GDScript [gd_scene load_steps=2 format=3 uid="uid://dw86wq31afig2"] [ext_resource type="PackedScene" uid="uid://bt36ojelx8q6c" path="res://subscene.scn" id="1_t56hs"] ``` GDScript, shaders and other special resource files can't currently provide UIDs, but this should be doable with special keywords on the files. This will be reserved for future PRs.
2021-07-13Add type variations to ThemeYuri Sizov
2021-07-02Improve and clarify documentation for RandomNumberGeneratorHugo Locurcio
2021-06-30Fix editor suffixes and degrees conversionreduz
* Functions to convert to/from degrees are all gone. Conversion is done by the editor. * Use PROPERTY_HINT_ANGLE instead of PROPERTY_HINT_RANGE to edit radian angles in degrees. * Added possibility to add suffixes to range properties, use "min,max[,step][,suffix:<something>]" example "0,100,1,suffix:m" * In general, can add suffixes for EditorSpinSlider Not covered by this PR, will have to be addressed by future ones: * Ability to switch radians/degrees in the inspector for angle properties (if actually wanted). * Animations previously made will most likely break, need to add a way to make old ones compatible. * Only added a "px" suffix to 2D position and a "m" one to 3D position, someone needs to go through the rest of the engine and add all remaining suffixes. * Likely also need to track down usage of EditorSpinSlider outside properties to add suffixes to it too.
2021-06-25Implement native extension systemreduz
* Deprecates GDNative in favor of a simpler, lower level interface. * New extension system allows registering core engine classes. * Simple header interface in gdnative_interace.h
2021-06-19Consolidate JSON, JSONParseResults and JSONParser into JSONMarcel Admiraal
Renames JSON.parse_string() to parse() Renames JSON.decode_data() to stringify()
2021-06-11Add Time singletonAaron Franke
2021-06-04Rename Quat to QuaternionMarcel Admiraal
2021-06-03Update documentation for Transform3DAaron Franke
2021-05-07Rename "Control" key to "Ctrl" and add "_pressed" suffix to all ↵Lightning_A
InputEventWithModifiers properties/methods
2021-05-04Re-bind posmod, use int64_t instead of intRémi Verschelde
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-04-27Add error_string functionFlorian Kothmeier
2021-04-22Call randomize() automaticallyTomasz Chabora
2021-03-23Rename some more global enums (Key, Joy, MIDI)Aaron Franke
2021-03-23Rename ButtonList enum and members to MouseButtonAaron Franke
2021-03-19class reference proofreadingPaul Joannon
2021-03-18doc: Sync classref with current sourceRémi Verschelde
And move GLTF docs to its module folder.
2021-03-15Document the valid input range for `acos()` and `atan()`Hugo Locurcio
2021-03-10Implement Navigation layersGilles Roudière
2021-03-10doc: Sync classref with current sourceRémi Verschelde
2021-02-13fix minor issue in smooth step function's documentationAngad Kambli
2021-02-07Add support for new SDL gamecontroller keywords.Marcel Admiraal
2021-01-05More explicit wording for str() and print() functionsLoipesMas
2021-01-04doc: Sync classref with current sourceRémi Verschelde
2020-12-28Rename Math::stepify to snappedMarcel Admiraal
2020-12-23Rename Control margin to offsetMarcel Admiraal
2020-12-20Merge pull request #43414 from Xrayez/pi-type-stringRémi Verschelde
Expose `PROPERTY_HINT_TYPE_STRING` to scripting
2020-12-04Rename TYPE_REAL to TYPE_FLOATGeorge Marques
To be consistent with the naming everywhere else.
2020-11-26[Complex Text Layouts] Add TextServer documentation. Update Font, ↵bruvzg
CanvasItem, Theme and modified controls documentation.
2020-11-19Update joy button and stick names, enums and documentationMarcel Admiraal
2020-11-17doc: Sync classref with Variant utility methodsRémi Verschelde
Copied relevant documentation from the original `@GDScript` built-ins, which will likely be removed in a future commit. Various fixups to `variant_utility.cpp` while working on this.
2020-11-09Variant: Sync docs with new constructors, fixups after #43403Rémi Verschelde
Change DocData comparators for MethodDoc and ArgumentDoc to get a better ordering of constructors.
2020-11-09Expose `PROPERTY_HINT_TYPE_STRING` to scriptingAndrii Doroshenko (Xrayez)
2020-08-28Clarify that `KEY_BACK` is unrelated to the Back button on AndroidHugo Locurcio
This closes #19325.