Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #688 from zhehangd/master | Rémi Verschelde | 2022-02-19 | 1 | -0/+1 |
|\ | |||||
| * | Add missing Vector2::operator Vector2i() | Zhehang Ding | 2022-02-07 | 1 | -0/+1 |
| | | |||||
* | | Add ERR_ macros variants using `String` messages. | bruvzg | 2022-02-17 | 1 | -0/+6 |
| | | |||||
* | | Fix "const" NativePtr binds. | bruvzg | 2022-02-16 | 1 | -21/+21 |
| | | |||||
* | | Add `ptr()` / `ptrw()` to the arrays, add missing `String` methods, add ↵ | bruvzg | 2022-02-14 | 15 | -37/+75 |
|/ | | | | missing `CharString` method implementations. | ||||
* | Merge pull request #668 from groud/fix_extension_instance_set | Rémi Verschelde | 2022-01-06 | 1 | -19/+2 |
|\ | |||||
| * | Fix object_set_instance being wrongly called for built-in wrapped classes | Gilles Roudière | 2021-12-06 | 1 | -19/+2 |
| | | |||||
* | | Normalized additional macros to ensure that everything works without client ↵ | Bradley Clemetson | 2021-12-18 | 2 | -7/+7 |
| | | | | | | | | code needing using | ||||
* | | Fix namespace to be consistent with the previous ADD functions | Bradley Clemetson | 2021-12-12 | 1 | -2/+2 |
|/ | |||||
* | Make extension instances create the corresponding godot object in their ↵ | Gilles Roudière | 2021-12-03 | 4 | -166/+140 |
| | | | | constructor | ||||
* | Fixing compiler warnings around implicit type casting loosing precision | Bastiaan Olij | 2021-11-22 | 10 | -69/+73 |
| | |||||
* | 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 | 40 | -5301/+3267 |
| | |||||
* | Fixup style after #563 | Rémi Verschelde | 2021-09-27 | 1 | -1/+0 |
| | |||||
* | Merge pull request #563 from LinwoodCloud/master | Rémi Verschelde | 2021-09-27 | 2 | -1/+2 |
|\ | |||||
| * | Stop including iostream in Variant.hpp (to produce smaller binaries) | kb1000 | 2021-05-23 | 2 | -1/+2 |
| | | |||||
* | | Merge pull request #588 from aaronfranke/signal-no-arg | Rémi Verschelde | 2021-09-27 | 1 | -1/+12 |
|\ \ | |||||
| * | | Add ability to easily register signals with no arguments | Aaron Franke | 2021-07-10 | 1 | -1/+12 |
| | | | |||||
* | | | Merge pull request #601 from colugomusic/fix-string-args-constness | Rémi Verschelde | 2021-09-27 | 1 | -2/+2 |
|\ \ \ | |||||
| * | | | Fix argument constness in String::begins_with, String::ends_with | Colugo | 2021-08-22 | 1 | -2/+2 |
| | | | | |||||
* | | | | Merge pull request #595 from Calinou/add-license-headers | Rémi Verschelde | 2021-09-27 | 27 | -0/+810 |
|\ \ \ \ | |||||
| * | | | | Add license headers to all source and header files | Hugo Locurcio | 2021-08-02 | 27 | -0/+810 |
| |/ / / | | | | | | | | | | | | | | | | | | | | | This is consistent with the core Godot source code, and ensures the license isn't detached from its original code when individual files are distributed. | ||||
* / / / | Remove extraneous Error enum values that were removed in Godot 3.0 | Hugo Locurcio | 2021-08-02 | 1 | -2/+0 |
|/ / / | |||||
* / / | Fix typo in CRASH_COND leading to unexpected continuation after fail | Mai Lavelle | 2021-08-01 | 1 | -1/+1 |
|/ / | |||||
* | | Merge pull request #567 from DhruvMaroo/string | Marc | 2021-06-01 | 1 | -0/+2 |
|\ \ | | | | | | | added String's move constructor and move assignment operator | ||||
| * | | edited according to clang-format | DhruvMaroo | 2021-06-01 | 1 | -2/+2 |
| | | | |||||
| * | | removed _deleted class member | DhruvMaroo | 2021-05-31 | 1 | -1/+0 |
| | | | |||||
| * | | added class member, safety check in the destructor | DhruvMaroo | 2021-05-31 | 1 | -0/+1 |
| | | | |||||
| * | | changed spaces to tabs | DhruvMaroo | 2021-05-30 | 1 | -1/+1 |
| | | |