|
@@ -146,100 +146,74 @@ 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/string.h>
|
|
|
+#include <gdnative/string.h>
|
|
|
|
|
|
////// Vector2
|
|
|
|
|
|
-#include <godot/vector2.h>
|
|
|
+#include <gdnative/vector2.h>
|
|
|
|
|
|
////// Rect2
|
|
|
|
|
|
-#include <godot/rect2.h>
|
|
|
+#include <gdnative/rect2.h>
|
|
|
|
|
|
////// Vector3
|
|
|
|
|
|
-#include <godot/vector3.h>
|
|
|
+#include <gdnative/vector3.h>
|
|
|
|
|
|
////// Transform2D
|
|
|
|
|
|
-#include <godot/transform2d.h>
|
|
|
+#include <gdnative/transform2d.h>
|
|
|
|
|
|
/////// Plane
|
|
|
|
|
|
-#include <godot/plane.h>
|
|
|
+#include <gdnative/plane.h>
|
|
|
|
|
|
/////// Quat
|
|
|
|
|
|
-#include <godot/quat.h>
|
|
|
+#include <gdnative/quat.h>
|
|
|
|
|
|
/////// Rect3
|
|
|
|
|
|
-#include <godot/rect3.h>
|
|
|
+#include <gdnative/rect3.h>
|
|
|
|
|
|
/////// Basis
|
|
|
|
|
|
-#include <godot/basis.h>
|
|
|
+#include <gdnative/basis.h>
|
|
|
|
|
|
/////// Transform
|
|
|
|
|
|
-#include <godot/transform.h>
|
|
|
+#include <gdnative/transform.h>
|
|
|
|
|
|
/////// Color
|
|
|
|
|
|
-#include <godot/color.h>
|
|
|
+#include <gdnative/color.h>
|
|
|
|
|
|
/////// NodePath
|
|
|
|
|
|
-#include <godot/node_path.h>
|
|
|
+#include <gdnative/node_path.h>
|
|
|
|
|
|
/////// RID
|
|
|
|
|
|
-#include <godot/rid.h>
|
|
|
+#include <gdnative/rid.h>
|
|
|
|
|
|
/////// Dictionary
|
|
|
|
|
|
-#include <godot/dictionary.h>
|
|
|
+#include <gdnative/dictionary.h>
|
|
|
|
|
|
/////// Array
|
|
|
|
|
|
-#include <godot/array.h>
|
|
|
+#include <gdnative/array.h>
|
|
|
|
|
|
// single API file for Pool*Array
|
|
|
-#include <godot/pool_arrays.h>
|
|
|
+#include <gdnative/pool_arrays.h>
|
|
|
|
|
|
void GDAPI godot_object_destroy(godot_object *p_o);
|
|
|
|
|
|
////// Variant
|
|
|
|
|
|
-#include <godot/variant.h>
|
|
|
+#include <gdnative/variant.h>
|
|
|
|
|
|
////// Singleton API
|
|
|
|