Commit Graph

2 Commits (38da87fc0b90b663a60456b85ddf617f7d80493a)

Author SHA1 Message Date
karroffel 982e77620c changed build system to be more self contained 2018-07-25 14:10:30 +02:00
karroffel e9517a7b3b implemented instance binding data usage
This commit changes the way C++ wrapper classes work.
Previously, wrapper classes were merely wrapper *interfaces*.
They used the `this` pointer to store the actual foreign Godot
Object.

With the NativeScript 1.1 extension it is now possible to have
low-overhead language binding data attached to Objects.

The C++ bindings use that feature to implement *proper* wrappers
and enable regular C++ inheritance usage that way.

Some things might still be buggy and untested, but the C++
SimpleDemo works with those changes.
2018-07-25 14:06:08 +02:00