Commit Graph

15 Commits (0a6f5d052a0d05e07ca1b7eab8e53bbd8450a991)

Author SHA1 Message Date
Bastiaan Olij b7ee774a59 Added info about the older branches to the README.md 2018-11-07 21:48:16 +11:00
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
Joe Alam 50c9ed60b1 Fix misleading typo regarding generate_bindings 2018-07-20 23:23:49 +01:00
Kowbell 2bed3eeb49 Update README.md to include compilation error fix
A PR and issue were already submitted related to this but they are dead
in the water for other reasons. I needed this fix as well, so I assume this isn't a one-off
error and that this information may be helpful to others.
2018-06-19 20:06:35 -04:00
danielytics 85e73de2e0 adds an example of registering signal with arguments to README 2018-03-07 10:34:25 +00:00
QuentinCaffeino 43f57c7f80 Bindings are generated by default; Replaced generate with regenerate flag; Updated readme 2018-02-25 16:25:42 +01:00
Nickolai Korshunov 00e1b47c6f Updated readme 2018-02-18 15:11:22 +03:00
Dharkael 67a9edba33
README: Enable cpp syntax highlighting 2018-01-29 23:05:42 +01:00
RameshRavone b8946ae829
Update README.md 2018-01-24 14:45:12 +05:30
Ramesh Ravone 50dec32bda
Updated README 2017-10-03 21:18:47 +05:30
Josh Taylor be14fd92ae Fixed typos
Multiple instances of "directory" were misspelled as "director". Fixed plural spellings.
2017-08-04 17:41:25 -04:00
Ramesh Ravone 49b0301b58
Update README.md 2017-07-26 08:50:23 +05:30
Thomas Herzog ba32738ec7 Update README.md 2017-05-30 23:13:48 +02:00
Ramesh Ravone 440a3ffa19
[GDNative] Creating Example library 2017-05-18 16:53:13 +05:30
Karroffel c5a7453a58 Create README.md 2017-03-02 23:50:27 +01:00