| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Add Array:make macro | Bastiaan Olij | 2021-11-02 | 1 | -0/+50 |
| | | |||||
| * | Rename interface to gdn_interface because it's a defined keyword under windows | Bastiaan Olij | 2021-10-28 | 9 | -136/+136 |
| | | |||||
| * | Merge pull request #631 from Faless/ext/ref_casting_2 | Rémi Verschelde | 2021-09-28 | 1 | -0/+43 |
| |\ | |||||
| | * | Add Ref<T> binding support. | Fabio Alessandrelli | 2021-09-28 | 1 | -0/+43 |
| | | | | | | | | | Added PtrToArg and GetTypeInfo adapted from Godot. | ||||
| * | | Add pointers support for virtual methods. | Fabio Alessandrelli | 2021-09-27 | 1 | -0/+41 |
| |/ | | | | | As introduced in godot for virtual methods. Custom structs are not yet supported. | ||||
| * | Fully register class on register_class call | Bastiaan Olij | 2021-09-27 | 1 | -14/+36 |
| | | |||||
| * | Implement Ref copy constructor | Bastiaan Olij | 2021-09-27 | 1 | -20/+39 |
| | | |||||
| * | Fix encoding/decoding of null objects. | Fabio Alessandrelli | 2021-09-27 | 1 | -2/+2 |
| | | |||||
| * | Fix binding of function that takes Object * parameters. | Fabio Alessandrelli | 2021-09-27 | 1 | -2/+2 |
| | | |||||
| * | Fix creation (and godot-side deletion) of extended objects. | Fabio Alessandrelli | 2021-09-27 | 1 | -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 Alessandrelli | 2021-09-27 | 1 | -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 things | Bastiaan Olij | 2021-09-27 | 1 | -1/+1 |
| | | |||||
| * | Change constructor/destructor management of extension classes | George Marques | 2021-09-27 | 4 | -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 groups | Bastiaan Olij | 2021-09-27 | 2 | -0/+4 |
| | | |||||
| * | Add in driver types and rejig code to make it easier to extend | Bastiaan Olij | 2021-09-27 | 1 | -9/+5 |
| | | |||||
| * | Change initialization to allow custom level callbacks | George Marques | 2021-09-27 | 2 | -3/+42 |
| | | | | | | Now it needs a callback for each level so custom logic (like loading singletons) can be performed. | ||||
| * | Fix formatting of files | George Marques | 2021-09-27 | 15 | -4/+452 |
| | | |||||
| * | Fix calling of native functions that return object types | George Marques | 2021-09-27 | 1 | -2/+2 |
| | | |||||
| * | Re-introduce build-in type code for core types | Bastiaan Olij | 2021-09-27 | 16 | -0/+3845 |
| | | |||||
| * | Silence delete compile warning in memory.h/cpp on Windows | Bastiaan Olij | 2021-09-27 | 1 | -0/+8 |
| | | |||||
| * | Auto-bind virtual method overrides | George Marques | 2021-09-27 | 4 | -9/+15 |
| | | |||||
| * | Fix issues with method calls | George Marques | 2021-09-27 | 3 | -11/+55 |
| | | |||||
| * | Replace bindgins to work with extensions | George Marques | 2021-09-27 | 16 | -0/+3535 |
| | | |||||
| * | rewrote binding generator in python | Karroffel | 2017-05-12 | 41 | -8950/+0 |
| | | |||||
| * | moved includes out of namespace | Karroffel | 2017-04-18 | 1 | -3/+1 |
| | | |||||
| * | String.c_string() now returns char * | Karroffel | 2017-04-11 | 2 | -2/+2 |
| | | |||||
| * | basic signal support and update binding generation | Karroffel | 2017-04-11 | 1 | -5/+125 |
| | | |||||
| * | support for script inheritance | Karroffel | 2017-04-06 | 1 | -3/+6 |
| | | |||||
| * | some NodePath fixes and better handling of Object type arguments | Karroffel | 2017-04-06 | 7 | -12/+71 |
| | | |||||
| * | new macros for entry points, virtual method fix | Karroffel | 2017-04-05 | 1 | -0/+14 |
| | | |||||
| * | use pointers for objects, default arguments | Karroffel | 2017-04-05 | 3 | -8/+20 |
| | | |||||
| * | Added Variant constructor for Object types | Karroffel | 2017-04-04 | 1 | -4/+4 |
| | | |||||
| * | added support for tool scripts | Karroffel | 2017-03-18 | 1 | -0/+14 |
| | | |||||
| * | added property registration | Karroffel | 2017-03-18 | 1 | -0/+70 |
| | | |||||
| * | added operator overload for string | Karroffel | 2017-03-18 | 3 | -1/+8 |
| | | |||||
| * | Windows compatibility | Karroffel | 2017-03-15 | 24 | -31/+226 |
| | | |||||
| * | mistakes were made. I undid them. | Karroffel | 2017-03-15 | 6 | -50/+24 |
| | | |||||
| * | using method data for wrapper methods now | Karroffel | 2017-03-14 | 1 | -140/+367 |
| | | |||||
| * | reworked object system a little bit | Karroffel | 2017-03-09 | 2 | -23/+13 |
| | | |||||
| * | added Godot.hpp | Karroffel | 2017-03-06 | 1 | -0/+267 |
| | | |||||
| * | buuunch of stuff | Karroffel | 2017-03-06 | 42 | -405/+140 |
| | | |||||
| * | properly implemented core types (c++ wise) | Karroffel | 2017-03-06 | 41 | -5469/+6557 |
| | | |||||
| * | I hate templates | Karroffel | 2017-03-05 | 2 | -5/+281 |
| | | |||||
| * | Added binding generator | Karroffel | 2017-03-04 | 21 | -0/+6901 |
