|
5 | 5 | /* GODOT ENGINE */ |
6 | 6 | /* https://godotengine.org */ |
7 | 7 | /*************************************************************************/ |
8 | | -/* Copyright (c) 2007-2020 Juan Linietsky, Ariel Manzur. */ |
9 | | -/* Copyright (c) 2014-2020 Godot Engine contributors (cf. AUTHORS.md). */ |
| 8 | +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ |
| 9 | +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ |
10 | 10 | /* */ |
11 | 11 | /* Permission is hereby granted, free of charge, to any person obtaining */ |
12 | 12 | /* a copy of this software and associated documentation files (the */ |
@@ -61,8 +61,10 @@ typedef enum { |
61 | 61 | GODOT_PROPERTY_HINT_FLAGS, ///< hint_text= "flag1,flag2,etc" (as bit flags) |
62 | 62 | GODOT_PROPERTY_HINT_LAYERS_2D_RENDER, |
63 | 63 | GODOT_PROPERTY_HINT_LAYERS_2D_PHYSICS, |
| 64 | + GODOT_PROPERTY_HINT_LAYERS_2D_NAVIGATION, |
64 | 65 | GODOT_PROPERTY_HINT_LAYERS_3D_RENDER, |
65 | 66 | GODOT_PROPERTY_HINT_LAYERS_3D_PHYSICS, |
| 67 | + GODOT_PROPERTY_HINT_LAYERS_3D_NAVIGATION, |
66 | 68 | GODOT_PROPERTY_HINT_FILE, ///< a file path must be passed, hint_text (optionally) is a filter "*.png,*.wav,*.doc," |
67 | 69 | GODOT_PROPERTY_HINT_DIR, ///< a directory path must be passed |
68 | 70 | GODOT_PROPERTY_HINT_GLOBAL_FILE, ///< a file path must be passed, hint_text (optionally) is a filter "*.png,*.wav,*.doc," |
@@ -145,7 +147,7 @@ typedef struct { |
145 | 147 | } godot_method_attributes; |
146 | 148 |
|
147 | 149 | typedef struct { |
148 | | - // instance pointer, method data, user data, num args, args - return result as varaint |
| 150 | + // instance pointer, method data, user data, num args, args - return result as variant |
149 | 151 | GDCALLINGCONV godot_variant (*method)(godot_object *, void *, void *, int, godot_variant **); |
150 | 152 | void *method_data; |
151 | 153 | GDCALLINGCONV void (*free_func)(void *); |
@@ -247,4 +249,4 @@ void GDAPI godot_nativescript_profiling_add_data(const char *p_signature, uint64 |
247 | 249 | } |
248 | 250 | #endif |
249 | 251 |
|
250 | | -#endif |
| 252 | +#endif // GODOT_NATIVESCRIPT_H |
0 commit comments