Compare commits

..

1 Commits

Author SHA1 Message Date
Rémi Verschelde
9aea2a115d Sync API with upstream 3.6 commit de2f0f147 (3.6-stable) 2026-01-08 13:16:53 +01:00
7 changed files with 8521 additions and 3194 deletions

View File

@@ -1,6 +1,6 @@
# MIT License
Copyright (c) 2017-present Godot Engine contributors.
Copyright (c) 2017-2022 Godot Engine contributors.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal

11667
api.json

File diff suppressed because it is too large Load Diff

View File

@@ -37,20 +37,24 @@ extern "C" {
#if defined(_WIN32) || defined(__ANDROID__)
#define GDCALLINGCONV
#define GDAPI GDCALLINGCONV
#elif defined(__APPLE__)
#include "TargetConditionals.h"
#if TARGET_OS_IPHONE
#define GDCALLINGCONV __attribute__((visibility("default")))
#define GDAPI GDCALLINGCONV
#elif TARGET_OS_MAC
#define GDCALLINGCONV __attribute__((sysv_abi))
#define GDAPI GDCALLINGCONV
#endif
#else // !_WIN32 && !__APPLE__
#else // Linux/BSD/Web
#if defined(__aarch64__) || defined(__arm__) || defined(__riscv)
#define GDCALLINGCONV
#else
#define GDCALLINGCONV __attribute__((sysv_abi))
#define GDAPI GDCALLINGCONV
#endif
#endif
#define GDAPI GDCALLINGCONV
// This is for libraries *using* the header, NOT GODOT EXPOSING STUFF!!
#if !defined(GDN_EXPORT)

View File

@@ -74,6 +74,8 @@ godot_vector2 GDAPI godot_transform2d_get_origin(const godot_transform2d *p_self
godot_vector2 GDAPI godot_transform2d_get_scale(const godot_transform2d *p_self);
godot_real GDAPI godot_transform2d_determinant(const godot_transform2d *p_self);
godot_transform2d GDAPI godot_transform2d_orthonormalized(const godot_transform2d *p_self);
godot_transform2d GDAPI godot_transform2d_rotated(const godot_transform2d *p_self, const godot_real p_phi);

View File

@@ -23,7 +23,23 @@
"major": 1,
"minor": 3
},
"next": null,
"next": {
"type": "CORE",
"version": {
"major": 1,
"minor": 4
},
"next": null,
"api": [
{
"name": "godot_transform2d_determinant",
"return_type": "godot_real",
"arguments": [
["const godot_transform2d *", "p_self"]
]
}
]
},
"api": [
{
"name": "godot_dictionary_merge",

View File

@@ -157,6 +157,13 @@ typedef struct godot_gdnative_ext_net_api_struct {
void (*godot_net_bind_multiplayer_peer)(godot_object *p_obj, const godot_net_multiplayer_peer *p_interface);
} godot_gdnative_ext_net_api_struct;
typedef struct godot_gdnative_core_1_4_api_struct {
unsigned int type;
godot_gdnative_api_version version;
const godot_gdnative_api_struct *next;
godot_real (*godot_transform2d_determinant)(const godot_transform2d *p_self);
} godot_gdnative_core_1_4_api_struct;
typedef struct godot_gdnative_core_1_3_api_struct {
unsigned int type;
godot_gdnative_api_version version;

View File

@@ -86,6 +86,11 @@ typedef enum {
GODOT_PROPERTY_HINT_PROPERTY_OF_BASE_TYPE, ///< a property of a base type
GODOT_PROPERTY_HINT_PROPERTY_OF_INSTANCE, ///< a property of an instance
GODOT_PROPERTY_HINT_PROPERTY_OF_SCRIPT, ///< a property of a script & base
GODOT_PROPERTY_HINT_OBJECT_TOO_BIG, ///< object is too big to send
GODOT_PROPERTY_HINT_NODE_PATH_VALID_TYPES,
GODOT_PROPERTY_HINT_SAVE_FILE, ///< a file path must be passed, hint_text (optionally) is a filter "*.png,*.wav,*.doc,". This opens a save dialog
GODOT_PROPERTY_HINT_ENUM_SUGGESTION, ///< hint_text= "val1,val2,val3,etc"
GODOT_PROPERTY_HINT_LOCALE_ID,
GODOT_PROPERTY_HINT_MAX,
} godot_property_hint;