summaryrefslogtreecommitdiffstats
path: root/core/object/make_virtuals.py
Commit message (Collapse)AuthorAgeFilesLines
* CI: Update static checks to black 23.3.0Rémi Verschelde2023-06-191-2/+0
| | | | And apply it to the codebase, removing empty lines at the start of blocks.
* Add `GodotTypeInfo::Metadata` to `MethodInfo`Raul Santos2023-01-261-0/+4
|
* Rename all gdnative occurences to gdextensionGilles Roudière2022-12-121-7/+7
| | | | | | | | | | | | | Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
* Fix const qualifier for parameters in GDExtension api functionsEmmanuel Leblond2022-12-021-2/+2
|
* Use StringName in the whole GDExtension API instead of const char *Emmanuel Leblond2022-11-081-2/+4
|
* Rename `script_instance` to `_script_instance` in the `GDVIRTUAL*` wrappers ↵bruvzg2022-09-281-6/+6
| | | | to avoid shadowing `Object` member.
* Fix typos with codespellRémi Verschelde2022-03-311-1/+1
| | | | | | Using codespell 2.2-dev from current git. Fix a couple incorrect uses of gendered pronouns.
* Create GDExtension clases for PhysicsServer3Dreduz2022-03-151-1/+4
| | | | | | | * Allows creating a GDExtension based 3D Physics Server (for Bullet, PhysX, etc. support) * Some changes on native struct binding for PhysicsServer This allows a 3D Physics server created entirely from GDExtension. Once it works, the idea is to port the 2D one to it.
* Discern between virtual and abstract class bindingsreduz2022-03-101-0/+5
| | | | | | | | | | | | | | * Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract". * Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions. * Converted a large amount of classes from "abstract" to "virtual" where it makes sense. Most classes that make sense have been converted. Missing: * Physics servers * VideoStream * Script* classes. which will go in a separate PR due to the complexity involved.
* Remove VARIANT_ARG* macrosreduz2022-03-091-1/+1
| | | | | | | | * Very old macros from the time Godot was created. * Limited arguments to 5 (then later changed to 8) in many places. * They were replaced by C++11 Variadic Templates. * Renamed methods that take argument pointers to have a "p" suffix. This was used in some places and not in others, so made it standard. * Also added a dereference check for Variant*. Helped catch a couple of bugs.
* [GDExtension] Fix registration of functions with enum or native pointer ↵bruvzg2022-02-031-2/+2
| | | | return type.
* Change gdnative interface so that Godot object initialization should be ↵Gilles Roudière2021-11-301-1/+10
| | | | triggered from the extension side
* Fix misspelled "overriden"Haoyu Qiu2021-08-261-1/+1
| | | | In recent GDVIRTUAL PR and SkeletonModification3DJiggle doc.
* Implement NativeExtension pointer argumentsreduz2021-08-231-3/+2
| | | | | | | | * 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.
* Replace BIND_VMETHOD by new GDVIRTUAL syntaxreduz2021-08-221-3/+13
| | | | | | | | | | | * 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.
* Properly set up virtual calls for extensionsGeorge Marques2021-08-171-1/+1
|
* Implement native extension systemreduz2021-06-251-0/+152
* 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