diff options
| author | Thomas Herzog | 2017-05-19 22:12:14 +0000 |
|---|---|---|
| committer | GitHub | 2017-05-19 22:12:14 +0000 |
| commit | 6fd217d7c3afb1f7e4c68f9ab40883593f617a7e (patch) | |
| tree | e1c16a806b9b5ec71730a5b09c2ff6a4b17bc93c /modules/gdnative/godot.h | |
| parent | a75623f436c215e107ede321afa08a1897552deb (diff) | |
| parent | abcb044bf3f197ef68715f89abec77102bbe58ec (diff) | |
| download | godot-6fd217d.tar.gz godot-6fd217d.tar.zst godot-6fd217d.zip | |
Merge pull request #8821 from touilleMan/gdnative_missing_functions
Finish implementing GDnative builtins bindings
Diffstat (limited to 'modules/gdnative/godot.h')
| -rw-r--r-- | modules/gdnative/godot.h | 33 |
1 files changed, 25 insertions, 8 deletions
diff --git a/modules/gdnative/godot.h b/modules/gdnative/godot.h index 7214ce62d..726bde0b6 100644 --- a/modules/gdnative/godot.h +++ b/modules/gdnative/godot.h @@ -139,6 +139,31 @@ typedef float godot_real; /////// Object (forward declared) typedef void godot_object; +/////// Brute force forward declarations for the rest +typedef struct godot_variant godot_variant; +typedef struct godot_string godot_string; +typedef struct godot_vector2 godot_vector2; +typedef struct godot_rect2 godot_rect2; +typedef struct godot_vector3 godot_vector3; +typedef struct godot_transform2d godot_transform2d; +typedef struct godot_plane godot_plane; +typedef struct godot_quat godot_quat; +typedef struct godot_rect3 godot_rect3; +typedef struct godot_basis godot_basis; +typedef struct godot_transform godot_transform; +typedef struct godot_color godot_color; +typedef struct godot_node_path godot_node_path; +typedef struct godot_rid godot_rid; +typedef struct godot_dictionary godot_dictionary; +typedef struct godot_array godot_array; +typedef struct godot_pool_byte_array godot_pool_byte_array; +typedef struct godot_pool_int_array godot_pool_int_array; +typedef struct godot_pool_real_array godot_pool_real_array; +typedef struct godot_pool_string_array godot_pool_string_array; +typedef struct godot_pool_vector2_array godot_pool_vector2_array; +typedef struct godot_pool_vector3_array godot_pool_vector3_array; +typedef struct godot_pool_color_array godot_pool_color_array; + /////// String #include "godot/godot_string.h" @@ -183,10 +208,6 @@ typedef void godot_object; #include "godot/godot_color.h" -/////// Image - -#include "godot/godot_image.h" - /////// NodePath #include "godot/godot_node_path.h" @@ -195,10 +216,6 @@ typedef void godot_object; #include "godot/godot_rid.h" -/////// InputEvent - -#include "godot/godot_input_event.h" - /////// Dictionary #include "godot/godot_dictionary.h" |
