Commit Graph

234 Commits

Author SHA1 Message Date
Bastiaan Olij
783016677e Merge pull request #190 from lupoDharkael/vector3
Vector3: add missing methods
2018-11-22 22:02:09 +11:00
Thomas Herzog
3a64f81cb7 Merge pull request #191 from clayjohn/nativescript-1.1
Fix Vector3.distance_to
2018-10-26 08:51:08 +02:00
clayjohn
db29a85102 update vector3::distance_to 2018-10-25 09:50:53 -07:00
lupoDharkael
04637d8697 Vector3: add missing methods 2018-10-18 18:32:38 +02:00
Thomas Herzog
b4ab2d2d9b Merge pull request #186 from xfxdev/nativescript-1.1
Fix compile error of 'WARN_PRINT' and 'ERR_PRINT'.
2018-10-06 14:34:11 +02:00
xfx
e909f800d0 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]
2018-10-06 07:33:05 +08:00
Bastiaan Olij
c6da2c0abe Merge pull request #179 from BastiaanOlij/improve_platform_check
Improved platform checks
2018-09-01 21:51:50 +10:00
Bastiaan Olij
37fabf7e92 Improved platform checks 2018-09-01 21:46:18 +10:00
Thomas Herzog
f7fafbbba4 Merge pull request #170 from mundusnine/patch-1
Adds needed include <typeinfo>
2018-08-15 08:58:03 +02:00
mundusnine
d7236d3504 Adds needed include <typeinfo>
Solves this issue #168 due to not having the include of typeinfo
2018-08-14 16:00:46 -04:00
Thomas Herzog
12aeafd083 Merge pull request #165 from BastiaanOlij/check_nullptr_on_bindingdata
Preventing crash when function returned null ptr
2018-08-05 08:43:35 +02:00
Bastiaan Olij
7c5a1eab11 Preventing crash when function returned null ptr 2018-08-05 14:22:19 +10:00
Thomas Herzog
6d48282187 Merge pull request #162 from BastiaanOlij/fix_subclass
Fixed GODOT_SUBCLASS macro
2018-07-30 14:59:49 +02:00
Bastiaan Olij
0a3fb023d5 Fixed GODOT_SUBCLASS macro 2018-07-30 21:44:24 +10:00
Bastiaan Olij
40a8b38149 Merge pull request #157 from BastiaanOlij/empty_gen
Change gitignore so we get our gen folders
2018-07-29 16:00:28 +10:00
Thomas Herzog
915bc295bd Merge pull request #158 from BastiaanOlij/new_docs
New documentation based on nativescript 1.1
2018-07-28 18:55:25 +02:00
Bastiaan Olij
895dd3a581 New documentation based on nativescript 1.1 2018-07-28 23:48:56 +10:00
Bastiaan Olij
4e74c6373b Change gitignore so we get our gen folders 2018-07-28 22:56:15 +10:00
Thomas Herzog
b2c4d91f4b Merge pull request #150 from Faless/fix_crashes
Fix String::split[_floats] crashes, better error macros
2018-07-26 16:46:13 +02:00
Fabio Alessandrelli
e37b186b57 Better warning/error macros 2018-07-26 15:45:14 +02:00
Fabio Alessandrelli
ec2a9345bd 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
2018-07-26 15:45:14 +02:00
Bastiaan Olij
2ed8e3e217 Merge pull request #155 from BastiaanOlij/fix_register_tool
Fixed up registering tool and updated godot_headers
2018-07-26 22:00:44 +10:00
Bastiaan Olij
75036c5f05 Fixed up registering tool and updated godot_headers 2018-07-26 21:46:59 +10:00
karroffel
b4c7a98d31 fix gitignore 2018-07-25 14:32:27 +02:00
karroffel
7044f45409 remove accidentally added files 2018-07-25 14:29:53 +02:00
karroffel
7fc6a8b98d fix indentation in bindings generator 2018-07-25 14:29:17 +02:00
karroffel
38da87fc0b use typeid() for type tags now 2018-07-25 14:11:40 +02:00
karroffel
1a2afca8af updated .gitignore 2018-07-25 14:11:19 +02:00
karroffel
982e77620c changed build system to be more self contained 2018-07-25 14:10:30 +02:00
karroffel
d420613bd2 fix cast_to 2018-07-25 14:06:34 +02:00
karroffel
b3d705c898 fix global type registration order 2018-07-25 14:06:34 +02:00
karroffel
dabc96ebd9 added type tags and safe object casting 2018-07-25 14:06:34 +02:00
karroffel
37abbe0c09 fix free() crash with custom resources 2018-07-25 14:06:34 +02:00
karroffel
cff59a572e fix exporting of non-object types 2018-07-25 14:06:34 +02:00
karroffel
a4a9a16001 new and free change, custom free will crash engine, be wary 2018-07-25 14:06:34 +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
Bastiaan Olij
499300ea6a Merge pull request #153 from BastiaanOlij/update_godot_headers_20180725
Update godot_headers to latest master (Godot 3.1)
2018-07-25 21:38:09 +10:00
Bastiaan Olij
4ea54ad58e Update godot_headers to latest master (Godot 3.1) 2018-07-25 21:36:00 +10:00
Thomas Herzog
09409f5c37 Merge pull request #152 from joealam/master
(README) Fix misleading typo regarding generate_bindings
2018-07-23 09:22:08 +02:00
Joe Alam
50c9ed60b1 Fix misleading typo regarding generate_bindings 2018-07-20 23:23:49 +01:00
Thomas Herzog
02bb4ffad9 Merge pull request #145 from BastiaanOlij/json_303
Added godot_api.json from official 3.0.3 release
2018-07-06 14:36:22 +02:00
Thomas Herzog
88ec502970 Merge pull request #148 from marcelofg55/fix_return_const
Fix clang warning: 'const' type qualifier on return type has no effect
2018-06-24 00:11:39 +02:00
Marcelo Fernandez
baddc2ae66 Fix clang warning: 'const' type qualifier on return type has no effect 2018-06-23 12:15:53 -03:00
Thomas Herzog
5b7fff2bf0 Merge pull request #147 from Kowbell/master
Update README.md to include compilation error fix
2018-06-20 10:31:58 +02: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
Bastiaan Olij
0c3fd55458 Added godot_api.json from official 3.0.3 release 2018-06-15 23:12:51 +10:00
Thomas Herzog
74d0106a76 Merge pull request #139 from BastiaanOlij/fix_submodule
fix submodule link
2018-06-04 15:08:55 +02:00
Bastiaan Olij
c60a249862 fix submodule link 2018-06-04 21:56:49 +10:00
karroffel
94ec311924 better debugging experience on linux 2018-05-16 13:25:53 +02:00
karroffel
684a06daf2 included godot_headers as submodule 2018-05-16 02:11:41 +02:00