summaryrefslogtreecommitdiffstats
path: root/include/godot_cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add Array:make macroBastiaan Olij2021-11-021-0/+50
|
* Rename interface to gdn_interface because it's a defined keyword under windowsBastiaan Olij2021-10-289-136/+136
|
* Merge pull request #631 from Faless/ext/ref_casting_2Rémi Verschelde2021-09-281-0/+43
|\
| * Add Ref<T> binding support.Fabio Alessandrelli2021-09-281-0/+43
| | | | | | | | Added PtrToArg and GetTypeInfo adapted from Godot.
* | Add pointers support for virtual methods.Fabio Alessandrelli2021-09-271-0/+41
|/ | | | | As introduced in godot for virtual methods. Custom structs are not yet supported.
* Fully register class on register_class callBastiaan Olij2021-09-271-14/+36
|
* Implement Ref copy constructorBastiaan Olij2021-09-271-20/+39
|
* Fix encoding/decoding of null objects.Fabio Alessandrelli2021-09-271-2/+2
|
* Fix binding of function that takes Object * parameters.Fabio Alessandrelli2021-09-271-2/+2
|
* Fix creation (and godot-side deletion) of extended objects.Fabio Alessandrelli2021-09-271-9/+12
| | | | | | | | | | | | | | | Proper initialization for godot-cpp classes with memnew. Extension classes (i.e. the `GDCLASS` macro) behave differently from regular wrapped classes, and requires Godot to initialize them during object construction. This commit update the GDCLASS macro to not create/destroy the instance during the bindings callback, but during the extension callbacks. When setting the object instance, the bindings instance is set to the pointer of the extension instance so that it can later be retrieved normally via `object_get_instance_bindings`.
* Fix PtrToArg encoding for `Object *`.Fabio Alessandrelli2021-09-271-2/+2
| | | | | It didn't set the return value at all, changing the local value instead. Now instead correctly sets it as a generic pointer type from `_owner`.
* Fix some clang format thingsBastiaan Olij2021-09-271-1/+1
|
* Change constructor/destructor management of extension classesGeorge Marques2021-09-274-114/+175
| | | | | | | | | | | | | | | | | | This makes sure custom constructors are always called on extension classes. However, note that constructors should not take any parameters, since Godot doesn't support that. Parameters are ignore in memnew macro. Use memnew(MyClass()) instead of memnew(MyClass) since it now needs a value instead of a class name. This macro calls MyClass::_new() (define in GDCLASS macro) which ultimately calls Godot to create the object, ensuring that both the Godot and the extension instances are created. Non Godot classes (that don't derive godot::Object) are constructed as usual an can have parameters. memdelete is also changed for the same reason, as it needs to destroy the Godot object as well, and that automatically frees the bound extension instance.
* Add support for property groupsBastiaan Olij2021-09-272-0/+4
|
* Add in driver types and rejig code to make it easier to extendBastiaan Olij2021-09-271-9/+5
|
* Change initialization to allow custom level callbacksGeorge Marques2021-09-272-3/+42
| | | | | Now it needs a callback for each level so custom logic (like loading singletons) can be performed.
* Fix formatting of filesGeorge Marques2021-09-2715-4/+452
|
* Fix calling of native functions that return object typesGeorge Marques2021-09-271-2/+2
|
* Re-introduce build-in type code for core typesBastiaan Olij2021-09-2716-0/+3845
|
* Silence delete compile warning in memory.h/cpp on WindowsBastiaan Olij2021-09-271-0/+8
|
* Auto-bind virtual method overridesGeorge Marques2021-09-274-9/+15
|
* Fix issues with method callsGeorge Marques2021-09-273-11/+55
|
* Replace bindgins to work with extensionsGeorge Marques2021-09-2716-0/+3535
|
* rewrote binding generator in pythonKarroffel2017-05-1241-8950/+0
|
* moved includes out of namespaceKarroffel2017-04-181-3/+1
|
* String.c_string() now returns char *Karroffel2017-04-112-2/+2
|
* basic signal support and update binding generationKarroffel2017-04-111-5/+125
|
* support for script inheritanceKarroffel2017-04-061-3/+6
|
* some NodePath fixes and better handling of Object type argumentsKarroffel2017-04-067-12/+71
|
* new macros for entry points, virtual method fixKarroffel2017-04-051-0/+14
|
* use pointers for objects, default argumentsKarroffel2017-04-053-8/+20
|
* Added Variant constructor for Object typesKarroffel2017-04-041-4/+4
|
* added support for tool scriptsKarroffel2017-03-181-0/+14
|
* added property registrationKarroffel2017-03-181-0/+70
|
* added operator overload for stringKarroffel2017-03-183-1/+8
|
* Windows compatibilityKarroffel2017-03-1524-31/+226
|
* mistakes were made. I undid them.Karroffel2017-03-156-50/+24
|
* using method data for wrapper methods nowKarroffel2017-03-141-140/+367
|
* reworked object system a little bitKarroffel2017-03-092-23/+13
|
* added Godot.hppKarroffel2017-03-061-0/+267
|
* buuunch of stuffKarroffel2017-03-0642-405/+140
|
* properly implemented core types (c++ wise)Karroffel2017-03-0641-5469/+6557
|
* I hate templatesKarroffel2017-03-052-5/+281
|
* Added binding generatorKarroffel2017-03-0421-0/+6901