mirror of
https://github.com/godotengine/godot-headers.git
synced 2025-12-31 01:49:36 +03:00
updated headers
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_NATIVEARVR_H
|
||||
#define GODOT_NATIVEARVR_H
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/*************************************************************************/
|
||||
/* aabb.h */
|
||||
/* aabb.h */
|
||||
/*************************************************************************/
|
||||
/* This file is part of: */
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_AABB_H
|
||||
#define GODOT_AABB_H
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_BASIS_H
|
||||
#define GODOT_BASIS_H
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_COLOR_H
|
||||
#define GODOT_COLOR_H
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_DICTIONARY_H
|
||||
#define GODOT_DICTIONARY_H
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_GDNATIVE_H
|
||||
#define GODOT_GDNATIVE_H
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_NODE_PATH_H
|
||||
#define GODOT_NODE_PATH_H
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_PLANE_H
|
||||
#define GODOT_PLANE_H
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_POOL_ARRAYS_H
|
||||
#define GODOT_POOL_ARRAYS_H
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_QUAT_H
|
||||
#define GODOT_QUAT_H
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_RECT2_H
|
||||
#define GODOT_RECT2_H
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_RID_H
|
||||
#define GODOT_RID_H
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_STRING_H
|
||||
#define GODOT_STRING_H
|
||||
|
||||
@@ -37,13 +38,24 @@ extern "C" {
|
||||
#include <stdint.h>
|
||||
#include <wchar.h>
|
||||
|
||||
typedef wchar_t godot_char_type;
|
||||
|
||||
#define GODOT_STRING_SIZE sizeof(void *)
|
||||
#define GODOT_CHAR_STRING_SIZE sizeof(void *)
|
||||
|
||||
#ifndef GODOT_CORE_API_GODOT_STRING_TYPE_DEFINED
|
||||
#define GODOT_CORE_API_GODOT_STRING_TYPE_DEFINED
|
||||
typedef struct {
|
||||
uint8_t _dont_touch_that[GODOT_STRING_SIZE];
|
||||
} godot_string;
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef GODOT_CORE_API_GODOT_CHAR_STRING_TYPE_DEFINED
|
||||
#define GODOT_CORE_API_GODOT_CHAR_STRING_TYPE_DEFINED
|
||||
typedef struct {
|
||||
uint8_t _dont_touch_that[GODOT_CHAR_STRING_SIZE];
|
||||
} godot_char_string;
|
||||
#endif
|
||||
|
||||
// reduce extern "C" nesting for VS2013
|
||||
@@ -59,16 +71,17 @@ typedef struct {
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
godot_int GDAPI godot_char_string_length(const godot_char_string *p_cs);
|
||||
const char GDAPI *godot_char_string_get_data(const godot_char_string *p_cs);
|
||||
void GDAPI godot_char_string_destroy(godot_char_string *p_cs);
|
||||
|
||||
void GDAPI godot_string_new(godot_string *r_dest);
|
||||
void GDAPI godot_string_new_copy(godot_string *r_dest, const godot_string *p_src);
|
||||
void GDAPI godot_string_new_data(godot_string *r_dest, const char *p_contents, const int p_size);
|
||||
void GDAPI godot_string_new_unicode_data(godot_string *r_dest, const wchar_t *p_contents, const int p_size);
|
||||
|
||||
void GDAPI godot_string_get_data(const godot_string *p_self, char *p_dest, int *p_size);
|
||||
void GDAPI godot_string_new_with_wide_string(godot_string *r_dest, const wchar_t *p_contents, const int p_size);
|
||||
|
||||
wchar_t GDAPI *godot_string_operator_index(godot_string *p_self, const godot_int p_idx);
|
||||
wchar_t GDAPI godot_string_operator_index_const(const godot_string *p_self, const godot_int p_idx);
|
||||
const wchar_t GDAPI *godot_string_unicode_str(const godot_string *p_self);
|
||||
const wchar_t GDAPI *godot_string_wide_str(const godot_string *p_self);
|
||||
|
||||
godot_bool GDAPI godot_string_operator_equal(const godot_string *p_self, const godot_string *p_b);
|
||||
godot_bool GDAPI godot_string_operator_less(const godot_string *p_self, const godot_string *p_b);
|
||||
@@ -80,6 +93,10 @@ godot_int GDAPI godot_string_length(const godot_string *p_self);
|
||||
|
||||
/* Helpers */
|
||||
|
||||
signed char GDAPI godot_string_casecmp_to(const godot_string *p_self, const godot_string *p_str);
|
||||
signed char GDAPI godot_string_nocasecmp_to(const godot_string *p_self, const godot_string *p_str);
|
||||
signed char GDAPI godot_string_naturalnocasecmp_to(const godot_string *p_self, const godot_string *p_str);
|
||||
|
||||
godot_bool GDAPI godot_string_begins_with(const godot_string *p_self, const godot_string *p_string);
|
||||
godot_bool GDAPI godot_string_begins_with_char_array(const godot_string *p_self, const char *p_char_array);
|
||||
godot_array GDAPI godot_string_bigrams(const godot_string *p_self);
|
||||
@@ -176,9 +193,9 @@ godot_string GDAPI godot_string_strip_escapes(const godot_string *p_self);
|
||||
|
||||
void GDAPI godot_string_erase(godot_string *p_self, godot_int p_pos, godot_int p_chars);
|
||||
|
||||
void GDAPI godot_string_ascii(godot_string *p_self, char *result);
|
||||
void GDAPI godot_string_ascii_extended(godot_string *p_self, char *result);
|
||||
void GDAPI godot_string_utf8(godot_string *p_self, char *result);
|
||||
godot_char_string GDAPI godot_string_ascii(const godot_string *p_self);
|
||||
godot_char_string GDAPI godot_string_ascii_extended(const godot_string *p_self);
|
||||
godot_char_string GDAPI godot_string_utf8(const godot_string *p_self);
|
||||
godot_bool GDAPI godot_string_parse_utf8(godot_string *p_self, const char *p_utf8);
|
||||
godot_bool GDAPI godot_string_parse_utf8_with_len(godot_string *p_self, const char *p_utf8, godot_int p_len);
|
||||
godot_string GDAPI godot_string_chars_to_utf8(const char *p_utf8);
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/*************************************************************************/
|
||||
/* string_name.h */
|
||||
/* string_name.h */
|
||||
/*************************************************************************/
|
||||
/* This file is part of: */
|
||||
/* GODOT ENGINE */
|
||||
/* http://www.godotengine.org */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_STRING_NAME_H
|
||||
#define GODOT_STRING_NAME_H
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_TRANSFORM_H
|
||||
#define GODOT_TRANSFORM_H
|
||||
|
||||
@@ -63,10 +64,10 @@ void GDAPI godot_transform_new_with_axis_origin(godot_transform *r_dest, const g
|
||||
void GDAPI godot_transform_new(godot_transform *r_dest, const godot_basis *p_basis, const godot_vector3 *p_origin);
|
||||
|
||||
godot_basis GDAPI godot_transform_get_basis(const godot_transform *p_self);
|
||||
void GDAPI godot_transform_set_basis(godot_transform *p_self, godot_basis *p_v);
|
||||
void GDAPI godot_transform_set_basis(godot_transform *p_self, const godot_basis *p_v);
|
||||
|
||||
godot_vector3 GDAPI godot_transform_get_origin(const godot_transform *p_self);
|
||||
void GDAPI godot_transform_set_origin(godot_transform *p_self, godot_vector3 *p_v);
|
||||
void GDAPI godot_transform_set_origin(godot_transform *p_self, const godot_vector3 *p_v);
|
||||
|
||||
godot_string GDAPI godot_transform_as_string(const godot_transform *p_self);
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_TRANSFORM2D_H
|
||||
#define GODOT_TRANSFORM2D_H
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_VARIANT_H
|
||||
#define GODOT_VARIANT_H
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_VECTOR2_H
|
||||
#define GODOT_VECTOR2_H
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_VECTOR3_H
|
||||
#define GODOT_VECTOR3_H
|
||||
|
||||
|
||||
@@ -387,7 +387,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_vector2_operator_substract",
|
||||
"name": "godot_vector2_operator_subtract",
|
||||
"return_type": "godot_vector2",
|
||||
"arguments": [
|
||||
["const godot_vector2 *", "p_self"],
|
||||
@@ -663,7 +663,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_quat_operator_substract",
|
||||
"name": "godot_quat_operator_subtract",
|
||||
"return_type": "godot_quat",
|
||||
"arguments": [
|
||||
["const godot_quat *", "p_self"],
|
||||
@@ -907,7 +907,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_basis_operator_substract",
|
||||
"name": "godot_basis_operator_subtract",
|
||||
"return_type": "godot_basis",
|
||||
"arguments": [
|
||||
["const godot_basis *", "p_self"],
|
||||
@@ -1142,7 +1142,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_vector3_operator_substract",
|
||||
"name": "godot_vector3_operator_subtract",
|
||||
"return_type": "godot_vector3",
|
||||
"arguments": [
|
||||
["const godot_vector3 *", "p_self"],
|
||||
@@ -3516,7 +3516,7 @@
|
||||
"return_type": "void",
|
||||
"arguments": [
|
||||
["godot_transform *", "p_self"],
|
||||
["godot_basis *", "p_v"]
|
||||
["const godot_basis *", "p_v"]
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -3531,7 +3531,7 @@
|
||||
"return_type": "void",
|
||||
"arguments": [
|
||||
["godot_transform *", "p_self"],
|
||||
["godot_vector3 *", "p_v"]
|
||||
["const godot_vector3 *", "p_v"]
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -4323,6 +4323,27 @@
|
||||
["godot_variant *", "p_self"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_char_string_length",
|
||||
"return_type": "godot_int",
|
||||
"arguments": [
|
||||
["const godot_char_string *", "p_cs"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_char_string_get_data",
|
||||
"return_type": "const char *",
|
||||
"arguments": [
|
||||
["const godot_char_string *", "p_cs"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_char_string_destroy",
|
||||
"return_type": "void",
|
||||
"arguments": [
|
||||
["godot_char_string *", "p_cs"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_string_new",
|
||||
"return_type": "void",
|
||||
@@ -4339,16 +4360,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_string_new_data",
|
||||
"return_type": "void",
|
||||
"arguments": [
|
||||
["godot_string *", "r_dest"],
|
||||
["const char *", "p_contents"],
|
||||
["const int", "p_size"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_string_new_unicode_data",
|
||||
"name": "godot_string_new_with_wide_string",
|
||||
"return_type": "void",
|
||||
"arguments": [
|
||||
["godot_string *", "r_dest"],
|
||||
@@ -4356,15 +4368,6 @@
|
||||
["const int", "p_size"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_string_get_data",
|
||||
"return_type": "void",
|
||||
"arguments": [
|
||||
["const godot_string *", "p_self"],
|
||||
["char *", "p_dest"],
|
||||
["int *", "p_size"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_string_operator_index",
|
||||
"return_type": "wchar_t *",
|
||||
@@ -4382,7 +4385,7 @@
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_string_unicode_str",
|
||||
"name": "godot_string_wide_str",
|
||||
"return_type": "const wchar_t *",
|
||||
"arguments": [
|
||||
["const godot_string *", "p_self"]
|
||||
@@ -4419,6 +4422,30 @@
|
||||
["const godot_string *", "p_self"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_string_casecmp_to",
|
||||
"return_type": "signed char",
|
||||
"arguments": [
|
||||
["const godot_string *", "p_self"],
|
||||
["const godot_string *", "p_str"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_string_nocasecmp_to",
|
||||
"return_type": "signed char",
|
||||
"arguments": [
|
||||
["const godot_string *", "p_self"],
|
||||
["const godot_string *", "p_str"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_string_naturalnocasecmp_to",
|
||||
"return_type": "signed char",
|
||||
"arguments": [
|
||||
["const godot_string *", "p_self"],
|
||||
["const godot_string *", "p_str"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_string_begins_with",
|
||||
"return_type": "godot_bool",
|
||||
@@ -5125,26 +5152,23 @@
|
||||
},
|
||||
{
|
||||
"name": "godot_string_ascii",
|
||||
"return_type": "void",
|
||||
"return_type": "godot_char_string",
|
||||
"arguments": [
|
||||
["godot_string *", "p_self"],
|
||||
["char *", "result"]
|
||||
["const godot_string *", "p_self"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_string_ascii_extended",
|
||||
"return_type": "void",
|
||||
"return_type": "godot_char_string",
|
||||
"arguments": [
|
||||
["godot_string *", "p_self"],
|
||||
["char *", "result"]
|
||||
["const godot_string *", "p_self"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_string_utf8",
|
||||
"return_type": "void",
|
||||
"return_type": "godot_char_string",
|
||||
"arguments": [
|
||||
["godot_string *", "p_self"],
|
||||
["char *", "result"]
|
||||
["const godot_string *", "p_self"]
|
||||
]
|
||||
},
|
||||
{
|
||||
@@ -5568,6 +5592,12 @@
|
||||
["const char *", "p_classname"]
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_get_global_constants",
|
||||
"return_type": "godot_dictionary",
|
||||
"arguments": [
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "godot_register_native_call_type",
|
||||
"return_type": "void",
|
||||
|
||||
@@ -532,9 +532,9 @@ typedef struct godot_gdnative_core_api_struct {
|
||||
void (*godot_transform_new_with_axis_origin)(godot_transform *r_dest, const godot_vector3 *p_x_axis, const godot_vector3 *p_y_axis, const godot_vector3 *p_z_axis, const godot_vector3 *p_origin);
|
||||
void (*godot_transform_new)(godot_transform *r_dest, const godot_basis *p_basis, const godot_vector3 *p_origin);
|
||||
godot_basis (*godot_transform_get_basis)(const godot_transform *p_self);
|
||||
void (*godot_transform_set_basis)(godot_transform *p_self, godot_basis *p_v);
|
||||
void (*godot_transform_set_basis)(godot_transform *p_self, const godot_basis *p_v);
|
||||
godot_vector3 (*godot_transform_get_origin)(const godot_transform *p_self);
|
||||
void (*godot_transform_set_origin)(godot_transform *p_self, godot_vector3 *p_v);
|
||||
void (*godot_transform_set_origin)(godot_transform *p_self, const godot_vector3 *p_v);
|
||||
godot_string (*godot_transform_as_string)(const godot_transform *p_self);
|
||||
godot_transform (*godot_transform_inverse)(const godot_transform *p_self);
|
||||
godot_transform (*godot_transform_affine_inverse)(const godot_transform *p_self);
|
||||
@@ -638,18 +638,22 @@ typedef struct godot_gdnative_core_api_struct {
|
||||
godot_bool (*godot_variant_hash_compare)(const godot_variant *p_self, const godot_variant *p_other);
|
||||
godot_bool (*godot_variant_booleanize)(const godot_variant *p_self);
|
||||
void (*godot_variant_destroy)(godot_variant *p_self);
|
||||
godot_int (*godot_char_string_length)(const godot_char_string *p_cs);
|
||||
const char *(*godot_char_string_get_data)(const godot_char_string *p_cs);
|
||||
void (*godot_char_string_destroy)(godot_char_string *p_cs);
|
||||
void (*godot_string_new)(godot_string *r_dest);
|
||||
void (*godot_string_new_copy)(godot_string *r_dest, const godot_string *p_src);
|
||||
void (*godot_string_new_data)(godot_string *r_dest, const char *p_contents, const int p_size);
|
||||
void (*godot_string_new_unicode_data)(godot_string *r_dest, const wchar_t *p_contents, const int p_size);
|
||||
void (*godot_string_get_data)(const godot_string *p_self, char *p_dest, int *p_size);
|
||||
void (*godot_string_new_with_wide_string)(godot_string *r_dest, const wchar_t *p_contents, const int p_size);
|
||||
wchar_t *(*godot_string_operator_index)(godot_string *p_self, const godot_int p_idx);
|
||||
wchar_t (*godot_string_operator_index_const)(const godot_string *p_self, const godot_int p_idx);
|
||||
const wchar_t *(*godot_string_unicode_str)(const godot_string *p_self);
|
||||
const wchar_t *(*godot_string_wide_str)(const godot_string *p_self);
|
||||
godot_bool (*godot_string_operator_equal)(const godot_string *p_self, const godot_string *p_b);
|
||||
godot_bool (*godot_string_operator_less)(const godot_string *p_self, const godot_string *p_b);
|
||||
godot_string (*godot_string_operator_plus)(const godot_string *p_self, const godot_string *p_b);
|
||||
godot_int (*godot_string_length)(const godot_string *p_self);
|
||||
signed char (*godot_string_casecmp_to)(const godot_string *p_self, const godot_string *p_str);
|
||||
signed char (*godot_string_nocasecmp_to)(const godot_string *p_self, const godot_string *p_str);
|
||||
signed char (*godot_string_naturalnocasecmp_to)(const godot_string *p_self, const godot_string *p_str);
|
||||
godot_bool (*godot_string_begins_with)(const godot_string *p_self, const godot_string *p_string);
|
||||
godot_bool (*godot_string_begins_with_char_array)(const godot_string *p_self, const char *p_char_array);
|
||||
godot_array (*godot_string_bigrams)(const godot_string *p_self);
|
||||
@@ -739,9 +743,9 @@ typedef struct godot_gdnative_core_api_struct {
|
||||
godot_string (*godot_string_strip_edges)(const godot_string *p_self, godot_bool p_left, godot_bool p_right);
|
||||
godot_string (*godot_string_strip_escapes)(const godot_string *p_self);
|
||||
void (*godot_string_erase)(godot_string *p_self, godot_int p_pos, godot_int p_chars);
|
||||
void (*godot_string_ascii)(godot_string *p_self, char *result);
|
||||
void (*godot_string_ascii_extended)(godot_string *p_self, char *result);
|
||||
void (*godot_string_utf8)(godot_string *p_self, char *result);
|
||||
godot_char_string (*godot_string_ascii)(const godot_string *p_self);
|
||||
godot_char_string (*godot_string_ascii_extended)(const godot_string *p_self);
|
||||
godot_char_string (*godot_string_utf8)(const godot_string *p_self);
|
||||
godot_bool (*godot_string_parse_utf8)(godot_string *p_self, const char *p_utf8);
|
||||
godot_bool (*godot_string_parse_utf8_with_len)(godot_string *p_self, const char *p_utf8, godot_int p_len);
|
||||
godot_string (*godot_string_chars_to_utf8)(const char *p_utf8);
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_NATIVESCRIPT_H
|
||||
#define GODOT_NATIVESCRIPT_H
|
||||
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
/*************************************************************************/
|
||||
/* godot_nativescript.h */
|
||||
/* godot_pluginscript.h */
|
||||
/*************************************************************************/
|
||||
/* This file is part of: */
|
||||
/* GODOT ENGINE */
|
||||
/* https://godotengine.org */
|
||||
/*************************************************************************/
|
||||
/* Copyright (c) 2007-2017 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2017 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
||||
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
||||
/* */
|
||||
/* Permission is hereby granted, free of charge, to any person obtaining */
|
||||
/* a copy of this software and associated documentation files (the */
|
||||
@@ -27,6 +27,7 @@
|
||||
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
||||
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||
/*************************************************************************/
|
||||
|
||||
#ifndef GODOT_PLUGINSCRIPT_H
|
||||
#define GODOT_PLUGINSCRIPT_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user