[Complex Text Layouts] Implement GDNative interface for TextServer.
This commit is contained in:
@@ -65,6 +65,7 @@ void GDAPI godot_array_new_copy(godot_array *r_dest, const godot_array *p_src);
|
||||
void GDAPI godot_array_new_packed_color_array(godot_array *r_dest, const godot_packed_color_array *p_pca);
|
||||
void GDAPI godot_array_new_packed_vector3_array(godot_array *r_dest, const godot_packed_vector3_array *p_pv3a);
|
||||
void GDAPI godot_array_new_packed_vector2_array(godot_array *r_dest, const godot_packed_vector2_array *p_pv2a);
|
||||
void GDAPI godot_array_new_packed_vector2i_array(godot_array *r_dest, const godot_packed_vector2i_array *p_pv2a);
|
||||
void GDAPI godot_array_new_packed_string_array(godot_array *r_dest, const godot_packed_string_array *p_psa);
|
||||
void GDAPI godot_array_new_packed_float32_array(godot_array *r_dest, const godot_packed_float32_array *p_pra);
|
||||
void GDAPI godot_array_new_packed_float64_array(godot_array *r_dest, const godot_packed_float64_array *p_pra);
|
||||
|
||||
@@ -114,6 +114,17 @@ typedef struct {
|
||||
} godot_packed_vector2_array;
|
||||
#endif
|
||||
|
||||
/////// PackedVector2iArray
|
||||
|
||||
#define GODOT_PACKED_VECTOR2I_ARRAY_SIZE (2 * sizeof(void *))
|
||||
|
||||
#ifndef GODOT_CORE_API_GODOT_PACKED_VECTOR2I_ARRAY_TYPE_DEFINED
|
||||
#define GODOT_CORE_API_GODOT_PACKED_VECTOR2I_ARRAY_TYPE_DEFINED
|
||||
typedef struct {
|
||||
uint8_t _dont_touch_that[GODOT_PACKED_VECTOR2I_ARRAY_SIZE];
|
||||
} godot_packed_vector2i_array;
|
||||
#endif
|
||||
|
||||
/////// PackedVector3Array
|
||||
|
||||
#define GODOT_PACKED_VECTOR3_ARRAY_SIZE (2 * sizeof(void *))
|
||||
@@ -404,6 +415,42 @@ godot_bool GDAPI godot_packed_vector2_array_empty(const godot_packed_vector2_arr
|
||||
|
||||
void GDAPI godot_packed_vector2_array_destroy(godot_packed_vector2_array *p_self);
|
||||
|
||||
// vector2i
|
||||
|
||||
void GDAPI godot_packed_vector2i_array_new(godot_packed_vector2i_array *r_dest);
|
||||
void GDAPI godot_packed_vector2i_array_new_copy(godot_packed_vector2i_array *r_dest, const godot_packed_vector2i_array *p_src);
|
||||
void GDAPI godot_packed_vector2i_array_new_with_array(godot_packed_vector2i_array *r_dest, const godot_array *p_a);
|
||||
|
||||
const godot_vector2i GDAPI *godot_packed_vector2i_array_ptr(const godot_packed_vector2i_array *p_self);
|
||||
godot_vector2i GDAPI *godot_packed_vector2i_array_ptrw(godot_packed_vector2i_array *p_self);
|
||||
|
||||
void GDAPI godot_packed_vector2i_array_append(godot_packed_vector2i_array *p_self, const godot_vector2i *p_data);
|
||||
|
||||
void GDAPI godot_packed_vector2i_array_append_array(godot_packed_vector2i_array *p_self, const godot_packed_vector2i_array *p_array);
|
||||
|
||||
godot_error GDAPI godot_packed_vector2i_array_insert(godot_packed_vector2i_array *p_self, const godot_int p_idx, const godot_vector2i *p_data);
|
||||
|
||||
godot_bool GDAPI godot_packed_vector2i_array_has(godot_packed_vector2i_array *p_self, const godot_vector2i *p_value);
|
||||
|
||||
void GDAPI godot_packed_vector2i_array_sort(godot_packed_vector2i_array *p_self);
|
||||
|
||||
void GDAPI godot_packed_vector2i_array_invert(godot_packed_vector2i_array *p_self);
|
||||
|
||||
void GDAPI godot_packed_vector2i_array_push_back(godot_packed_vector2i_array *p_self, const godot_vector2i *p_data);
|
||||
|
||||
void GDAPI godot_packed_vector2i_array_remove(godot_packed_vector2i_array *p_self, const godot_int p_idx);
|
||||
|
||||
void GDAPI godot_packed_vector2i_array_resize(godot_packed_vector2i_array *p_self, const godot_int p_size);
|
||||
|
||||
void GDAPI godot_packed_vector2i_array_set(godot_packed_vector2i_array *p_self, const godot_int p_idx, const godot_vector2i *p_data);
|
||||
godot_vector2i GDAPI godot_packed_vector2i_array_get(const godot_packed_vector2i_array *p_self, const godot_int p_idx);
|
||||
|
||||
godot_int GDAPI godot_packed_vector2i_array_size(const godot_packed_vector2i_array *p_self);
|
||||
|
||||
godot_bool GDAPI godot_packed_vector2i_array_empty(const godot_packed_vector2i_array *p_self);
|
||||
|
||||
void GDAPI godot_packed_vector2i_array_destroy(godot_packed_vector2i_array *p_self);
|
||||
|
||||
// vector3
|
||||
|
||||
void GDAPI godot_packed_vector3_array_new(godot_packed_vector3_array *r_dest);
|
||||
|
||||
Reference in New Issue
Block a user