summaryrefslogtreecommitdiffstats
path: root/modules/gdnative/include
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused GDNative codeRémi Verschelde2022-03-0927-2765/+0
| | | | | | | | | This has been superseded by GDExtension so this code is no longer useful nor usable. There's still some GDNative-related stuff in platform export code which needs to be adapted for GDExtension (e.g. to include GDExtension libraries in exports).
* Improve locale detection.bruvzg2022-01-181-0/+1
| | | | | Use separate language, script and country lists. Add locale selection dialog and property hint.
* Update copyright statements to 2022Rémi Verschelde2022-01-0327-54/+54
| | | | Happy new year to the wonderful Godot community!
* Fix various typosluz paz2022-01-021-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | Found via ` codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inout,leapyear,lod,nd,numer,ois,ony,paket,seeked,sinc,switchs,te,uint,varn` Update editor/import/resource_importer_layered_texture.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update doc/classes/TileSetScenesCollectionSource.xml Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/graph_edit.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/resources/animation.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Update scene/gui/rich_text_label.cpp Co-authored-by: Raul Santos <raulsntos@gmail.com> Revert previously committed change
* Rename `PROPERTY_USAGE_NOEDITOR` to `PROPERTY_USAGE_NO_EDITOR`Hugo Locurcio2021-11-031-1/+1
| | | | | This is consistent with other constants that include `NO`, such as `PROPERTY_HINT_COLOR_NO_ALPHA`.
* Merge pull request #53290 from Faless/mp/4.x_opts_namesFabio Alessandrelli2021-10-011-1/+1
|\ | | | | [Net] Rename RPC constants and annotation arguments.
| * [Net] Rename RPC constants and annotation arguments.Fabio Alessandrelli2021-10-011-1/+1
| | | | | | | | | | | | | | | | | | any -> any_peer sync -> call_local ordered -> unreliable_ordered Multiplayer.RPC_MODE_ANY -> RPC_MODE_ANY_PEER Multiplayer.TRANSFER_MODE_ORDERED -> TRANSFER_MODE_UNRELIABLE_ORDERED
* | Implement TextServer GDExtension interface, remove TextServer GDNative ↵bruvzg2021-10-011-283/+0
|/ | | | interface.
* [Net/GDNative] Remove GDNative network bits.Fabio Alessandrelli2021-09-242-245/+0
|
* [Net] Rename RPC "puppet" to "auth" (authority). Drop "master".Fabio Alessandrelli2021-08-301-6/+2
| | | | | | | | | | | | | | | | | | | | | | This commit completely removes the RPC_MODE_MASTER ("master" keyword), and renames the RPC_MODE_PUPPET to RPC_MODE_AUTHORITY ("auth" keyword). This commit also renames the "Node.[get|set]_network_master" methods to "Node.[get|set]_network_authority". This commit also renames the RPC_MODE_REMOTE constant to RPC_MODE_ANY. RPC_MODE_MASTER in Godot 3.x meant that a given RPC would be callable by any puppet peer on the master, while RPC_MODE_PUPPET meant that it would be callable by the master on any puppet. Beside proving to be very confusing to the user (referring to where it could be called instead of who can call it) the RPC_MODE_MASTER is quite useless. It is almost the same as RPC_MODE_REMOTE (anyone can call) with the exception that the network master cannot. While this could be useful to check in some case, in such a function you would anyway need to check in code who is the caller via get_rpc_sender_id(), so adding the check there for those rare cases does not warrants a dedicated mode.
* Makes FontData importable resource.bruvzg2021-08-271-58/+100
| | | | | | | Adds multi-channel SDF font texture generation and rendering support. Adds per-font oversampling support. Adds FontData import plugins (for dynamic fonts, BMFonts and monospaced image fonts), font texture cache pre-generation and loading. Adds BMFont binary format and outline support.
* Adding GDExtension support to XRInterfaceBastiaan Olij2021-08-261-98/+0
|
* [Net] Implement RPC channels in MultiplayerAPI.Fabio Alessandrelli2021-07-301-0/+2
|
* Update GDNative API version for changes from #50659David Snopek2021-07-211-2/+2
|
* Add get_buffered_amount() to WebRTCDataChannelDavid Snopek2021-07-201-0/+1
|
* Separate underscore from grapheme punctuation to enable doubleclick and ↵Leonardo Christino2021-07-131-1/+1
| | | | caret jump over snakecase variables in editor
* Merge pull request #50086 from Geometror/label-improve-layout-optionsRémi Verschelde2021-07-131-0/+1
|\ | | | | Improvements to Label's layout options
| * Improvements to Label's layout optionsHendrik Brucker2021-07-041-0/+1
| | | | | | | | | | | | - Added options to trim the text in case it overruns - Added more autowrap modes - Improved line breaking, which ignores trailing spaces
* | [Net] Rename NetworkedMultiplayerPeer to MultiplayerPeer.Fabio Alessandrelli2021-07-121-1/+1
|/
* Implement native extension systemreduz2021-06-251-1/+1
| | | | | | * 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
* Added support for scripts reporting multiple errors to ScriptTextEditorEric M2021-06-191-1/+1
| | | | Scripts can now report multiple errors to the scripting editors in the engine. UI elements were added to support multiple errors.
* Add stereoscopic rendering through multiviewBastiaan Olij2021-06-131-10/+17
|
* Style: Cleanup uses of double spaces between wordsRémi Verschelde2021-06-071-5/+5
| | | | | Or after punctuation. Tried to leave third-party stuff alone, unless it has been heavily modified for Godot.
* Rename Quat to QuaternionMarcel Admiraal2021-06-043-19/+19
|
* Rename GODOT_VARIANT_TYPE_TRANSFORM to GODOT_VARIANT_TYPE_TRANSFORM3DBastiaan Olij2021-06-041-1/+1
|
* Rename Transform to Transform3D in GDNativeAaron Franke2021-06-034-18/+20
|
* Rename files and the exposed name for Transform3DAaron Franke2021-06-031-1/+1
|
* GDNative: Fix size mismatch on 32-bit platforms for Signal and CallableRémi Verschelde2021-05-112-0/+2
| | | | Fixes #48645.
* Merge pull request #46991 from madmiraal/rename-invert-reverseRémi Verschelde2021-04-011-1/+1
|\ | | | | Rename Array.invert() to Array.reverse()
| * Rename Array.invert() to Array.reverse()Marcel Admiraal2021-03-211-1/+1
| | | | | | | | | | Does the same internally for List and Vector<>, which includes all PackedArray types.
* | [Complex Text Layouts] Provide access to glyph contour points.bruvzg2021-03-311-0/+1
| |
* | Add support for _to_string virtual function overwrite in PluginscriptEmmanuel Leblond2021-03-271-0/+1
|/
* Further changes in GDNative APIGeorge Marques2021-03-1719-0/+44
| | | | | | | | | | | | - Added new_copy to all types, since trivial copy won't work for all types. - Added functions to convert from String to char array types, which is not provided by the methods bound in Variant. - Added operator index to String. - Added missing cstring version of some Variant functions. They existed in the header but didn't have the implementation and were missing from the gdnative_api.json file. - Added support for static calls on Variant types.
* Merge pull request #44671 from o01eg/fix-gcc-visibilityRémi Verschelde2021-03-121-1/+3
|\ | | | | GDNative: Fix symbols visibility for GCC
| * Fix visibility for GCCO01eg2020-12-251-1/+3
| |
* | Implement Navigation layersGilles Roudière2021-03-101-0/+2
| |
* | Merge pull request #46045 from bruvzg/text_server_bmp_createRémi Verschelde2021-02-241-0/+4
|\ \ | | | | | | [TextServer] Restores bitmap font dynamic construction functions.
| * | [Text Server] Restores bitmap font dynamic construction functions.bruvzg2021-02-151-0/+4
| | |
* | | [TextServer] Restore character and space extra spacing support.bruvzg2021-02-151-0/+4
|/ /
* | Further changes to GDNative APIGeorge Marques2021-02-0912-12/+113
| | | | | | | | | | | | | | | | | | | | - Moved Variant struct definition to its own file so it can be used without include cycles (like on Dictionary). - Add `index` operator function so bindings like C++ can implement the operator[] overload (which needs a reference to the actual value). - Added missing new/destroy functions to Vector3i array. - Added print error/warning functions as helpers so bindings can print messages in the same manner as Godot itself does.
* | C conformance: Include stdbool.h to define `bool`Miguel de Icaza2021-02-021-0/+1
| | | | | | | | `bool` is otherwise not defined in C.
* | Define GDNative sizes using sizeof(godot_real_t) and sizeof(int32_t)Aaron Franke2021-01-2512-40/+95
| |
* | GDNative: Remove print functionsGeorge Marques2021-01-251-7/+0
| | | | | | | | | | Those are now utilities so the function pointer can be fetched when needed.
* | GDNative: New core APIGeorge Marques2021-01-2524-1702/+319
| | | | | | | | | | | | This API now uses the discovery functions present in Variant instead of wrapping every built-in function. Users now need to query for function pointers and use those.
* | Changed type to make it work on x32 architecture.zero13cool2021-01-051-1/+1
| |
* | Update copyright statements to 2021Rémi Verschelde2021-01-0128-56/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Happy new year to the wonderful Godot community! 2020 has been a tough year for most of us personally, but a good year for Godot development nonetheless with a huge amount of work done towards Godot 4.0 and great improvements backported to the long-lived 3.2 branch. We've had close to 400 contributors to engine code this year, authoring near 7,000 commit! (And that's only for the `master` branch and for the engine code, there's a lot more when counting docs, demos and other first-party repos.) Here's to a great year 2021 for all Godot users 🎆
* | Merge pull request #44149 from madmiraal/rename-tangent-orthogonalRémi Verschelde2020-12-281-1/+1
|\ \ | | | | | | Rename Vector2.tangent() to Vector2.orthogonal()
| * | Rename Vector2.tangent() to Vector2.orthogonal()Marcel Admiraal2020-12-061-1/+1
| | |
* | | Rename Rect2 and Rect2i grow_margin() to grow_side()Marcel Admiraal2020-12-281-2/+2
| | |
* | | Rename empty() to is_empty()Marcel Admiraal2020-12-285-14/+14
| |/ |/|