godot-cpp/include/core
karroffel 200bf226bf Nativescript 1.1
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.

new and free change, custom free will crash engine, be wary

fix exporting of non-object types

fix free() crash with custom resources

added type tags and safe object casting

fix global type registration order

fix cast_to

changed build system to be more self contained

updated .gitignore

use typeid() for type tags now

fix indentation in bindings generator

remove accidentally added files

fix gitignore

Fixed up registering tool and updated godot_headers

Fix crash when calling String::split/split_floats

Was casting to the wrong object type.
Also adds parse_ints function to String with the same logic

Better warning/error macros

Change gitignore so we get our gen folders

New documentation based on nativescript 1.1

Fixed GODOT_SUBCLASS macro

Preventing crash when function returned null ptr

Adds needed include <typeinfo>

 Solves this issue #168 due to not having the include of typeinfo

Fix compile error of 'WARN_PRINT' and 'ERR_PRINT'.

cannot pass non-trivial object of type 'godot::String' to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs]

update vector3::distance_to

Remove godot_api.json as its now in the godot_headers submodule (api.json)
2018-11-07 21:23:08 +11:00
..
AABB.hpp NULL -> nullptr 2018-02-23 16:08:36 +03:00
Array.hpp adds Array::make and Dictionary::make static methods and has variadic template functions use those 2018-03-07 10:27:34 +00:00
Basis.hpp String and math fixes 2018-01-23 00:24:23 +01:00
Color.hpp updated bindings 2017-10-03 16:07:34 +05:30
CoreTypes.hpp Nativescript 1.1 2018-11-07 21:23:08 +11:00
Defs.hpp Nativescript 1.1 2018-11-07 21:23:08 +11:00
Dictionary.hpp adds Array::make and Dictionary::make static methods and has variadic template functions use those 2018-03-07 10:27:34 +00:00
Godot.hpp Nativescript 1.1 2018-11-07 21:23:08 +11:00
GodotGlobal.hpp Nativescript 1.1 2018-11-07 21:23:08 +11:00
NodePath.hpp fix #101 2018-03-02 19:04:57 +01:00
Plane.hpp Use static linking instead of dynamic linking 2017-07-23 17:53:50 +02:00
PoolArrays.hpp Fix clang warning: 'const' type qualifier on return type has no effect 2018-06-23 12:15:53 -03:00
Quat.hpp String and math fixes 2018-01-23 00:24:23 +01:00
RID.hpp Fix RID::is_valid() 2018-01-25 01:10:55 +01:00
Rect2.hpp NULL -> nullptr 2018-02-23 16:08:36 +03:00
Ref.hpp Nativescript 1.1 2018-11-07 21:23:08 +11:00
String.hpp Nativescript 1.1 2018-11-07 21:23:08 +11:00
TagDB.hpp Nativescript 1.1 2018-11-07 21:23:08 +11:00
Transform.hpp Update bindings to use new Api extensions and rename Rect3->AABB 2017-11-23 22:50:05 +11:00
Transform2D.hpp fixed forward declarations 2018-02-23 14:39:35 +03:00
Variant.hpp Nativescript 1.1 2018-11-07 21:23:08 +11:00
Vector2.hpp updated bindings 2017-10-03 16:07:34 +05:30
Vector3.hpp Use static linking instead of dynamic linking 2017-07-23 17:53:50 +02:00
Wrapped.hpp Nativescript 1.1 2018-11-07 21:23:08 +11:00