headers: Sync with upstream commit 9904a9db5

pull/788/head
Rémi Verschelde 2022-07-15 09:57:17 +02:00
parent c0fead40e9
commit 17c1d1fd50
1 changed files with 154 additions and 112 deletions

View File

@ -3,9 +3,9 @@
"version_major": 4, "version_major": 4,
"version_minor": 0, "version_minor": 0,
"version_patch": 0, "version_patch": 0,
"version_status": "alpha12", "version_status": "alpha",
"version_build": "official", "version_build": "custom_build",
"version_full_name": "Godot Engine v4.0.alpha12.official" "version_full_name": "Godot Engine v4.0.alpha.custom_build"
}, },
"builtin_class_sizes": [ "builtin_class_sizes": [
{ {
@ -3413,6 +3413,10 @@
"name": "PROPERTY_USAGE_SUBGROUP", "name": "PROPERTY_USAGE_SUBGROUP",
"value": 256 "value": 256
}, },
{
"name": "PROPERTY_USAGE_CLASS_IS_BITFIELD",
"value": 512
},
{ {
"name": "PROPERTY_USAGE_NO_INSTANCE_STATE", "name": "PROPERTY_USAGE_NO_INSTANCE_STATE",
"value": 1024 "value": 1024
@ -55763,7 +55767,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 1614871041, "hash": 2853740748,
"arguments": [ "arguments": [
{ {
"name": "font", "name": "font",
@ -55800,9 +55804,8 @@
"default_value": "Color(1, 1, 1, 1)" "default_value": "Color(1, 1, 1, 1)"
}, },
{ {
"name": "flags", "name": "jst_flags",
"type": "int", "type": "bitfield::TextServer.JustificationFlag",
"meta": "uint16",
"default_value": "3" "default_value": "3"
}, },
{ {
@ -55823,7 +55826,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 732249721, "hash": 3563325278,
"arguments": [ "arguments": [
{ {
"name": "font", "name": "font",
@ -55866,10 +55869,14 @@
"default_value": "Color(1, 1, 1, 1)" "default_value": "Color(1, 1, 1, 1)"
}, },
{ {
"name": "flags", "name": "brk_flags",
"type": "int", "type": "bitfield::TextServer.LineBreakFlag",
"meta": "uint16", "default_value": "3"
"default_value": "99" },
{
"name": "jst_flags",
"type": "bitfield::TextServer.JustificationFlag",
"default_value": "3"
}, },
{ {
"name": "direction", "name": "direction",
@ -55889,7 +55896,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 2688642466, "hash": 2218291162,
"arguments": [ "arguments": [
{ {
"name": "font", "name": "font",
@ -55932,9 +55939,8 @@
"default_value": "Color(1, 1, 1, 1)" "default_value": "Color(1, 1, 1, 1)"
}, },
{ {
"name": "flags", "name": "jst_flags",
"type": "int", "type": "bitfield::TextServer.JustificationFlag",
"meta": "uint16",
"default_value": "3" "default_value": "3"
}, },
{ {
@ -55955,7 +55961,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 1462333669, "hash": 696040085,
"arguments": [ "arguments": [
{ {
"name": "font", "name": "font",
@ -56004,10 +56010,14 @@
"default_value": "Color(1, 1, 1, 1)" "default_value": "Color(1, 1, 1, 1)"
}, },
{ {
"name": "flags", "name": "brk_flags",
"type": "int", "type": "bitfield::TextServer.LineBreakFlag",
"meta": "uint16", "default_value": "3"
"default_value": "99" },
{
"name": "jst_flags",
"type": "bitfield::TextServer.JustificationFlag",
"default_value": "3"
}, },
{ {
"name": "direction", "name": "direction",
@ -89336,10 +89346,9 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 3905245786, "hash": 2520224254,
"return_value": { "return_value": {
"type": "int", "type": "bitfield::TextServer.FontStyle"
"meta": "uint32"
} }
}, },
{ {
@ -89397,7 +89406,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 2331164061, "hash": 3678918099,
"return_value": { "return_value": {
"type": "Vector2" "type": "Vector2"
}, },
@ -89424,9 +89433,8 @@
"default_value": "16" "default_value": "16"
}, },
{ {
"name": "flags", "name": "jst_flags",
"type": "int", "type": "bitfield::TextServer.JustificationFlag",
"meta": "uint16",
"default_value": "3" "default_value": "3"
}, },
{ {
@ -89447,7 +89455,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 3379992431, "hash": 2427690650,
"return_value": { "return_value": {
"type": "Vector2" "type": "Vector2"
}, },
@ -89480,10 +89488,14 @@
"default_value": "-1" "default_value": "-1"
}, },
{ {
"name": "flags", "name": "brk_flags",
"type": "int", "type": "bitfield::TextServer.LineBreakFlag",
"meta": "uint16", "default_value": "3"
"default_value": "96" },
{
"name": "jst_flags",
"type": "bitfield::TextServer.JustificationFlag",
"default_value": "3"
}, },
{ {
"name": "direction", "name": "direction",
@ -89503,7 +89515,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 138580444, "hash": 1845275776,
"arguments": [ "arguments": [
{ {
"name": "canvas_item", "name": "canvas_item",
@ -89540,9 +89552,8 @@
"default_value": "Color(1, 1, 1, 1)" "default_value": "Color(1, 1, 1, 1)"
}, },
{ {
"name": "flags", "name": "jst_flags",
"type": "int", "type": "bitfield::TextServer.JustificationFlag",
"meta": "uint16",
"default_value": "3" "default_value": "3"
}, },
{ {
@ -89563,7 +89574,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 940169859, "hash": 75068056,
"arguments": [ "arguments": [
{ {
"name": "canvas_item", "name": "canvas_item",
@ -89606,10 +89617,14 @@
"default_value": "Color(1, 1, 1, 1)" "default_value": "Color(1, 1, 1, 1)"
}, },
{ {
"name": "flags", "name": "brk_flags",
"type": "int", "type": "bitfield::TextServer.LineBreakFlag",
"meta": "uint16", "default_value": "3"
"default_value": "99" },
{
"name": "jst_flags",
"type": "bitfield::TextServer.JustificationFlag",
"default_value": "3"
}, },
{ {
"name": "direction", "name": "direction",
@ -89629,7 +89644,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 2847927244, "hash": 1078083147,
"arguments": [ "arguments": [
{ {
"name": "canvas_item", "name": "canvas_item",
@ -89672,9 +89687,8 @@
"default_value": "Color(1, 1, 1, 1)" "default_value": "Color(1, 1, 1, 1)"
}, },
{ {
"name": "flags", "name": "jst_flags",
"type": "int", "type": "bitfield::TextServer.JustificationFlag",
"meta": "uint16",
"default_value": "3" "default_value": "3"
}, },
{ {
@ -89695,7 +89709,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 1121509675, "hash": 3263989537,
"arguments": [ "arguments": [
{ {
"name": "canvas_item", "name": "canvas_item",
@ -89744,10 +89758,14 @@
"default_value": "Color(1, 1, 1, 1)" "default_value": "Color(1, 1, 1, 1)"
}, },
{ {
"name": "flags", "name": "brk_flags",
"type": "int", "type": "bitfield::TextServer.LineBreakFlag",
"meta": "uint16", "default_value": "3"
"default_value": "99" },
{
"name": "jst_flags",
"type": "bitfield::TextServer.JustificationFlag",
"default_value": "3"
}, },
{ {
"name": "direction", "name": "direction",
@ -90059,12 +90077,11 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 1286410249, "hash": 918070724,
"arguments": [ "arguments": [
{ {
"name": "style", "name": "style",
"type": "int", "type": "bitfield::TextServer.FontStyle"
"meta": "uint32"
} }
] ]
}, },
@ -182428,7 +182445,7 @@
}, },
{ {
"name": "flags", "name": "flags",
"type": "enum::ResourceSaver.SaverFlags", "type": "bitfield::ResourceSaver.SaverFlags",
"default_value": "0" "default_value": "0"
} }
] ]
@ -211157,12 +211174,11 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 1286410249, "hash": 2877345813,
"arguments": [ "arguments": [
{ {
"name": "flags", "name": "flags",
"type": "int", "type": "bitfield::TextServer.JustificationFlag"
"meta": "uint16"
} }
] ]
}, },
@ -211172,10 +211188,9 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 3905245786, "hash": 1583363614,
"return_value": { "return_value": {
"type": "int", "type": "bitfield::TextServer.JustificationFlag"
"meta": "uint16"
} }
}, },
{ {
@ -212213,30 +212228,53 @@
] ]
}, },
{ {
"name": "set_flags", "name": "set_break_flags",
"is_const": false, "is_const": false,
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 1286410249, "hash": 2809697122,
"arguments": [ "arguments": [
{ {
"name": "flags", "name": "flags",
"type": "int", "type": "bitfield::TextServer.LineBreakFlag"
"meta": "uint16"
} }
] ]
}, },
{ {
"name": "get_flags", "name": "get_break_flags",
"is_const": true, "is_const": true,
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 3905245786, "hash": 2340632602,
"return_value": { "return_value": {
"type": "int", "type": "bitfield::TextServer.LineBreakFlag"
"meta": "uint16" }
},
{
"name": "set_justification_flags",
"is_const": false,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 2877345813,
"arguments": [
{
"name": "flags",
"type": "bitfield::TextServer.JustificationFlag"
}
]
},
{
"name": "get_justification_flags",
"is_const": true,
"is_vararg": false,
"is_static": false,
"is_virtual": false,
"hash": 1583363614,
"return_value": {
"type": "bitfield::TextServer.JustificationFlag"
} }
}, },
{ {
@ -212826,9 +212864,16 @@
}, },
{ {
"type": "int", "type": "int",
"name": "flags", "name": "break_flags",
"setter": "set_flags", "setter": "set_break_flags",
"getter": "get_flags", "getter": "get_break_flags",
"index": -1
},
{
"type": "int",
"name": "justification_flags",
"setter": "set_justification_flags",
"getter": "get_justification_flags",
"index": -1 "index": -1
}, },
{ {
@ -212895,7 +212940,7 @@
}, },
{ {
"name": "JustificationFlag", "name": "JustificationFlag",
"is_bitfield": false, "is_bitfield": true,
"values": [ "values": [
{ {
"name": "JUSTIFICATION_NONE", "name": "JUSTIFICATION_NONE",
@ -212947,7 +212992,7 @@
}, },
{ {
"name": "LineBreakFlag", "name": "LineBreakFlag",
"is_bitfield": false, "is_bitfield": true,
"values": [ "values": [
{ {
"name": "BREAK_NONE", "name": "BREAK_NONE",
@ -212955,19 +213000,19 @@
}, },
{ {
"name": "BREAK_MANDATORY", "name": "BREAK_MANDATORY",
"value": 32 "value": 1
}, },
{ {
"name": "BREAK_WORD_BOUND", "name": "BREAK_WORD_BOUND",
"value": 64 "value": 2
}, },
{ {
"name": "BREAK_GRAPHEME_BOUND", "name": "BREAK_GRAPHEME_BOUND",
"value": 128 "value": 4
}, },
{ {
"name": "BREAK_WORD_BOUND_ADAPTIVE", "name": "BREAK_ADAPTIVE",
"value": 320 "value": 8
} }
] ]
}, },
@ -213025,7 +213070,7 @@
}, },
{ {
"name": "TextOverrunFlag", "name": "TextOverrunFlag",
"is_bitfield": false, "is_bitfield": true,
"values": [ "values": [
{ {
"name": "OVERRUN_NO_TRIM", "name": "OVERRUN_NO_TRIM",
@ -213055,7 +213100,7 @@
}, },
{ {
"name": "GraphemeFlag", "name": "GraphemeFlag",
"is_bitfield": false, "is_bitfield": true,
"values": [ "values": [
{ {
"name": "GRAPHEME_IS_VALID", "name": "GRAPHEME_IS_VALID",
@ -213246,12 +213291,16 @@
{ {
"name": "SPACING_BOTTOM", "name": "SPACING_BOTTOM",
"value": 3 "value": 3
},
{
"name": "SPACING_MAX",
"value": 4
} }
] ]
}, },
{ {
"name": "FontStyle", "name": "FontStyle",
"is_bitfield": false, "is_bitfield": true,
"values": [ "values": [
{ {
"name": "FONT_BOLD", "name": "FONT_BOLD",
@ -213573,7 +213622,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 2347056579, "hash": 126051074,
"arguments": [ "arguments": [
{ {
"name": "font_rid", "name": "font_rid",
@ -213581,8 +213630,7 @@
}, },
{ {
"name": "style", "name": "style",
"type": "int", "type": "bitfield::TextServer.FontStyle"
"meta": "int64"
} }
] ]
}, },
@ -213592,10 +213640,9 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 2246043824, "hash": 3185464023,
"return_value": { "return_value": {
"type": "int", "type": "bitfield::TextServer.FontStyle"
"meta": "int64"
}, },
"arguments": [ "arguments": [
{ {
@ -216198,7 +216245,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 1504114224, "hash": 1188226230,
"return_value": { "return_value": {
"type": "float", "type": "float",
"meta": "double" "meta": "double"
@ -216215,8 +216262,7 @@
}, },
{ {
"name": "jst_flags", "name": "jst_flags",
"type": "int", "type": "bitfield::TextServer.JustificationFlag",
"meta": "int64",
"default_value": "3" "default_value": "3"
} }
] ]
@ -216352,7 +216398,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 1314516185, "hash": 1598254745,
"return_value": { "return_value": {
"type": "PackedInt32Array" "type": "PackedInt32Array"
}, },
@ -216378,9 +216424,8 @@
}, },
{ {
"name": "break_flags", "name": "break_flags",
"type": "int", "type": "bitfield::TextServer.LineBreakFlag",
"meta": "int64", "default_value": "3"
"default_value": "96"
} }
] ]
}, },
@ -216390,7 +216435,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 3684626562, "hash": 3097078424,
"return_value": { "return_value": {
"type": "PackedInt32Array" "type": "PackedInt32Array"
}, },
@ -216412,9 +216457,8 @@
}, },
{ {
"name": "break_flags", "name": "break_flags",
"type": "int", "type": "bitfield::TextServer.LineBreakFlag",
"meta": "int64", "default_value": "3"
"default_value": "96"
} }
] ]
}, },
@ -216424,7 +216468,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 398697570, "hash": 1186377815,
"return_value": { "return_value": {
"type": "PackedInt32Array" "type": "PackedInt32Array"
}, },
@ -216435,8 +216479,7 @@
}, },
{ {
"name": "grapheme_flags", "name": "grapheme_flags",
"type": "int", "type": "bitfield::TextServer.GraphemeFlag",
"meta": "int64",
"default_value": "264" "default_value": "264"
} }
] ]
@ -216518,7 +216561,7 @@
"is_vararg": false, "is_vararg": false,
"is_static": false, "is_static": false,
"is_virtual": false, "is_virtual": false,
"hash": 3993833698, "hash": 1610150659,
"arguments": [ "arguments": [
{ {
"name": "shaped", "name": "shaped",
@ -216532,8 +216575,7 @@
}, },
{ {
"name": "overrun_trim_flags", "name": "overrun_trim_flags",
"type": "int", "type": "bitfield::TextServer.TextOverrunFlag",
"meta": "int64",
"default_value": "0" "default_value": "0"
} }
] ]
@ -217425,7 +217467,7 @@
}, },
{ {
"name": "style", "name": "style",
"type": "int" "type": "bitfield::TextServer.FontStyle"
} }
] ]
}, },
@ -217436,7 +217478,7 @@
"is_vararg": false, "is_vararg": false,
"is_virtual": true, "is_virtual": true,
"return_value": { "return_value": {
"type": "int" "type": "bitfield::TextServer.FontStyle"
}, },
"arguments": [ "arguments": [
{ {
@ -219831,7 +219873,7 @@
}, },
{ {
"name": "jst_flags", "name": "jst_flags",
"type": "int" "type": "bitfield::TextServer.JustificationFlag"
} }
] ]
}, },
@ -220011,7 +220053,7 @@
}, },
{ {
"name": "break_flags", "name": "break_flags",
"type": "int" "type": "bitfield::TextServer.LineBreakFlag"
} }
] ]
}, },
@ -220039,7 +220081,7 @@
}, },
{ {
"name": "break_flags", "name": "break_flags",
"type": "int" "type": "bitfield::TextServer.LineBreakFlag"
} }
] ]
}, },
@ -220059,7 +220101,7 @@
}, },
{ {
"name": "grapheme_flags", "name": "grapheme_flags",
"type": "int" "type": "bitfield::TextServer.GraphemeFlag"
} }
] ]
}, },
@ -220144,7 +220186,7 @@
}, },
{ {
"name": "trim_flags", "name": "trim_flags",
"type": "int" "type": "bitfield::TextServer.TextOverrunFlag"
} }
] ]
}, },