1 | /**************************************************************************/ |
2 | /* renames_map_3_to_4.cpp */ |
3 | /**************************************************************************/ |
4 | /* This file is part of: */ |
5 | /* GODOT ENGINE */ |
6 | /* https://godotengine.org */ |
7 | /**************************************************************************/ |
8 | /* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */ |
9 | /* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur. */ |
10 | /* */ |
11 | /* Permission is hereby granted, free of charge, to any person obtaining */ |
12 | /* a copy of this software and associated documentation files (the */ |
13 | /* "Software"), to deal in the Software without restriction, including */ |
14 | /* without limitation the rights to use, copy, modify, merge, publish, */ |
15 | /* distribute, sublicense, and/or sell copies of the Software, and to */ |
16 | /* permit persons to whom the Software is furnished to do so, subject to */ |
17 | /* the following conditions: */ |
18 | /* */ |
19 | /* The above copyright notice and this permission notice shall be */ |
20 | /* included in all copies or substantial portions of the Software. */ |
21 | /* */ |
22 | /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ |
23 | /* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ |
24 | /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */ |
25 | /* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ |
26 | /* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ |
27 | /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ |
28 | /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ |
29 | /**************************************************************************/ |
30 | |
31 | #include "renames_map_3_to_4.h" |
32 | |
33 | #ifndef DISABLE_DEPRECATED |
34 | |
35 | const char *RenamesMap3To4::enum_renames[][2] = { |
36 | // Constants |
37 | // @GlobalScope |
38 | { "BUTTON_LEFT" , "MOUSE_BUTTON_LEFT" }, |
39 | { "BUTTON_MASK_LEFT" , "MOUSE_BUTTON_MASK_LEFT" }, |
40 | { "BUTTON_MASK_MIDDLE" , "MOUSE_BUTTON_MASK_MIDDLE" }, |
41 | { "BUTTON_MASK_RIGHT" , "MOUSE_BUTTON_MASK_RIGHT" }, |
42 | { "BUTTON_MASK_XBUTTON1" , "MOUSE_BUTTON_MASK_XBUTTON1" }, |
43 | { "BUTTON_MASK_XBUTTON2" , "MOUSE_BUTTON_MASK_XBUTTON2" }, |
44 | { "BUTTON_MIDDLE" , "MOUSE_BUTTON_MIDDLE" }, |
45 | { "BUTTON_RIGHT" , "MOUSE_BUTTON_RIGHT" }, |
46 | { "BUTTON_WHEEL_DOWN" , "MOUSE_BUTTON_WHEEL_DOWN" }, |
47 | { "BUTTON_WHEEL_LEFT" , "MOUSE_BUTTON_WHEEL_LEFT" }, |
48 | { "BUTTON_WHEEL_RIGHT" , "MOUSE_BUTTON_WHEEL_RIGHT" }, |
49 | { "BUTTON_WHEEL_UP" , "MOUSE_BUTTON_WHEEL_UP" }, |
50 | { "BUTTON_XBUTTON1" , "MOUSE_BUTTON_XBUTTON1" }, |
51 | { "BUTTON_XBUTTON2" , "MOUSE_BUTTON_XBUTTON2" }, |
52 | { "KEY_CONTROL" , "KEY_CTRL" }, |
53 | { "SIDE_BOTTOM" , "MARGIN_BOTTOM" }, |
54 | { "SIDE_LEFT" , "MARGIN_LEFT" }, |
55 | { "SIDE_RIGHT" , "MARGIN_RIGHT" }, |
56 | { "SIDE_TOP" , "MARGIN_TOP" }, |
57 | { "TYPE_COLOR_ARRAY" , "TYPE_PACKED_COLOR_ARRAY" }, |
58 | { "TYPE_FLOAT64_ARRAY" , "TYPE_PACKED_FLOAT64_ARRAY" }, |
59 | { "TYPE_INT64_ARRAY" , "TYPE_PACKED_INT64_ARRAY" }, |
60 | { "TYPE_INT_ARRAY" , "TYPE_PACKED_INT32_ARRAY" }, |
61 | { "TYPE_QUAT" , "TYPE_QUATERNION" }, |
62 | { "TYPE_RAW_ARRAY" , "TYPE_PACKED_BYTE_ARRAY" }, |
63 | { "TYPE_REAL" , "TYPE_FLOAT" }, |
64 | { "TYPE_REAL_ARRAY" , "TYPE_PACKED_FLOAT32_ARRAY" }, |
65 | { "TYPE_STRING_ARRAY" , "TYPE_PACKED_STRING_ARRAY" }, |
66 | { "TYPE_TRANSFORM" , "TYPE_TRANSFORM3D" }, |
67 | { "TYPE_VECTOR2_ARRAY" , "TYPE_PACKED_VECTOR2_ARRAY" }, |
68 | { "TYPE_VECTOR3_ARRAY" , "TYPE_PACKED_VECTOR3_ARRAY" }, |
69 | |
70 | // { "FLAG_MAX", "PARTICLE_FLAG_MAX" }, // CPUParticles2D -- Used in more classes. |
71 | { "ALIGN_BEGIN" , "ALIGNMENT_BEGIN" }, // AspectRatioContainer |
72 | { "ALIGN_CENTER" , "ALIGNMENT_CENTER" }, // AspectRatioContainer |
73 | { "ALIGN_END" , "ALIGNMENT_END" }, // AspectRatioContainer |
74 | { "ARRAY_COMPRESS_BASE" , "ARRAY_COMPRESS_FLAGS_BASE" }, // Mesh |
75 | { "ARVR_AR" , "XR_AR" }, // XRInterface |
76 | { "ARVR_EXCESSIVE_MOTION" , "XR_EXCESSIVE_MOTION" }, // XRInterface |
77 | { "ARVR_EXTERNAL" , "XR_EXTERNAL" }, // XRInterface |
78 | { "ARVR_INSUFFICIENT_FEATURES" , "XR_INSUFFICIENT_FEATURES" }, // XRInterface |
79 | { "ARVR_MONO" , "XR_MONO" }, // XRInterface |
80 | { "ARVR_NONE" , "XR_NONE" }, // XRInterface |
81 | { "ARVR_NORMAL_TRACKING" , "XR_NORMAL_TRACKING" }, // XRInterface |
82 | { "ARVR_NOT_TRACKING" , "XR_NOT_TRACKING" }, // XRInterface |
83 | { "ARVR_STEREO" , "XR_STEREO" }, // XRInterface |
84 | { "ARVR_UNKNOWN_TRACKING" , "XR_UNKNOWN_TRACKING" }, // XRInterface |
85 | { "BAKE_ERROR_INVALID_MESH" , "BAKE_ERROR_MESHES_INVALID" }, // LightmapGI |
86 | { "BODY_MODE_CHARACTER" , "BODY_MODE_RIGID_LINEAR" }, // PhysicsServer |
87 | { "CLEAR_MODE_ONLY_NEXT_FRAME" , "CLEAR_MODE_ONCE" }, // SubViewport |
88 | { "COMPRESS_PVRTC4" , "COMPRESS_PVRTC1_4" }, // Image |
89 | { "CONNECT_ONESHOT" , "CONNECT_ONE_SHOT" }, // Object |
90 | { "CONTAINER_PROPERTY_EDITOR_BOTTOM" , "CONTAINER_INSPECTOR_BOTTOM" }, // EditorPlugin |
91 | { "CUBEMAP_BACK" , "CUBEMAP_LAYER_BACK" }, // RenderingServer |
92 | { "CUBEMAP_BOTTOM" , "CUBEMAP_LAYER_BOTTOM" }, // RenderingServer |
93 | { "CUBEMAP_FRONT" , "CUBEMAP_LAYER_FRONT" }, // RenderingServer |
94 | { "CUBEMAP_LEFT" , "CUBEMAP_LAYER_LEFT" }, // RenderingServer |
95 | { "CUBEMAP_RIGHT" , "CUBEMAP_LAYER_RIGHT" }, // RenderingServer |
96 | { "CUBEMAP_TOP" , "CUBEMAP_LAYER_TOP" }, // RenderingServer |
97 | { "DAMPED_STRING_DAMPING" , "DAMPED_SPRING_DAMPING" }, // PhysicsServer2D |
98 | { "DAMPED_STRING_REST_LENGTH" , "DAMPED_SPRING_REST_LENGTH" }, // PhysicsServer2D |
99 | { "DAMPED_STRING_STIFFNESS" , "DAMPED_SPRING_STIFFNESS" }, // PhysicsServer2D |
100 | { "FLAG_ALIGN_Y_TO_VELOCITY" , "PARTICLE_FLAG_ALIGN_Y_TO_VELOCITY" }, // CPUParticles2D |
101 | { "FLAG_DISABLE_Z" , "PARTICLE_FLAG_DISABLE_Z" }, // CPUParticles2D |
102 | { "FLAG_ROTATE_Y" , "PARTICLE_FLAG_ROTATE_Y" }, // CPUParticles2D |
103 | { "FLAG_USE_BAKED_LIGHT" , "GI_MODE_BAKED" }, // GeometryInstance3D |
104 | { "FORMAT_PVRTC2" , "FORMAT_PVRTC1_2" }, // Image |
105 | { "FORMAT_PVRTC2A" , "FORMAT_PVRTC1_2A" }, // Image |
106 | { "FORMAT_PVRTC4" , "FORMAT_PVRTC1_4" }, // Image |
107 | { "FORMAT_PVRTC4A" , "FORMAT_PVRTC1_4A" }, // Image |
108 | { "FUNC_FRAC" , "FUNC_FRACT" }, // VisualShaderNodeVectorFunc |
109 | { "INSTANCE_LIGHTMAP_CAPTURE" , "INSTANCE_LIGHTMAP" }, // RenderingServer |
110 | { "JOINT_6DOF" , "JOINT_TYPE_6DOF" }, // PhysicsServer3D |
111 | { "JOINT_CONE_TWIST" , "JOINT_TYPE_CONE_TWIST" }, // PhysicsServer3D |
112 | { "JOINT_DAMPED_SPRING" , "JOINT_TYPE_DAMPED_SPRING" }, // PhysicsServer2D |
113 | { "JOINT_GROOVE" , "JOINT_TYPE_GROOVE" }, // PhysicsServer2D |
114 | { "JOINT_HINGE" , "JOINT_TYPE_HINGE" }, // PhysicsServer3D |
115 | { "JOINT_PIN" , "JOINT_TYPE_PIN" }, // PhysicsServer2D |
116 | { "JOINT_SLIDER" , "JOINT_TYPE_SLIDER" }, // PhysicsServer3D |
117 | { "LOOP_PING_PONG" , "LOOP_PINGPONG" }, // AudioStreamWAV |
118 | { "MODE_KINEMATIC" , "FREEZE_MODE_KINEMATIC" }, // RigidBody |
119 | { "MODE_OPEN_ANY" , "FILE_MODE_OPEN_ANY" }, // FileDialog |
120 | { "MODE_OPEN_DIR" , "FILE_MODE_OPEN_DIR" }, // FileDialog |
121 | { "MODE_OPEN_FILE" , "FILE_MODE_OPEN_FILE" }, // FileDialog |
122 | { "MODE_OPEN_FILES" , "FILE_MODE_OPEN_FILES" }, // FileDialog |
123 | { "MODE_SAVE_FILE" , "FILE_MODE_SAVE_FILE" }, // FileDialog |
124 | { "MODE_STATIC" , "FREEZE_MODE_STATIC" }, // RigidBody |
125 | { "NOTIFICATION_APP_PAUSED" , "NOTIFICATION_APPLICATION_PAUSED" }, // MainLoop |
126 | { "NOTIFICATION_APP_RESUMED" , "NOTIFICATION_APPLICATION_RESUMED" }, // MainLoop |
127 | { "NOTIFICATION_INSTANCED" , "NOTIFICATION_SCENE_INSTANTIATED" }, // Node |
128 | { "NOTIFICATION_PATH_CHANGED" , "NOTIFICATION_PATH_RENAMED" }, //Node |
129 | { "NOTIFICATION_WM_FOCUS_IN" , "NOTIFICATION_APPLICATION_FOCUS_IN" }, // MainLoop |
130 | { "NOTIFICATION_WM_FOCUS_OUT" , "NOTIFICATION_APPLICATION_FOCUS_OUT" }, // MainLoop |
131 | { "NOTIFICATION_WM_UNFOCUS_REQUEST" , "NOTIFICATION_WM_WINDOW_FOCUS_OUT" }, //Node |
132 | { "PAUSE_MODE_INHERIT" , "PROCESS_MODE_INHERIT" }, // Node |
133 | { "PAUSE_MODE_PROCESS" , "PROCESS_MODE_ALWAYS" }, // Node |
134 | { "PAUSE_MODE_STOP" , "PROCESS_MODE_PAUSABLE" }, // Node |
135 | { "RENDER_DRAW_CALLS_IN_FRAME" , "RENDER_TOTAL_DRAW_CALLS_IN_FRAME" }, // Performance |
136 | { "RENDER_OBJECTS_IN_FRAME" , "RENDER_TOTAL_OBJECTS_IN_FRAME" }, // Performance |
137 | { "SOURCE_GEOMETRY_NAVMESH_CHILDREN" , "SOURCE_GEOMETRY_ROOT_NODE_CHILDREN" }, // NavigationMesh |
138 | { "TEXTURE_TYPE_2D_ARRAY" , "TEXTURE_LAYERED_2D_ARRAY" }, // RenderingServer |
139 | { "TEXTURE_TYPE_CUBEMAP" , "TEXTURE_LAYERED_CUBEMAP_ARRAY" }, // RenderingServer |
140 | { "TRACKER_LEFT_HAND" , "TRACKER_HAND_LEFT" }, // XRPositionalTracker |
141 | { "TRACKER_RIGHT_HAND" , "TRACKER_HAND_RIGHT" }, // XRPositionalTracker |
142 | { "TYPE_NORMALMAP" , "TYPE_NORMAL_MAP" }, // VisualShaderNodeCubemap |
143 | |
144 | // Enums |
145 | { "AlignMode" , "AlignmentMode" }, // AspectRatioContainer |
146 | { "AnimationProcessMode" , "AnimationProcessCallback" }, // AnimationTree, AnimationPlayer |
147 | { "Camera2DProcessMode" , "Camera2DProcessCallback" }, // Camera2D |
148 | { "CubeMapSide" , "CubeMapLayer" }, // RenderingServer |
149 | { "DampedStringParam" , "DampedSpringParam" }, // PhysicsServer2D |
150 | { "FFT_Size" , "FFTSize" }, // AudioEffectPitchShift, AudioEffectSpectrumAnalyzer |
151 | { "PauseMode" , "ProcessMode" }, // Node |
152 | { "TimerProcessMode" , "TimerProcessCallback" }, // Timer |
153 | { "Tracking_status" , "TrackingStatus" }, // XRInterface |
154 | { nullptr, nullptr }, |
155 | }; |
156 | |
157 | const char *RenamesMap3To4::gdscript_function_renames[][2] = { |
158 | // NOTE: Commented out renames are disabled because deemed not suitable for |
159 | // the current way the regex-based converter works. |
160 | // When uncommenting any of those as suitable for conversion, please move it |
161 | // to the block with other enabled conversions, ordered alphabetically, and |
162 | // make sure to add it to the C# rename map too. |
163 | |
164 | // { "_set_name", "get_tracker_name" }, // XRPositionalTracker -- CameraFeed uses this. |
165 | // { "_unhandled_input", "_unhandled_key_input" }, // BaseButton, ViewportContainer -- Breaks Node, FileDialog, SubViewportContainer. |
166 | // { "create_gizmo", "_create_gizmo" }, // EditorNode3DGizmoPlugin -- May be used. |
167 | // { "get_dependencies", "_get_dependencies" }, // ResourceFormatLoader -- Breaks ResourceLoader. |
168 | // { "get_extents", "get_size" }, // BoxShape, RectangleShape -- Breaks Decal, VoxelGI, GPUParticlesCollisionBox, GPUParticlesCollisionSDF, GPUParticlesCollisionHeightField, GPUParticlesAttractorBox, GPUParticlesAttractorVectorField, FogVolume |
169 | // { "get_h_offset", "get_drag_horizontal_offset" }, // Camera2D -- Breaks PathFollow, Camera. |
170 | // { "get_mode", "get_file_mode" }, // FileDialog -- Breaks Panel, Shader, CSGPolygon, TileMap. |
171 | // { "get_motion", "get_travel" }, // PhysicsTestMotionResult2D -- Breaks ParallaxLayer. |
172 | // { "get_name", "get_tracker_name" }, // XRPositionalTracker -- Breaks OS, Node |
173 | // { "get_network_connected_peers", "get_peers" }, // MultiplayerAPI -- Breaks SceneTree. |
174 | // { "get_network_peer", "has_multiplayer_peer" }, // MultiplayerAPI -- Breaks SceneTree. |
175 | // { "get_network_unique_id", "get_unique_id"}, // MultiplayerAPI -- Breaks SceneTree. |
176 | // { "get_offset", "get_position_offset" }, // GraphNode -- Breaks Gradient. |
177 | // { "get_peer_port", "get_peer" }, // ENetMultiplayerPeer -- Breaks WebSocketServer. |
178 | // { "get_points", "get_points_id" }, // AStar -- Breaks Line2D, ConvexPolygonShape. |
179 | // { "get_process_mode", "get_process_callback" }, // ClippedCamera3D -- Breaks Node, Sky. |
180 | // { "get_render_info", "get_rendering_info" }, // RenderingServer -- Breaks Viewport. |
181 | // { "get_stylebox", "get_theme_stylebox" }, // Control -- Would rename the method in Theme as well, skipping. |
182 | // { "get_type", "get_tracker_type" }, // XRPositionalTracker -- Breaks GLTFAccessor, GLTFLight. |
183 | // { "get_v_offset", "get_drag_vertical_offset" }, // Camera2D -- Breaks PathFollow, Camera. |
184 | // { "get_v_scroll", "get_v_scroll_bar" }, // ItemList -- Breaks TextView. |
185 | // { "has_network_peer", "has_multiplayer_peer" }, // MultiplayerAPI -- Breaks SceneTree. |
186 | // { "instance", "instantiate" }, // PackedScene, ClassDB -- Breaks FileSystemDock signal, and also .tscn files ("[instance=ExtResource( 17 )]"). This is implemented as custom rule. |
187 | // { "is_listening", "is_bound"}, // PacketPeerUDP -- Breaks TCPServer, UDPServer. |
188 | // { "is_refusing_new_network_connections", "is_refusing_new_connections"}, // MultiplayerAPI -- Breaks SceneTree. |
189 | // { "is_valid", "has_valid_event" }, // Shortcut -- Breaks Callable, and more. |
190 | // { "listen", "bound"}, // PacketPeerUDP -- Breaks TCPServer, UDPServer. |
191 | // { "load", "_load"}, // ResourceFormatLoader -- Breaks ConfigFile, Image, StreamTexture2D. |
192 | // { "make_current", "set_current" }, // Camera2D -- Breaks Camera3D, Listener2D. |
193 | // { "process", "_process" }, // AnimationNode -- This word is too commonly used. |
194 | // { "raise", "move_to_front" }, // CanvasItem -- Too common. |
195 | // { "save", "_save"}, // ResourceFormatLoader -- Breaks ConfigFile, Image, StreamTexture2D. |
196 | // { "set_autowrap", "set_autowrap_mode" }, // AcceptDialog -- Breaks Label, also a cyclic rename. |
197 | // { "set_color", "surface_set_color"}, // ImmediateMesh -- Breaks Light2D, Theme, SurfaceTool. |
198 | // { "set_event", "set_shortcut" }, // BaseButton -- Cyclic rename. |
199 | // { "set_extents", "set_size"}, // BoxShape, RectangleShape -- Breaks ReflectionProbe. |
200 | // { "set_flag", "set_particle_flag"}, // ParticleProcessMaterial -- Breaks Window, HingeJoint3D. |
201 | // { "set_h_offset", "set_drag_horizontal_offset" }, // Camera2D -- Breaks Camera3D, PathFollow3D, PathFollow2D. |
202 | // { "set_margin", "set_offset" }, // Control -- Breaks Shape3D, AtlasTexture. |
203 | // { "set_mode", "set_mode_file_mode" }, // FileDialog -- Breaks Panel, Shader, CSGPolygon, TileMap. |
204 | // { "set_normal", "surface_set_normal"}, // ImmediateGeometry -- Breaks SurfaceTool, WorldMarginShape2D. |
205 | // { "set_offset", "set_progress" }, // PathFollow2D, PathFollow3D -- Too common. |
206 | // { "set_process_mode", "set_process_callback" }, // AnimationTree -- Breaks Node, Tween, Sky. |
207 | // { "set_refuse_new_network_connections", "set_refuse_new_connections"}, // MultiplayerAPI -- Breaks SceneTree. |
208 | // { "set_tooltip", "set_tooltip_text" }, // Control -- Breaks TreeItem, at least for now. |
209 | // { "set_uv", "surface_set_uv" }, // ImmediateMesh -- Breaks Polygon2D. |
210 | // { "set_v_offset", "set_drag_vertical_offset" }, // Camera2D -- Breaks Camera3D, PathFollow3D, PathFollow2D. |
211 | |
212 | { "_about_to_show" , "_about_to_popup" }, // ColorPickerButton |
213 | { "_get_configuration_warning" , "_get_configuration_warnings" }, // Node |
214 | { "_set_current" , "set_current" }, // Camera2D |
215 | { "_set_editor_description" , "set_editor_description" }, // Node |
216 | { "_toplevel_raise_self" , "_top_level_raise_self" }, // CanvasItem |
217 | { "_update_wrap_at" , "_update_wrap_at_column" }, // TextEdit |
218 | { "add_animation" , "add_animation_library" }, // AnimationPlayer |
219 | { "add_cancel" , "add_cancel_button" }, // AcceptDialog |
220 | { "add_central_force" , "apply_central_force" }, //RigidBody2D |
221 | { "add_child_below_node" , "add_sibling" }, // Node |
222 | { "add_color_override" , "add_theme_color_override" }, // Control |
223 | { "add_constant_override" , "add_theme_constant_override" }, // Control |
224 | { "add_font_override" , "add_theme_font_override" }, // Control |
225 | { "add_force" , "apply_force" }, //RigidBody2D |
226 | { "add_icon_override" , "add_theme_icon_override" }, // Control |
227 | { "add_scene_import_plugin" , "add_scene_format_importer_plugin" }, //EditorPlugin |
228 | { "add_spatial_gizmo_plugin" , "add_node_3d_gizmo_plugin" }, // EditorPlugin |
229 | { "add_stylebox_override" , "add_theme_stylebox_override" }, // Control |
230 | { "add_torque" , "apply_torque" }, //RigidBody2D |
231 | { "agent_set_neighbor_dist" , "agent_set_neighbor_distance" }, // NavigationServer2D, NavigationServer3D |
232 | { "apply_changes" , "_apply_changes" }, // EditorPlugin |
233 | { "body_add_force" , "body_apply_force" }, // PhysicsServer2D |
234 | { "body_add_torque" , "body_apply_torque" }, // PhysicsServer2D |
235 | { "bumpmap_to_normalmap" , "bump_map_to_normal_map" }, // Image |
236 | { "can_be_hidden" , "_can_be_hidden" }, // EditorNode3DGizmoPlugin |
237 | { "can_drop_data" , "_can_drop_data" }, // Control |
238 | { "can_generate_small_preview" , "_can_generate_small_preview" }, // EditorResourcePreviewGenerator |
239 | { "can_instance" , "can_instantiate" }, // PackedScene, Script |
240 | { "canvas_light_set_scale" , "canvas_light_set_texture_scale" }, // RenderingServer |
241 | { "capture_get_device" , "get_input_device" }, // AudioServer |
242 | { "capture_get_device_list" , "get_input_device_list" }, // AudioServer |
243 | { "capture_set_device" , "set_input_device" }, // AudioServer |
244 | { "center_viewport_to_cursor" , "center_viewport_to_caret" }, // TextEdit |
245 | { "change_scene" , "change_scene_to_file" }, // SceneTree |
246 | { "change_scene_to" , "change_scene_to_packed" }, // SceneTree |
247 | { "clip_polygons_2d" , "clip_polygons" }, // Geometry2D |
248 | { "clip_polyline_with_polygon_2d" , "clip_polyline_with_polygon" }, //Geometry2D |
249 | { "commit_handle" , "_commit_handle" }, // EditorNode3DGizmo |
250 | { "convex_hull_2d" , "convex_hull" }, // Geometry2D |
251 | { "create_gizmo" , "_create_gizmo" }, // EditorNode3DGizmoPlugin |
252 | { "cursor_get_blink_speed" , "get_caret_blink_interval" }, // TextEdit |
253 | { "cursor_get_column" , "get_caret_column" }, // TextEdit |
254 | { "cursor_get_line" , "get_caret_line" }, // TextEdit |
255 | { "cursor_set_blink_enabled" , "set_caret_blink_enabled" }, // TextEdit |
256 | { "cursor_set_blink_speed" , "set_caret_blink_interval" }, // TextEdit |
257 | { "cursor_set_column" , "set_caret_column" }, // TextEdit |
258 | { "cursor_set_line" , "set_caret_line" }, // TextEdit |
259 | { "damped_spring_joint_create" , "joint_make_damped_spring" }, // PhysicsServer2D |
260 | { "damped_string_joint_get_param" , "damped_spring_joint_get_param" }, // PhysicsServer2D |
261 | { "damped_string_joint_set_param" , "damped_spring_joint_set_param" }, // PhysicsServer2D |
262 | { "dectime" , "move_toward" }, // GDScript, Math functions |
263 | { "delete_char_at_cursor" , "delete_char_at_caret" }, // LineEdit |
264 | { "deselect_items" , "deselect_all" }, // FileDialog |
265 | { "disable_plugin" , "_disable_plugin" }, // EditorPlugin |
266 | { "drop_data" , "_drop_data" }, // Control |
267 | { "exclude_polygons_2d" , "exclude_polygons" }, // Geometry2D |
268 | { "find_node" , "find_child" }, // Node |
269 | { "find_scancode_from_string" , "find_keycode_from_string" }, // OS |
270 | { "forward_canvas_draw_over_viewport" , "_forward_canvas_draw_over_viewport" }, // EditorPlugin |
271 | { "forward_canvas_force_draw_over_viewport" , "_forward_canvas_force_draw_over_viewport" }, // EditorPlugin |
272 | { "forward_canvas_gui_input" , "_forward_canvas_gui_input" }, // EditorPlugin |
273 | { "forward_spatial_draw_over_viewport" , "_forward_3d_draw_over_viewport" }, // EditorPlugin |
274 | { "forward_spatial_force_draw_over_viewport" , "_forward_3d_force_draw_over_viewport" }, // EditorPlugin |
275 | { "forward_spatial_gui_input" , "_forward_3d_gui_input" }, // EditorPlugin |
276 | { "generate_from_path" , "_generate_from_path" }, // EditorResourcePreviewGenerator |
277 | { "generate_small_preview_automatically" , "_generate_small_preview_automatically" }, // EditorResourcePreviewGenerator |
278 | { "get_action_list" , "action_get_events" }, // InputMap |
279 | { "get_alt" , "is_alt_pressed" }, // InputEventWithModifiers |
280 | { "get_animation_process_mode" , "get_process_callback" }, // AnimationPlayer |
281 | { "get_applied_force" , "get_constant_force" }, //RigidBody2D |
282 | { "get_applied_torque" , "get_constant_torque" }, //RigidBody2D |
283 | { "get_audio_bus" , "get_audio_bus_name" }, // Area3D |
284 | { "get_bound_child_nodes_to_bone" , "get_bone_children" }, // Skeleton3D |
285 | { "get_camera" , "get_camera_3d" }, // Viewport -- This is also convertible to get_camera_2d. Breaks GLTFNode. |
286 | { "get_cancel" , "get_cancel_button" }, // ConfirmationDialog |
287 | { "get_caption" , "_get_caption" }, // AnimationNode |
288 | { "get_cast_to" , "get_target_position" }, // RayCast2D, RayCast3D |
289 | { "get_child_by_name" , "_get_child_by_name" }, // AnimationNode |
290 | { "get_child_nodes" , "_get_child_nodes" }, // AnimationNode |
291 | { "get_closest_point_to_segment_2d" , "get_closest_point_to_segment" }, // Geometry2D |
292 | { "get_closest_point_to_segment_uncapped_2d" , "get_closest_point_to_segment_uncapped" }, // Geometry2D |
293 | { "get_closest_points_between_segments_2d" , "get_closest_point_to_segment" }, // Geometry2D |
294 | { "get_collision_layer_bit" , "get_collision_layer_value" }, // CSGShape3D, and a lot of others like GridMap. |
295 | { "get_collision_mask_bit" , "get_collision_mask_value" }, // CSGShape3D, and a lot of others like GridMap. |
296 | { "get_color_types" , "get_color_type_list" }, // Theme |
297 | { "get_command" , "is_command_or_control_pressed" }, // InputEventWithModifiers |
298 | { "get_constant_types" , "get_constant_type_list" }, // Theme |
299 | { "get_control" , "is_ctrl_pressed" }, // InputEventWithModifiers |
300 | { "get_cull_mask_bit" , "get_cull_mask_value" }, // Camera3D |
301 | { "get_cursor_position" , "get_caret_column" }, // LineEdit |
302 | { "get_d" , "get_distance" }, // LineShape2D |
303 | { "get_default_length" , "get_length" }, // Bone2D |
304 | { "get_depth_bias_enable" , "get_depth_bias_enabled" }, // RDPipelineRasterizationState |
305 | { "get_device" , "get_output_device" }, // AudioServer |
306 | { "get_device_list" , "get_output_device_list" }, // AudioServer |
307 | { "get_drag_data" , "_get_drag_data" }, // Control |
308 | { "get_editor_viewport" , "get_editor_main_screen" }, // EditorPlugin |
309 | { "get_enabled_focus_mode" , "get_focus_mode" }, // BaseButton |
310 | { "get_endian_swap" , "is_big_endian" }, // File |
311 | { "get_error_string" , "get_error_message" }, // JSON |
312 | { "get_filename" , "get_scene_file_path" }, // Node -- WARNING: This may be used in a lot of other places. |
313 | { "get_final_location" , "get_final_position" }, // NavigationAgent2D, NavigationAgent3D |
314 | { "get_focus_neighbour" , "get_focus_neighbor" }, // Control |
315 | { "get_follow_smoothing" , "get_position_smoothing_speed" }, // Camera2D |
316 | { "get_font_types" , "get_font_type_list" }, // Theme |
317 | { "get_frame_color" , "get_color" }, // ColorRect |
318 | { "get_global_rate_scale" , "get_playback_speed_scale" }, // AudioServer |
319 | { "get_gravity_distance_scale" , "get_gravity_point_unit_distance" }, // Area2D, Area3D |
320 | { "get_gravity_vector" , "get_gravity_direction" }, // Area(2D/3D) |
321 | { "get_h_scrollbar" , "get_h_scroll_bar" }, //ScrollContainer |
322 | { "get_hand" , "get_tracker_hand" }, // XRPositionalTracker |
323 | { "get_handle_name" , "_get_handle_name" }, // EditorNode3DGizmo |
324 | { "get_handle_value" , "_get_handle_value" }, // EditorNode3DGizmo |
325 | { "get_icon_align" , "get_icon_alignment" }, // Button |
326 | { "get_icon_types" , "get_icon_type_list" }, // Theme |
327 | { "get_idle_frames" , "get_process_frames" }, // Engine |
328 | { "get_import_options" , "_get_import_options" }, // EditorImportPlugin |
329 | { "get_import_order" , "_get_import_order" }, // EditorImportPlugin |
330 | { "get_importer_name" , "_get_importer_name" }, // EditorImportPlugin |
331 | { "get_interior_ambient" , "get_ambient_color" }, // ReflectionProbe |
332 | { "get_interior_ambient_energy" , "get_ambient_color_energy" }, // ReflectionProbe |
333 | { "get_item_navmesh" , "get_item_navigation_mesh" }, // MeshLibrary |
334 | { "get_item_navmesh_transform" , "get_item_navigation_mesh_transform" }, // MeshLibrary |
335 | { "get_iterations_per_second" , "get_physics_ticks_per_second" }, // Engine |
336 | { "get_last_mouse_speed" , "get_last_mouse_velocity" }, // Input |
337 | { "get_layer_mask_bit" , "get_layer_mask_value" }, // VisualInstance3D |
338 | { "get_len" , "get_length" }, // File |
339 | { "get_max_atlas_size" , "get_max_texture_size" }, // LightmapGI |
340 | { "get_metakey" , "is_meta_pressed" }, // InputEventWithModifiers |
341 | { "get_mid_height" , "get_height" }, // CapsuleMesh |
342 | { "get_motion_remainder" , "get_remainder" }, // PhysicsTestMotionResult2D |
343 | { "get_nav_path" , "get_current_navigation_path" }, // NavigationAgent2D, NavigationAgent3D |
344 | { "get_nav_path_index" , "get_current_navigation_path_index" }, // NavigationAgent2D, NavigationAgent3D |
345 | { "get_neighbor_dist" , "get_neighbor_distance" }, // NavigationAgent2D, NavigationAgent3D |
346 | { "get_network_connected_peers" , "get_peers" }, // Multiplayer API |
347 | { "get_network_master" , "get_multiplayer_authority" }, // Node |
348 | { "get_network_peer" , "get_multiplayer_peer" }, // Multiplayer API |
349 | { "get_network_unique_id" , "get_unique_id" }, // Multiplayer API |
350 | { "get_next_location" , "get_next_path_position" }, // NavigationAgent2D, NavigationAgent3D |
351 | { "get_ok" , "get_ok_button" }, // AcceptDialog |
352 | { "get_oneshot" , "get_one_shot" }, // AnimatedTexture |
353 | { "get_option_visibility" , "_get_option_visibility" }, // EditorImportPlugin |
354 | { "get_parameter_default_value" , "_get_parameter_default_value" }, // AnimationNode |
355 | { "get_parameter_list" , "_get_parameter_list" }, // AnimationNode |
356 | { "get_parent_spatial" , "get_parent_node_3d" }, // Node3D |
357 | { "get_pause_mode" , "get_process_mode" }, // Node |
358 | { "get_physical_scancode" , "get_physical_keycode" }, // InputEventKey |
359 | { "get_physical_scancode_with_modifiers" , "get_physical_keycode_with_modifiers" }, // InputEventKey |
360 | { "get_plugin_icon" , "_get_plugin_icon" }, // EditorPlugin |
361 | { "get_plugin_name" , "_get_plugin_name" }, // EditorPlugin |
362 | { "get_preset_count" , "_get_preset_count" }, // EditorImportPlugin |
363 | { "get_preset_name" , "_get_preset_name" }, // EditorImportPlugin |
364 | { "get_recognized_extensions" , "_get_recognized_extensions" }, // ResourceFormatLoader, EditorImportPlugin -- Breaks ResourceSaver. |
365 | { "get_render_info" , "get_rendering_info" }, // RenderingServer |
366 | { "get_render_targetsize" , "get_render_target_size" }, // XRInterface |
367 | { "get_resource_type" , "_get_resource_type" }, // ResourceFormatLoader |
368 | { "get_result" , "get_data" }, // JSON |
369 | { "get_reverb_bus" , "set_reverb_bus_name" }, // Area3D |
370 | { "get_rpc_sender_id" , "get_remote_sender_id" }, // Multiplayer API |
371 | { "get_save_extension" , "_get_save_extension" }, // EditorImportPlugin |
372 | { "get_scancode" , "get_keycode" }, // InputEventKey |
373 | { "get_scancode_string" , "get_keycode_string" }, // OS |
374 | { "get_scancode_with_modifiers" , "get_keycode_with_modifiers" }, // InputEventKey |
375 | { "get_selected_path" , "get_current_directory" }, // EditorInterface |
376 | { "get_shader_param" , "get_shader_parameter" }, // ShaderMaterial |
377 | { "get_shift" , "is_shift_pressed" }, // InputEventWithModifiers |
378 | { "get_size_override" , "get_size_2d_override" }, // SubViewport |
379 | { "get_slide_count" , "get_slide_collision_count" }, // CharacterBody2D, CharacterBody3D |
380 | { "get_slips_on_slope" , "get_slide_on_slope" }, // SeparationRayShape2D, SeparationRayShape3D |
381 | { "get_space_override_mode" , "get_gravity_space_override_mode" }, // Area2D |
382 | { "get_spatial_node" , "get_node_3d" }, // EditorNode3DGizmo |
383 | { "get_speed" , "get_velocity" }, // InputEventMouseMotion |
384 | { "get_stylebox_types" , "get_stylebox_type_list" }, // Theme |
385 | { "get_surface_material" , "get_surface_override_material" }, // MeshInstance3D -- Breaks ImporterMesh. |
386 | { "get_surface_material_count" , "get_surface_override_material_count" }, // MeshInstance3D |
387 | { "get_tab_disabled" , "is_tab_disabled" }, // Tab |
388 | { "get_tab_hidden" , "is_tab_hidden" }, // Tab |
389 | { "get_target_location" , "get_target_position" }, // NavigationAgent2D, NavigationAgent3D |
390 | { "get_text_align" , "get_text_alignment" }, // Button |
391 | { "get_theme_item_types" , "get_theme_item_type_list" }, // Theme |
392 | { "get_timer_process_mode" , "get_timer_process_callback" }, // Timer |
393 | { "get_translation" , "get_position" }, // Node3D -- Breaks GLTFNode, but it is used rarely. |
394 | { "get_uniform_name" , "get_parameter_name" }, // ParameterRef |
395 | { "get_unit_db" , "get_volume_db" }, // AudioStreamPlayer3D |
396 | { "get_unit_offset" , "get_progress_ratio" }, // PathFollow2D, PathFollow3D |
397 | { "get_use_in_baked_light" , "is_baking_navigation" }, // GridMap |
398 | { "get_verts_per_poly" , "get_vertices_per_polygon" }, // NavigationMesh |
399 | { "get_v_scrollbar" , "get_v_scroll_bar" }, // ScrollContainer |
400 | { "get_visible_name" , "_get_visible_name" }, // EditorImportPlugin |
401 | { "get_window_layout" , "_get_window_layout" }, // EditorPlugin |
402 | { "get_word_under_cursor" , "get_word_under_caret" }, // TextEdit |
403 | { "get_world" , "get_world_3d" }, // Viewport, Node3D |
404 | { "get_zfar" , "get_far" }, // Camera3D -- Breaks GLTFCamera |
405 | { "get_znear" , "get_near" }, // Camera3D -- Breaks GLTFCamera |
406 | { "groove_joint_create" , "joint_make_groove" }, // PhysicsServer2D |
407 | { "handle_menu_selected" , "_handle_menu_selected" }, // EditorResourcePicker |
408 | { "handles_type" , "_handles_type" }, // ResourceFormatLoader |
409 | { "has_color" , "has_theme_color" }, // Control -- Breaks Theme |
410 | { "has_color_override" , "has_theme_color_override" }, // Control -- Breaks Theme |
411 | { "has_constant" , "has_theme_constant" }, // Control |
412 | { "has_constant_override" , "has_theme_constant_override" }, // Control |
413 | { "has_filter" , "_has_filter" }, // AnimationNode |
414 | { "has_font" , "has_theme_font" }, // Control -- Breaks Theme |
415 | { "has_font_override" , "has_theme_font_override" }, // Control |
416 | { "has_icon" , "has_theme_icon" }, // Control -- Breaks Theme |
417 | { "has_icon_override" , "has_theme_icon_override" }, // Control |
418 | { "has_main_screen" , "_has_main_screen" }, // EditorPlugin |
419 | { "has_network_peer" , "has_multiplayer_peer" }, // Multiplayer API |
420 | { "has_stylebox" , "has_theme_stylebox" }, // Control -- Breaks Theme |
421 | { "has_stylebox_override" , "has_theme_stylebox_override" }, // Control |
422 | { "http_escape" , "uri_encode" }, // String |
423 | { "http_unescape" , "uri_decode" }, // String |
424 | { "import_scene_from_other_importer" , "_import_scene" }, // EditorSceneFormatImporter |
425 | { "instance_set_surface_material" , "instance_set_surface_override_material" }, // RenderingServer |
426 | { "interpolate" , "sample" }, // Curve, Curve2D, Curve3D, Gradient |
427 | { "intersect_polygons_2d" , "intersect_polygons" }, // Geometry2D |
428 | { "intersect_polyline_with_polygon_2d" , "intersect_polyline_with_polygon" }, // Geometry2D |
429 | { "is_a_parent_of" , "is_ancestor_of" }, // Node |
430 | { "is_commiting_action" , "is_committing_action" }, // UndoRedo |
431 | { "is_doubleclick" , "is_double_click" }, // InputEventMouseButton |
432 | { "is_draw_red" , "is_draw_warning" }, // EditorProperty |
433 | { "is_follow_smoothing_enabled" , "is_position_smoothing_enabled" }, // Camera2D |
434 | { "is_h_drag_enabled" , "is_drag_horizontal_enabled" }, // Camera2D |
435 | { "is_handle_highlighted" , "_is_handle_highlighted" }, // EditorNode3DGizmo, EditorNode3DGizmoPlugin |
436 | { "is_inverting_faces" , "get_flip_faces" }, // CSGPrimitive3D |
437 | { "is_network_master" , "is_multiplayer_authority" }, // Node |
438 | { "is_network_server" , "is_server" }, // Multiplayer API |
439 | { "is_normalmap" , "is_normal_map" }, // NoiseTexture |
440 | { "is_refusing_new_network_connections" , "is_refusing_new_connections" }, // Multiplayer API |
441 | { "is_region" , "is_region_enabled" }, // Sprite2D |
442 | { "is_rotating" , "is_ignoring_rotation" }, // Camera2D |
443 | { "is_scancode_unicode" , "is_keycode_unicode" }, // OS |
444 | { "is_selectable_when_hidden" , "_is_selectable_when_hidden" }, // EditorNode3DGizmoPlugin |
445 | { "is_set_as_toplevel" , "is_set_as_top_level" }, // CanvasItem |
446 | { "is_shortcut" , "matches_event" }, // Shortcut |
447 | { "is_size_override_stretch_enabled" , "is_size_2d_override_stretch_enabled" }, // SubViewport |
448 | { "is_sort_enabled" , "is_y_sort_enabled" }, // Node2D |
449 | { "is_static_body" , "is_able_to_sleep" }, // PhysicalBone3D -- Not sure. |
450 | { "is_v_drag_enabled" , "is_drag_vertical_enabled" }, // Camera2D |
451 | { "joint_create_cone_twist" , "joint_make_cone_twist" }, // PhysicsServer3D |
452 | { "joint_create_generic_6dof" , "joint_make_generic_6dof" }, // PhysicsServer3D |
453 | { "joint_create_hinge" , "joint_make_hinge" }, // PhysicsServer3D |
454 | { "joint_create_pin" , "joint_make_pin" }, // PhysicsServer3D |
455 | { "joint_create_slider" , "joint_make_slider" }, // PhysicsServer3D |
456 | { "line_intersects_line_2d" , "line_intersects_line" }, // Geometry2D |
457 | { "load_from_globals" , "load_from_project_settings" }, // InputMap |
458 | { "load_interactive" , "load_threaded_request" }, // ResourceLoader -- "load_threaded_request" could be an alternative, but it is used differently. |
459 | { "make_convex_from_brothers" , "make_convex_from_siblings" }, // CollisionShape3D |
460 | { "make_visible" , "_make_visible" }, // EditorPlugin |
461 | { "merge_polygons_2d" , "merge_polygons" }, // Geometry2D |
462 | { "mesh_surface_get_format" , "mesh_surface_get_format_attribute_stride" }, // RenderingServer |
463 | { "mesh_surface_update_region" , "mesh_surface_update_attribute_region" }, // RenderingServer |
464 | { "move_to_bottom" , "move_after" }, // Skeleton3D |
465 | { "move_to_top" , "move_before" }, // Skeleton3D |
466 | { "multimesh_allocate" , "multimesh_allocate_data" }, // RenderingServer |
467 | { "normalmap_to_xy" , "normal_map_to_xy" }, // Image |
468 | { "offset_polygon_2d" , "offset_polygon" }, // Geometry2D |
469 | { "offset_polyline_2d" , "offset_polyline" }, // Geometry2D |
470 | { "percent_decode" , "uri_decode" }, // String |
471 | { "percent_encode" , "uri_encode" }, // String |
472 | { "pin_joint_create" , "joint_make_pin" }, // PhysicsServer2D |
473 | { "popup_centered_minsize" , "popup_centered_clamped" }, // Window |
474 | { "post_import" , "_post_import" }, // EditorScenePostImport |
475 | { "print_stray_nodes" , "print_orphan_nodes" }, // Node |
476 | { "property_list_changed_notify" , "notify_property_list_changed" }, // Object |
477 | { "recognize" , "_recognize" }, // ResourceFormatLoader |
478 | { "regen_normalmaps" , "regen_normal_maps" }, // ArrayMesh |
479 | { "region_bake_navmesh" , "region_bake_navigation_mesh" }, // Navigation3DServer |
480 | { "region_set_navmesh" , "region_set_navigation_mesh" }, // Navigation3DServer |
481 | { "region_set_navpoly" , "region_set_navigation_polygon" }, // Navigation2DServer |
482 | { "remove_animation" , "remove_animation_library" }, // AnimationPlayer |
483 | { "remove_color_override" , "remove_theme_color_override" }, // Control |
484 | { "remove_constant_override" , "remove_theme_constant_override" }, // Control |
485 | { "remove_font_override" , "remove_theme_font_override" }, // Control |
486 | { "remove_icon_override" , "remove_theme_icon_override" }, // Control |
487 | { "remove_scene_import_plugin" , "remove_scene_format_importer_plugin" }, //EditorPlugin |
488 | { "remove_spatial_gizmo_plugin" , "remove_node_3d_gizmo_plugin" }, // EditorPlugin |
489 | { "remove_stylebox_override" , "remove_theme_stylebox_override" }, // Control |
490 | { "rename_animation" , "rename_animation_library" }, // AnimationPlayer |
491 | { "rename_dependencies" , "_rename_dependencies" }, // ResourceFormatLoader |
492 | { "save_external_data" , "_save_external_data" }, // EditorPlugin |
493 | { "segment_intersects_segment_2d" , "segment_intersects_segment" }, // Geometry2D |
494 | { "set_adjustment_enable" , "set_adjustment_enabled" }, // Environment |
495 | { "set_alt" , "set_alt_pressed" }, // InputEventWithModifiers |
496 | { "set_anchor_and_margin" , "set_anchor_and_offset" }, // Control |
497 | { "set_anchors_and_margins_preset" , "set_anchors_and_offsets_preset" }, // Control |
498 | { "set_animation_process_mode" , "set_process_callback" }, // AnimationPlayer |
499 | { "set_as_bulk_array" , "set_buffer" }, // MultiMesh |
500 | { "set_as_normalmap" , "set_as_normal_map" }, // NoiseTexture |
501 | { "set_as_toplevel" , "set_as_top_level" }, // CanvasItem |
502 | { "set_audio_bus" , "set_audio_bus_name" }, // Area3D |
503 | { "set_autowrap" , "set_autowrap_mode" }, // Label -- Breaks AcceptDialog. |
504 | { "set_cast_to" , "set_target_position" }, // RayCast2D, RayCast3D |
505 | { "set_collision_layer_bit" , "set_collision_layer_value" }, // CSGShape3D, and a lot of others like GridMap. |
506 | { "set_collision_mask_bit" , "set_collision_mask_value" }, // CSGShape3D, and a lot of others like GridMap. |
507 | { "set_column_min_width" , "set_column_custom_minimum_width" }, // Tree |
508 | { "set_command" , "set_meta_pressed" }, // InputEventWithModifiers |
509 | { "set_control" , "set_ctrl_pressed" }, // InputEventWithModifiers |
510 | { "set_create_options" , "_set_create_options" }, // EditorResourcePicker |
511 | { "set_cull_mask_bit" , "set_cull_mask_value" }, // Camera3D |
512 | { "set_cursor_position" , "set_caret_column" }, // LineEdit |
513 | { "set_d" , "set_distance" }, // WorldMarginShape2D |
514 | { "set_default_length" , "set_length" }, // Bone2D |
515 | { "set_depth_bias_enable" , "set_depth_bias_enabled" }, // RDPipelineRasterizationState |
516 | { "set_device" , "set_output_device" }, // AudioServer |
517 | { "set_doubleclick" , "set_double_click" }, // InputEventMouseButton |
518 | { "set_draw_red" , "set_draw_warning" }, // EditorProperty |
519 | { "set_enable_follow_smoothing" , "set_position_smoothing_enabled" }, // Camera2D |
520 | { "set_enabled_focus_mode" , "set_focus_mode" }, // BaseButton |
521 | { "set_endian_swap" , "set_big_endian" }, // File |
522 | { "set_expand_to_text_length" , "set_expand_to_text_length_enabled" }, // LineEdit |
523 | { "set_filename" , "set_scene_file_path" }, // Node -- WARNING: This may be used in a lot of other places. |
524 | { "set_focus_neighbour" , "set_focus_neighbor" }, // Control |
525 | { "set_follow_smoothing" , "set_position_smoothing_speed" }, // Camera2D |
526 | { "set_frame_color" , "set_color" }, // ColorRect |
527 | { "set_global_rate_scale" , "set_playback_speed_scale" }, // AudioServer |
528 | { "set_gravity_distance_scale" , "set_gravity_point_unit_distance" }, // Area2D, Area3D |
529 | { "set_gravity_vector" , "set_gravity_direction" }, // Area2D, Area3D |
530 | { "set_h_drag_enabled" , "set_drag_horizontal_enabled" }, // Camera2D |
531 | { "set_icon_align" , "set_icon_alignment" }, // Button |
532 | { "set_interior_ambient" , "set_ambient_color" }, // ReflectionProbe |
533 | { "set_interior_ambient_energy" , "set_ambient_color_energy" }, // ReflectionProbe |
534 | { "set_invert_faces" , "set_flip_faces" }, // CSGPrimitive3D |
535 | { "set_is_initialized" , "_is_initialized" }, // XRInterface |
536 | { "set_is_primary" , "set_primary" }, // XRInterface |
537 | { "set_item_navmesh" , "set_item_navigation_mesh" }, // MeshLibrary |
538 | { "set_item_navmesh_transform" , "set_item_navigation_mesh_transform" }, // MeshLibrary |
539 | { "set_iterations_per_second" , "set_physics_ticks_per_second" }, // Engine |
540 | { "set_layer_mask_bit" , "set_layer_mask_value" }, // VisualInstance3D |
541 | { "set_margins_preset" , "set_offsets_preset" }, // Control |
542 | { "set_max_atlas_size" , "set_max_texture_size" }, // LightmapGI |
543 | { "set_metakey" , "set_meta_pressed" }, // InputEventWithModifiers |
544 | { "set_mid_height" , "set_height" }, // CapsuleMesh |
545 | { "set_neighbor_dist" , "set_neighbor_distance" }, // NavigationAgent2D, NavigationAgent3D |
546 | { "set_network_master" , "set_multiplayer_authority" }, // Node |
547 | { "set_network_peer" , "set_multiplayer_peer" }, // Multiplayer API |
548 | { "set_oneshot" , "set_one_shot" }, // AnimatedTexture |
549 | { "set_pause_mode" , "set_process_mode" }, // Node |
550 | { "set_physical_scancode" , "set_physical_keycode" }, // InputEventKey |
551 | { "set_proximity_fade" , "set_proximity_fade_enabled" }, // Material |
552 | { "set_refuse_new_network_connections" , "set_refuse_new_connections" }, // Multiplayer API |
553 | { "set_region" , "set_region_enabled" }, // Sprite2D -- Sprite breaks AtlasTexture. |
554 | { "set_region_filter_clip" , "set_region_filter_clip_enabled" }, // Sprite2D |
555 | { "set_reverb_bus" , "set_reverb_bus_name" }, // Area3D |
556 | { "set_rotate" , "set_rotates" }, // PathFollow2D |
557 | { "set_scancode" , "set_keycode" }, // InputEventKey |
558 | { "set_shader_param" , "set_shader_parameter" }, // ShaderMaterial |
559 | { "set_shift" , "set_shift_pressed" }, // InputEventWithModifiers |
560 | { "set_size_override" , "set_size_2d_override" }, // SubViewport -- Breaks ImageTexture. |
561 | { "set_size_override_stretch" , "set_size_2d_override_stretch" }, // SubViewport |
562 | { "set_slips_on_slope" , "set_slide_on_slope" }, // SeparationRayShape2D, SeparationRayShape3D |
563 | { "set_sort_enabled" , "set_y_sort_enabled" }, // Node2D |
564 | { "set_space_override_mode" , "set_gravity_space_override_mode" }, // Area2D |
565 | { "set_spatial_node" , "set_node_3d" }, // EditorNode3DGizmo |
566 | { "set_speed" , "set_velocity" }, // InputEventMouseMotion |
567 | { "set_ssao_edge_sharpness" , "set_ssao_sharpness" }, // Environment |
568 | { "set_surface_material" , "set_surface_override_material" }, // MeshInstance3D -- Breaks ImporterMesh. |
569 | { "set_tab_align" , "set_tab_alignment" }, // TabContainer |
570 | { "set_tangent" , "surface_set_tangent" }, // ImmediateGeometry -- Breaks SurfaceTool. |
571 | { "set_target_location" , "set_target_position" }, // NavigationAgent2D, NavigationAgent3D |
572 | { "set_text_align" , "set_text_alignment" }, // Button |
573 | { "set_timer_process_mode" , "set_timer_process_callback" }, // Timer |
574 | { "set_translation" , "set_position" }, // Node3D -- This breaks GLTFNode, but it is used rarely. |
575 | { "set_uniform_name" , "set_parameter_name" }, // ParameterRef |
576 | { "set_unit_db" , "set_volume_db" }, // AudioStreamPlayer3D |
577 | { "set_unit_offset" , "set_progress_ratio" }, // PathFollow2D, PathFollow3D |
578 | { "set_uv2" , "surface_set_uv2" }, // ImmediateMesh -- Breaks SurfaceTool. |
579 | { "set_verts_per_poly" , "set_vertices_per_polygon" }, // NavigationMesh |
580 | { "set_v_drag_enabled" , "set_drag_vertical_enabled" }, // Camera2D |
581 | { "set_valign" , "set_vertical_alignment" }, // Label |
582 | { "set_window_layout" , "_set_window_layout" }, // EditorPlugin |
583 | { "set_zfar" , "set_far" }, // Camera3D -- Breaks GLTFCamera. |
584 | { "set_znear" , "set_near" }, // Camera3D -- Breaks GLTFCamera. |
585 | { "shortcut_match" , "is_match" }, // InputEvent |
586 | { "skeleton_allocate" , "skeleton_allocate_data" }, // RenderingServer |
587 | { "surface_update_region" , "surface_update_attribute_region" }, // ArrayMesh |
588 | { "track_remove_key_at_position" , "track_remove_key_at_time" }, // Animation |
589 | { "triangulate_delaunay_2d" , "triangulate_delaunay" }, // Geometry2D |
590 | { "unselect" , "deselect" }, // ItemList |
591 | { "unselect_all" , "deselect_all" }, // ItemList |
592 | { "update_configuration_warning" , "update_configuration_warnings" }, // Node |
593 | { "update_gizmo" , "update_gizmos" }, // Node3D |
594 | { "viewport_set_use_arvr" , "viewport_set_use_xr" }, // RenderingServer |
595 | { "warp_mouse_position" , "warp_mouse" }, // Input |
596 | { "world_to_map" , "local_to_map" }, // TileMap, GridMap |
597 | |
598 | // Builtin types |
599 | // Remember to add them to the builtin_types_excluded_functions variable, because for now these functions cannot be listed. |
600 | // { "empty", "is_empty" }, // Array -- Used as custom rule. Be careful, this will be used everywhere. |
601 | // { "invert", "reverse" }, // Array -- Give it a check. Be careful, this will be used everywhere. |
602 | // { "remove", "remove_at" }, // Array -- Breaks Directory and several more. |
603 | { "clamped" , "limit_length" }, // Vector2 |
604 | { "get_rotation_quat" , "get_rotation_quaternion" }, // Basis |
605 | { "grow_margin" , "grow_side" }, // Rect2 |
606 | { "is_abs_path" , "is_absolute_path" }, // String |
607 | { "is_valid_integer" , "is_valid_int" }, // String |
608 | { "linear_interpolate" , "lerp" }, // Color |
609 | { "find_last" , "rfind" }, // Array, String |
610 | { "to_ascii" , "to_ascii_buffer" }, // String |
611 | { "to_utf8" , "to_utf8_buffer" }, // String |
612 | { "to_wchar" , "to_wchar_buffer" }, // String |
613 | |
614 | // @GlobalScope |
615 | // Remember to add them to the builtin_types_excluded_functions variable, because for now these functions cannot be listed. |
616 | { "bytes2var" , "bytes_to_var" }, |
617 | { "bytes2var_with_objects" , "bytes_to_var_with_objects" }, |
618 | { "db2linear" , "db_to_linear" }, |
619 | { "deg2rad" , "deg_to_rad" }, |
620 | { "linear2db" , "linear_to_db" }, |
621 | { "rad2deg" , "rad_to_deg" }, |
622 | { "rand_range" , "randf_range" }, |
623 | { "range_lerp" , "remap" }, |
624 | { "stepify" , "snapped" }, |
625 | { "str2var" , "str_to_var" }, |
626 | { "var2str" , "var_to_str" }, |
627 | { "var2bytes" , "var_to_bytes" }, |
628 | { "var2bytes_with_objects" , "var_to_bytes_with_objects" }, |
629 | |
630 | // @GDScript |
631 | // Remember to add them to the builtin_types_excluded_functions variable, because for now these functions cannot be listed. |
632 | { "dict2inst" , "dict_to_inst" }, |
633 | { "inst2dict" , "inst_to_dict" }, |
634 | |
635 | { nullptr, nullptr }, |
636 | }; |
637 | |
638 | // gdscript_function_renames clone with CamelCase |
639 | const char *RenamesMap3To4::csharp_function_renames[][2] = { |
640 | { "_AboutToShow" , "_AboutToPopup" }, // ColorPickerButton |
641 | { "_GetConfigurationWarning" , "_GetConfigurationWarnings" }, // Node |
642 | { "_SetCurrent" , "SetCurrent" }, // Camera2D |
643 | { "_SetEditorDescription" , "SetEditorDescription" }, // Node |
644 | { "_SetPlaying" , "SetPlaying" }, // AnimatedSprite3D |
645 | { "_ToplevelRaiseSelf" , "_TopLevelRaiseSelf" }, // CanvasItem |
646 | { "_UpdateWrapAt" , "_UpdateWrapAtColumn" }, // TextEdit |
647 | { "AddAnimation" , "AddAnimationLibrary" }, // AnimationPlayer |
648 | { "AddCancel" , "AddCancelButton" }, // AcceptDialog |
649 | { "AddCentralForce" , "AddConstantCentralForce" }, //RigidBody2D |
650 | { "AddChildBelowNode" , "AddSibling" }, // Node |
651 | { "AddColorOverride" , "AddThemeColorOverride" }, // Control |
652 | { "AddConstantOverride" , "AddThemeConstantOverride" }, // Control |
653 | { "AddFontOverride" , "AddThemeFontOverride" }, // Control |
654 | { "AddForce" , "AddConstantForce" }, //RigidBody2D |
655 | { "AddIconOverride" , "AddThemeIconOverride" }, // Control |
656 | { "AddSceneImportPlugin" , "AddSceneFormatImporterPlugin" }, //EditorPlugin |
657 | { "AddSpatialGizmoPlugin" , "AddNode3dGizmoPlugin" }, // EditorPlugin |
658 | { "AddStyleboxOverride" , "AddThemeStyleboxOverride" }, // Control |
659 | { "AddTorque" , "AddConstantTorque" }, //RigidBody2D |
660 | { "AgentSetNeighborDist" , "AgentSetNeighborDistance" }, // NavigationServer2D, NavigationServer3D |
661 | { "BindChildNodeToBone" , "SetBoneChildren" }, // Skeleton3D |
662 | { "BumpmapToNormalmap" , "BumpMapToNormalMap" }, // Image |
663 | { "CanBeHidden" , "_CanBeHidden" }, // EditorNode3DGizmoPlugin |
664 | { "CanDropData" , "_CanDropData" }, // Control |
665 | { "CanDropDataFw" , "_CanDropDataFw" }, // ScriptEditor |
666 | { "CanGenerateSmallPreview" , "_CanGenerateSmallPreview" }, // EditorResourcePreviewGenerator |
667 | { "CanInstance" , "CanInstantiate" }, // PackedScene, Script |
668 | { "CanvasLightSetScale" , "CanvasLightSetTextureScale" }, // RenderingServer |
669 | { "CaptureGetDevice" , "GetInputDevice" }, // AudioServer |
670 | { "CaptureGetDeviceList" , "GetInputDeviceList" }, // AudioServer |
671 | { "CaptureSetDevice" , "SetInputDevice" }, // AudioServer |
672 | { "CenterViewportToCursor" , "CenterViewportToCaret" }, // TextEdit |
673 | { "ChangeScene" , "ChangeSceneToFile" }, // SceneTree |
674 | { "ChangeSceneTo" , "ChangeSceneToPacked" }, // SceneTree |
675 | { "ClipPolygons2d" , "ClipPolygons" }, // Geometry2D |
676 | { "ClipPolylineWithPolygon2d" , "ClipPolylineWithPolygon" }, //Geometry2D |
677 | { "CommitHandle" , "_CommitHandle" }, // EditorNode3DGizmo |
678 | { "ConvexHull2d" , "ConvexHull" }, // Geometry2D |
679 | { "CursorGetBlinkSpeed" , "GetCaretBlinkInterval" }, // TextEdit |
680 | { "CursorGetColumn" , "GetCaretColumn" }, // TextEdit |
681 | { "CursorGetLine" , "GetCaretLine" }, // TextEdit |
682 | { "CursorSetBlinkEnabled" , "SetCaretBlinkEnabled" }, // TextEdit |
683 | { "CursorSetBlinkSpeed" , "SetCaretBlinkInterval" }, // TextEdit |
684 | { "CursorSetColumn" , "SetCaretColumn" }, // TextEdit |
685 | { "CursorSetLine" , "SetCaretLine" }, // TextEdit |
686 | { "DampedSpringJointCreate" , "JointMakeDampedSpring" }, // PhysicsServer2D |
687 | { "DampedStringJointGetParam" , "DampedSpringJointGetParam" }, // PhysicsServer2D |
688 | { "DampedStringJointSetParam" , "DampedSpringJointSetParam" }, // PhysicsServer2D |
689 | { "DeleteCharAtCursor" , "DeleteCharAtCaret" }, // LineEdit |
690 | { "DeselectItems" , "DeselectAll" }, // FileDialog |
691 | { "DropData" , "_DropData" }, // Control |
692 | { "DropDataFw" , "_DropDataFw" }, // ScriptEditor |
693 | { "ExcludePolygons2d" , "ExcludePolygons" }, // Geometry2D |
694 | { "FindScancodeFromString" , "FindKeycodeFromString" }, // OS |
695 | { "ForwardCanvasDrawOverViewport" , "_ForwardCanvasDrawOverViewport" }, // EditorPlugin |
696 | { "ForwardCanvasForceDrawOverViewport" , "_ForwardCanvasForceDrawOverViewport" }, // EditorPlugin |
697 | { "ForwardCanvasGuiInput" , "_ForwardCanvasGuiInput" }, // EditorPlugin |
698 | { "ForwardSpatialDrawOverViewport" , "_Forward3dDrawOverViewport" }, // EditorPlugin |
699 | { "ForwardSpatialForceDrawOverViewport" , "_Forward3dForceDrawOverViewport" }, // EditorPlugin |
700 | { "ForwardSpatialGuiInput" , "_Forward3dGuiInput" }, // EditorPlugin |
701 | { "GenerateFromPath" , "_GenerateFromPath" }, // EditorResourcePreviewGenerator |
702 | { "GenerateSmallPreviewAutomatically" , "_GenerateSmallPreviewAutomatically" }, // EditorResourcePreviewGenerator |
703 | { "GetActionList" , "ActionGetEvents" }, // InputMap |
704 | { "GetAlt" , "IsAltPressed" }, // InputEventWithModifiers |
705 | { "GetAnimationProcessMode" , "GetProcessCallback" }, // AnimationPlayer |
706 | { "GetAppliedForce" , "GetConstantForce" }, //RigidBody2D |
707 | { "GetAppliedTorque" , "GetConstantTorque" }, //RigidBody2D |
708 | { "GetAudioBus" , "GetAudioBusName" }, // Area3D |
709 | { "GetBoundChildNodesToBone" , "GetBoneChildren" }, // Skeleton3D |
710 | { "GetCamera" , "GetCamera3d" }, // Viewport -- This is also convertible to GetCamera2d. Breaks GLTFNode. |
711 | { "GetCancel" , "GetCancelButton" }, // ConfirmationDialog |
712 | { "GetCaption" , "_GetCaption" }, // AnimationNode |
713 | { "GetCastTo" , "GetTargetPosition" }, // RayCast2D, RayCast3D |
714 | { "GetChildByName" , "_GetChildByName" }, // AnimationNode |
715 | { "GetChildNodes" , "_GetChildNodes" }, // AnimationNode |
716 | { "GetClosestPointToSegment2d" , "GetClosestPointToSegment" }, // Geometry2D |
717 | { "GetClosestPointToSegmentUncapped2d" , "GetClosestPointToSegmentUncapped" }, // Geometry2D |
718 | { "GetClosestPointsBetweenSegments2d" , "GetClosestPointToSegment" }, // Geometry2D |
719 | { "GetCollisionLayerBit" , "GetCollisionLayerValue" }, // CSGShape3D, and a lot of others like GridMap. |
720 | { "GetCollisionMaskBit" , "GetCollisionMaskValue" }, // CSGShape3D, and a lot of others like GridMap. |
721 | { "GetColorTypes" , "GetColorTypeList" }, // Theme |
722 | { "GetCommand" , "IsCommandPressed" }, // InputEventWithModifiers |
723 | { "GetConstantTypes" , "GetConstantTypeList" }, // Theme |
724 | { "GetControl" , "IsCtrlPressed" }, // InputEventWithModifiers |
725 | { "GetCullMaskBit" , "GetCullMaskValue" }, // Camera3D |
726 | { "GetCursorPosition" , "GetCaretColumn" }, // LineEdit |
727 | { "GetD" , "GetDistance" }, // LineShape2D |
728 | { "GetDefaultLength" , "GetLength" }, // Bone2D |
729 | { "GetDepthBiasEnable" , "GetDepthBiasEnabled" }, // RDPipelineRasterizationState |
730 | { "GetDevice" , "GetOutputDevice" }, // AudioServer |
731 | { "GetDeviceList" , "GetOutputDeviceList" }, // AudioServer |
732 | { "GetDragDataFw" , "_GetDragDataFw" }, // ScriptEditor |
733 | { "GetEditorViewport" , "GetViewport" }, // EditorPlugin |
734 | { "GetEnabledFocusMode" , "GetFocusMode" }, // BaseButton |
735 | { "GetEndianSwap" , "IsBigEndian" }, // File |
736 | { "GetErrorString" , "GetErrorMessage" }, // JSON |
737 | { "GetFinalLocation" , "GetFinalPosition" }, // NavigationAgent2D, NavigationAgent3D |
738 | { "GetFocusNeighbour" , "GetFocusNeighbor" }, // Control |
739 | { "GetFollowSmoothing" , "GetPositionSmoothingSpeed" }, // Camera2D |
740 | { "GetFontTypes" , "GetFontTypeList" }, // Theme |
741 | { "GetFrameColor" , "GetColor" }, // ColorRect |
742 | { "GetGlobalRateScale" , "GetPlaybackSpeedScale" }, // AudioServer |
743 | { "GetGravityDistanceScale" , "GetGravityPointDistanceScale" }, // Area2D |
744 | { "GetGravityVector" , "GetGravityDirection" }, // Area2D |
745 | { "GetHScrollbar" , "GetHScrollBar" }, // ScrollContainer |
746 | { "GetHand" , "GetTrackerHand" }, // XRPositionalTracker |
747 | { "GetHandleName" , "_GetHandleName" }, // EditorNode3DGizmo |
748 | { "GetHandleValue" , "_GetHandleValue" }, // EditorNode3DGizmo |
749 | { "GetIconAlign" , "GetIconAlignment" }, // Button |
750 | { "GetIconTypes" , "GetIconTypeList" }, // Theme |
751 | { "GetIdleFrames" , "GetProcessFrames" }, // Engine |
752 | { "GetImportOptions" , "_GetImportOptions" }, // EditorImportPlugin |
753 | { "GetImportOrder" , "_GetImportOrder" }, // EditorImportPlugin |
754 | { "GetImporterName" , "_GetImporterName" }, // EditorImportPlugin |
755 | { "GetInteriorAmbient" , "GetAmbientColor" }, // ReflectionProbe |
756 | { "GetInteriorAmbientEnergy" , "GetAmbientColorEnergy" }, // ReflectionProbe |
757 | { "GetItemNavmesh" , "GetItemMavigationMesh" }, // MeshLibrary |
758 | { "GetItemNavmeshTransform" , "GetItemNavigationMeshTransform" }, // MeshLibrary |
759 | { "GetIterationsPerSecond" , "GetPhysicsTicksPerSecond" }, // Engine |
760 | { "GetLastMouseSpeed" , "GetLastMouseVelocity" }, // Input |
761 | { "GetLayerMaskBit" , "GetLayerMaskValue" }, // VisualInstance3D |
762 | { "GetLen" , "GetLength" }, // File |
763 | { "GetMaxAtlasSize" , "GetMaxTextureSize" }, // LightmapGI |
764 | { "GetMetakey" , "IsMetaPressed" }, // InputEventWithModifiers |
765 | { "GetMidHeight" , "GetHeight" }, // CapsuleMesh |
766 | { "GetMotionRemainder" , "GetRemainder" }, // PhysicsTestMotionResult2D |
767 | { "GetNavPath" , "GetCurrentNavigationPath" }, // NavigationAgent2D, NavigationAgent3D |
768 | { "GetNavPathIndex" , "GetCurrentNavigationPathIndex" }, // NavigationAgent2D, NavigationAgent3D |
769 | { "GetNeighborDist" , "GetNeighborDistance" }, // NavigationAgent2D, NavigationAgent3D |
770 | { "GetNetworkConnectedPeers" , "GetPeers" }, // Multiplayer API |
771 | { "GetNetworkMaster" , "GetMultiplayerAuthority" }, // Node |
772 | { "GetNetworkPeer" , "GetMultiplayerPeer" }, // Multiplayer API |
773 | { "GetNetworkUniqueId" , "GetUniqueId" }, // Multiplayer API |
774 | { "GetNextLocation" , "GetNextPathPosition" }, // NavigationAgent2D, NavigationAgent3D |
775 | { "GetOneshot" , "GetOneShot" }, // AnimatedTexture |
776 | { "GetOk" , "GetOkButton" }, // AcceptDialog |
777 | { "GetOptionVisibility" , "_GetOptionVisibility" }, // EditorImportPlugin |
778 | { "GetParameterDefaultValue" , "_GetParameterDefaultValue" }, // AnimationNode |
779 | { "GetParameterList" , "_GetParameterList" }, // AnimationNode |
780 | { "GetParentSpatial" , "GetParentNode3d" }, // Node3D |
781 | { "GetPhysicalScancode" , "GetPhysicalKeycode" }, // InputEventKey |
782 | { "GetPhysicalScancodeWithModifiers" , "GetPhysicalKeycodeWithModifiers" }, // InputEventKey |
783 | { "GetPluginIcon" , "_GetPluginIcon" }, // EditorPlugin |
784 | { "GetPluginName" , "_GetPluginName" }, // EditorPlugin |
785 | { "GetPresetCount" , "_GetPresetCount" }, // EditorImportPlugin |
786 | { "GetPresetName" , "_GetPresetName" }, // EditorImportPlugin |
787 | { "GetRecognizedExtensions" , "_GetRecognizedExtensions" }, // ResourceFormatLoader, EditorImportPlugin -- Breaks ResourceSaver. |
788 | { "GetRenderInfo" , "GetRenderingInfo" }, // RenderingServer |
789 | { "GetRenderTargetsize" , "GetRenderTargetSize" }, // XRInterface |
790 | { "GetResourceType" , "_GetResourceType" }, // ResourceFormatLoader |
791 | { "GetResult" , "GetData" }, // JSON |
792 | { "GetReverbBus" , "GetReverbBusName" }, // Area3D |
793 | { "GetRpcSenderId" , "GetRemoteSenderId" }, // Multiplayer API |
794 | { "GetSaveExtension" , "_GetSaveExtension" }, // EditorImportPlugin |
795 | { "GetScancode" , "GetKeycode" }, // InputEventKey |
796 | { "GetScancodeString" , "GetKeycodeString" }, // OS |
797 | { "GetScancodeWithModifiers" , "GetKeycodeWithModifiers" }, // InputEventKey |
798 | { "GetShaderParam" , "GetShaderParameter" }, // ShaderMaterial |
799 | { "GetShift" , "IsShiftPressed" }, // InputEventWithModifiers |
800 | { "GetSizeOverride" , "GetSize2dOverride" }, // SubViewport |
801 | { "GetSlipsOnSlope" , "GetSlideOnSlope" }, // SeparationRayShape2D, SeparationRayShape3D |
802 | { "GetSpaceOverrideMode" , "GetGravitySpaceOverrideMode" }, // Area2D |
803 | { "GetSpatialNode" , "GetNode3d" }, // EditorNode3DGizmo |
804 | { "GetSpeed" , "GetVelocity" }, // InputEventMouseMotion |
805 | { "GetStyleboxTypes" , "GetStyleboxTypeList" }, // Theme |
806 | { "GetSurfaceMaterial" , "GetSurfaceOverrideMaterial" }, // MeshInstance3D -- Breaks ImporterMesh. |
807 | { "GetSurfaceMaterialCount" , "GetSurfaceOverrideMaterialCount" }, // MeshInstance3D |
808 | { "GetTabDisabled" , "IsTabDisabled" }, // Tab |
809 | { "GetTabHidden" , "IsTabHidden" }, // Tab |
810 | { "GetTargetLocation" , "GetTargetPosition" }, // NavigationAgent2D, NavigationAgent3D |
811 | { "GetTextAlign" , "GetTextAlignment" }, // Button |
812 | { "GetThemeItemTypes" , "GetThemeItemTypeList" }, // Theme |
813 | { "GetTimerProcessMode" , "GetTimerProcessCallback" }, // Timer |
814 | { "GetTranslation" , "GetPosition" }, // Node3D -- Breaks GLTFNode, but it is used rarely. |
815 | { "GetUniformName" , "GetParameterName" }, // ParameterRef |
816 | { "GetUnitDb" , "GetVolumeDb" }, // AudioStreamPlayer3D |
817 | { "GetUnitOffset" , "GetProgressRatio" }, // PathFollow2D, PathFollow3D |
818 | { "GetUseInBakedLight" , "IsBakingNavigation" }, // GridMap |
819 | { "GetVertsPerPoly" , "GetVerticesPerPolygon" }, // NavigationMesh |
820 | { "GetVScrollbar" , "GetVScrollBar" }, // ScrollContainer |
821 | { "GetVisibleName" , "_GetVisibleName" }, // EditorImportPlugin |
822 | { "GetWindowLayout" , "_GetWindowLayout" }, // EditorPlugin |
823 | { "GetWordUnderCursor" , "GetWordUnderCaret" }, // TextEdit |
824 | { "GetWorld" , "GetWorld3d" }, // Viewport, Node3D |
825 | { "GetZfar" , "GetFar" }, // Camera3D -- Breaks GLTFCamera |
826 | { "GetZnear" , "GetNear" }, // Camera3D -- Breaks GLTFCamera |
827 | { "GrooveJointCreate" , "JointMakeGroove" }, // PhysicsServer2D |
828 | { "HandleMenuSelected" , "_HandleMenuSelected" }, // EditorResourcePicker |
829 | { "HandlesType" , "_HandlesType" }, // ResourceFormatLoader |
830 | { "HasColor" , "HasThemeColor" }, // Control -- Breaks Theme |
831 | { "HasColorOverride" , "HasThemeColorOverride" }, // Control -- Breaks Theme |
832 | { "HasConstant" , "HasThemeConstant" }, // Control |
833 | { "HasConstantOverride" , "HasThemeConstantOverride" }, // Control |
834 | { "HasFilter" , "_HasFilter" }, // AnimationNode |
835 | { "HasFont" , "HasThemeFont" }, // Control -- Breaks Theme |
836 | { "HasFontOverride" , "HasThemeFontOverride" }, // Control |
837 | { "HasIcon" , "HasThemeIcon" }, // Control -- Breaks Theme |
838 | { "HasIconOverride" , "HasThemeIconOverride" }, // Control |
839 | { "HasMainScreen" , "_HasMainScreen" }, // EditorPlugin |
840 | { "HasNetworkPeer" , "HasMultiplayerPeer" }, // Multiplayer API |
841 | { "HasStylebox" , "HasThemeStylebox" }, // Control -- Breaks Theme |
842 | { "HasStyleboxOverride" , "HasThemeStyleboxOverride" }, // Control |
843 | { "HttpEscape" , "UriEncode" }, // String |
844 | { "HttpUnescape" , "UriDecode" }, // String |
845 | { "ImportAnimationFromOtherImporter" , "_ImportAnimation" }, // EditorSceneFormatImporter |
846 | { "ImportSceneFromOtherImporter" , "_ImportScene" }, // EditorSceneFormatImporter |
847 | { "InstanceSetSurfaceMaterial" , "InstanceSetSurfaceOverrideMaterial" }, // RenderingServer |
848 | { "IntersectPolygons2d" , "IntersectPolygons" }, // Geometry2D |
849 | { "IntersectPolylineWithPolygon2d" , "IntersectPolylineWithPolygon" }, // Geometry2D |
850 | { "IsAParentOf" , "IsAncestorOf" }, // Node |
851 | { "IsCommitingAction" , "IsCommittingAction" }, // UndoRedo |
852 | { "IsDoubleclick" , "IsDoubleClick" }, // InputEventMouseButton |
853 | { "IsFollowSmoothingEnabled" , "IsPositionSmoothingEnabled" }, // Camera2D |
854 | { "IsHDragEnabled" , "IsDragHorizontalEnabled" }, // Camera2D |
855 | { "IsHandleHighlighted" , "_IsHandleHighlighted" }, // EditorNode3DGizmo, EditorNode3DGizmoPlugin |
856 | { "IsNetworkMaster" , "IsMultiplayerAuthority" }, // Node |
857 | { "IsNetworkServer" , "IsServer" }, // Multiplayer API |
858 | { "IsNormalmap" , "IsNormalMap" }, // NoiseTexture |
859 | { "IsRefusingNewNetworkConnections" , "IsRefusingNewConnections" }, // Multiplayer API |
860 | { "IsRegion" , "IsRegionEnabled" }, // Sprite2D |
861 | { "IsRotating" , "IsIgnoringRotation" }, // Camera2D |
862 | { "IsScancodeUnicode" , "IsKeycodeUnicode" }, // OS |
863 | { "IsSelectableWhenHidden" , "_IsSelectableWhenHidden" }, // EditorNode3DGizmoPlugin |
864 | { "IsSetAsToplevel" , "IsSetAsTopLevel" }, // CanvasItem |
865 | { "IsShortcut" , "MatchesEvent" }, // Shortcut |
866 | { "IsSizeOverrideStretchEnabled" , "IsSize2dOverrideStretchEnabled" }, // SubViewport |
867 | { "IsSortEnabled" , "IsYSortEnabled" }, // Node2D |
868 | { "IsStaticBody" , "IsAbleToSleep" }, // PhysicalBone3D -- Not sure. |
869 | { "IsVDragEnabled" , "IsDragVerticalEnabled" }, // Camera2D |
870 | { "JointCreateConeTwist" , "JointMakeConeTwist" }, // PhysicsServer3D |
871 | { "JointCreateGeneric6dof" , "JointMakeGeneric6dof" }, // PhysicsServer3D |
872 | { "JointCreateHinge" , "JointMakeHinge" }, // PhysicsServer3D |
873 | { "JointCreatePin" , "JointMakePin" }, // PhysicsServer3D |
874 | { "JointCreateSlider" , "JointMakeSlider" }, // PhysicsServer3D |
875 | { "LineIntersectsLine2d" , "LineIntersectsLine" }, // Geometry2D |
876 | { "LoadFromGlobals" , "LoadFromProjectSettings" }, // InputMap |
877 | { "MakeConvexFromBrothers" , "MakeConvexFromSiblings" }, // CollisionShape3D |
878 | { "MergePolygons2d" , "MergePolygons" }, // Geometry2D |
879 | { "MeshSurfaceGetFormat" , "MeshSurfaceGetFormatAttributeStride" }, // RenderingServer |
880 | { "MeshSurfaceUpdateRegion" , "MeshSurfaceUpdateAttributeRegion" }, // RenderingServer |
881 | { "MoveToBottom" , "MoveAfter" }, // Skeleton3D |
882 | { "MoveToTop" , "MoveBefore" }, // Skeleton3D |
883 | { "MultimeshAllocate" , "MultimeshAllocateData" }, // RenderingServer |
884 | { "NormalmapToXy" , "NormalMapToXy" }, // Image |
885 | { "OffsetPolygon2d" , "OffsetPolygon" }, // Geometry2D |
886 | { "OffsetPolyline2d" , "OffsetPolyline" }, // Geometry2D |
887 | { "PercentDecode" , "UriDecode" }, // String |
888 | { "PercentEncode" , "UriEncode" }, // String |
889 | { "PinJointCreate" , "JointMakePin" }, // PhysicsServer2D |
890 | { "PopupCenteredMinsize" , "PopupCenteredClamped" }, // Window |
891 | { "PostImport" , "_PostImport" }, // EditorScenePostImport |
892 | { "PrintStrayNodes" , "PrintOrphanNodes" }, // Node |
893 | { "PropertyListChangedNotify" , "NotifyPropertyListChanged" }, // Object |
894 | { "Recognize" , "_Recognize" }, // ResourceFormatLoader |
895 | { "RegenNormalmaps" , "RegenNormalMaps" }, // ArrayMesh |
896 | { "RegionBakeNavmesh" , "region_bake_navigation_mesh" }, // Navigation3DServer |
897 | { "RegionSetNavmesh" , "RegionSetNavigationMesh" }, // Navigation3DServer |
898 | { "RegionSetNavpoly" , "RegionSetNavigationPolygon" }, // Navigation2DServer |
899 | { "RemoveAnimation" , "RemoveAnimationLibrary" }, // AnimationPlayer |
900 | { "RemoveColorOverride" , "RemoveThemeColorOverride" }, // Control |
901 | { "RemoveConstantOverride" , "RemoveThemeConstantOverride" }, // Control |
902 | { "RemoveFontOverride" , "RemoveThemeFontOverride" }, // Control |
903 | { "RemoveSceneImportPlugin" , "RemoveSceneFormatImporterPlugin" }, //EditorPlugin |
904 | { "RemoveSpatialGizmoPlugin" , "RemoveNode3dGizmoPlugin" }, // EditorPlugin |
905 | { "RemoveStyleboxOverride" , "RemoveThemeStyleboxOverride" }, // Control |
906 | { "RenameAnimation" , "RenameAnimationLibrary" }, // AnimationPlayer |
907 | { "RenameDependencies" , "_RenameDependencies" }, // ResourceFormatLoader |
908 | { "SaveExternalData" , "_SaveExternalData" }, // EditorPlugin |
909 | { "SegmentIntersectsSegment2d" , "SegmentIntersectsSegment" }, // Geometry2D |
910 | { "SetAdjustmentEnable" , "SetAdjustmentEnabled" }, // Environment |
911 | { "SetAlt" , "SetAltPressed" }, // InputEventWithModifiers |
912 | { "SetAnchorAndMargin" , "SetAnchorAndOffset" }, // Control |
913 | { "SetAnchorsAndMarginsPreset" , "SetAnchorsAndOffsetsPreset" }, // Control |
914 | { "SetAnimationProcessMode" , "SetProcessCallback" }, // AnimationPlayer |
915 | { "SetAsBulkArray" , "SetBuffer" }, // MultiMesh |
916 | { "SetAsNormalmap" , "SetAsNormalMap" }, // NoiseTexture |
917 | { "SetAsToplevel" , "SetAsTopLevel" }, // CanvasItem |
918 | { "SetAudioBus" , "SetAudioBusName" }, // Area3D |
919 | { "SetAutowrap" , "SetAutowrapMode" }, // Label -- Breaks AcceptDialog. |
920 | { "SetCastTo" , "SetTargetPosition" }, // RayCast2D, RayCast3D |
921 | { "SetCollisionLayerBit" , "SetCollisionLayerValue" }, // CSGShape3D, and a lot of others like GridMap. |
922 | { "SetCollisionMaskBit" , "SetCollisionMaskValue" }, // CSGShape3D, and a lot of others like GridMap. |
923 | { "SetColumnMinWidth" , "SetColumnCustomMinimumWidth" }, // Tree |
924 | { "SetCommand" , "SetCommandPressed" }, // InputEventWithModifiers |
925 | { "SetControl" , "SetCtrlPressed" }, // InputEventWithModifiers |
926 | { "SetCreateOptions" , "_SetCreateOptions" }, // EditorResourcePicker |
927 | { "SetCullMaskBit" , "SetCullMaskValue" }, // Camera3D |
928 | { "SetCursorPosition" , "SetCaretColumn" }, // LineEdit |
929 | { "SetD" , "SetDistance" }, // WorldMarginShape2D |
930 | { "SetDefaultLength" , "SetLength" }, // Bone2D |
931 | { "SetDepthBiasEnable" , "SetDepthBiasEnabled" }, // RDPipelineRasterizationState |
932 | { "SetDevice" , "SetOutputDevice" }, // AudioServer |
933 | { "SetDoubleclick" , "SetDoubleClick" }, // InputEventMouseButton |
934 | { "SetEnableFollowSmoothing" , "SetPositionSmoothingEnabled" }, // Camera2D |
935 | { "SetEnabledFocusMode" , "SetFocusMode" }, // BaseButton |
936 | { "SetEndianSwap" , "SetBigEndian" }, // File |
937 | { "SetExpandToTextLength" , "SetExpandToTextLengthEnabled" }, // LineEdit |
938 | { "SetFocusNeighbour" , "SetFocusNeighbor" }, // Control |
939 | { "SetFollowSmoothing" , "SetPositionSmoothingSpeed" }, // Camera2D |
940 | { "SetFrameColor" , "SetColor" }, // ColorRect |
941 | { "SetGlobalRateScale" , "SetPlaybackSpeedScale" }, // AudioServer |
942 | { "SetGravityDistanceScale" , "SetGravityPointDistanceScale" }, // Area2D |
943 | { "SetGravityVector" , "SetGravityDirection" }, // Area2D |
944 | { "SetHDragEnabled" , "SetDragHorizontalEnabled" }, // Camera2D |
945 | { "SetIconAlign" , "SetIconAlignment" }, // Button |
946 | { "SetInteriorAmbient" , "SetAmbientColor" }, // ReflectionProbe |
947 | { "SetInteriorAmbientEnergy" , "SetAmbientColorEnergy" }, // ReflectionProbe |
948 | { "SetIsInitialized" , "_IsInitialized" }, // XRInterface |
949 | { "SetIsPrimary" , "SetPrimary" }, // XRInterface |
950 | { "SetItemNavmesh" , "SetItemNavigationMesh" }, // MeshLibrary |
951 | { "SetItemNavmeshTransform" , "SetItemNavigationMeshTransform" }, // MeshLibrary |
952 | { "SetIterationsPerSecond" , "SetPhysicsTicksPerSecond" }, // Engine |
953 | { "SetLayerMaskBit" , "SetLayerMaskValue" }, // VisualInstance3D |
954 | { "SetMarginsPreset" , "SetOffsetsPreset" }, // Control |
955 | { "SetMaxAtlasSize" , "SetMaxTextureSize" }, // LightmapGI |
956 | { "SetMetakey" , "SetMetaPressed" }, // InputEventWithModifiers |
957 | { "SetMidHeight" , "SetHeight" }, // CapsuleMesh |
958 | { "SetNeighborDist" , "SetNeighborDistance" }, // NavigationAgent2D, NavigationAgent3D |
959 | { "SetNetworkMaster" , "SetMultiplayerAuthority" }, // Node |
960 | { "SetNetworkPeer" , "SetMultiplayerPeer" }, // Multiplayer API |
961 | { "SetOneshot" , "SetOneShot" }, // AnimatedTexture |
962 | { "SetPhysicalScancode" , "SetPhysicalKeycode" }, // InputEventKey |
963 | { "SetProximityFade" , "SetProximityFadeEnabled" }, // Material |
964 | { "SetRefuseNewNetworkConnections" , "SetRefuseNewConnections" }, // Multiplayer API |
965 | { "SetRegion" , "SetRegionEnabled" }, // Sprite2D -- Sprite breaks AtlasTexture. |
966 | { "SetRegionFilterClip" , "SetRegionFilterClipEnabled" }, // Sprite2D |
967 | { "SetReverbBus" , "SetReverbBusName" }, // Area3D |
968 | { "SetRotate" , "SetRotates" }, // PathFollow2D |
969 | { "SetScancode" , "SetKeycode" }, // InputEventKey |
970 | { "SetShaderParam" , "SetShaderParameter" }, // ShaderMaterial |
971 | { "SetShift" , "SetShiftPressed" }, // InputEventWithModifiers |
972 | { "SetSizeOverride" , "SetSize2dOverride" }, // SubViewport -- Breaks ImageTexture. |
973 | { "SetSizeOverrideStretch" , "SetSize2dOverrideStretch" }, // SubViewport |
974 | { "SetSlipsOnSlope" , "SetSlideOnSlope" }, // SeparationRayShape2D, SeparationRayShape3D |
975 | { "SetSortEnabled" , "SetYSortEnabled" }, // Node2D |
976 | { "SetSpaceOverrideMode" , "SetGravitySpaceOverrideMode" }, // Area2D |
977 | { "SetSpatialNode" , "SetNode3d" }, // EditorNode3DGizmo |
978 | { "SetSpeed" , "SetVelocity" }, // InputEventMouseMotion |
979 | { "SetSsaoEdgeSharpness" , "SetSsaoSharpness" }, // Environment |
980 | { "SetSurfaceMaterial" , "SetSurfaceOverrideMaterial" }, // MeshInstance3D -- Breaks ImporterMesh. |
981 | { "SetTabAlign" , "SetTabAlignment" }, // TabContainer |
982 | { "SetTangent" , "SurfaceSetTangent" }, // ImmediateGeometry -- Breaks SurfaceTool. |
983 | { "SetTargetLocation" , "SetTargetPosition" }, // NavigationAgent2D, NavigationAgent3D |
984 | { "SetTextAlign" , "SetTextAlignment" }, // Button |
985 | { "SetTimerProcessMode" , "SetTimerProcessCallback" }, // Timer |
986 | { "SetTonemapAutoExposure" , "SetTonemapAutoExposureEnabled" }, // Environment |
987 | { "SetTranslation" , "SetPosition" }, // Node3D -- This breaks GLTFNode, but it is used rarely. |
988 | { "SetUniformName" , "SetParameterName" }, // ParameterRef |
989 | { "SetUnitDb" , "SetVolumeDb" }, // AudioStreamPlayer3D |
990 | { "SetUnitOffset" , "SetProgressRatio" }, // PathFollow2D, PathFollow3D |
991 | { "SetUv2" , "SurfaceSetUv2" }, // ImmediateMesh -- Breaks SurfaceTool. |
992 | { "SetVertsPerPoly" , "SetVerticesPerPolygon" }, // NavigationMesh |
993 | { "SetVDragEnabled" , "SetDragVerticalEnabled" }, // Camera2D |
994 | { "SetValign" , "SetVerticalAlignment" }, // Label |
995 | { "SetWindowLayout" , "_SetWindowLayout" }, // EditorPlugin |
996 | { "SetZfar" , "SetFar" }, // Camera3D -- Breaks GLTFCamera. |
997 | { "SetZnear" , "SetNear" }, // Camera3D -- Breaks GLTFCamera. |
998 | { "ShortcutMatch" , "IsMatch" }, // InputEvent |
999 | { "SkeletonAllocate" , "SkeletonAllocateData" }, // RenderingServer |
1000 | { "SurfaceUpdateRegion" , "SurfaceUpdateAttributeRegion" }, // ArrayMesh |
1001 | { "TrackRemoveKeyAtPosition" , "TrackRemoveKeyAtTime" }, // Animation |
1002 | { "TriangulateDelaunay2d" , "TriangulateDelaunay" }, // Geometry2D |
1003 | { "UnbindChildNodeFromBone" , "RemoveBoneChild" }, // Skeleton3D |
1004 | { "Unselect" , "Deselect" }, // ItemList |
1005 | { "UnselectAll" , "DeselectAll" }, // ItemList |
1006 | { "UpdateConfigurationWarning" , "UpdateConfigurationWarnings" }, // Node |
1007 | { "UpdateGizmo" , "UpdateGizmos" }, // Node3D |
1008 | { "ViewportSetUseArvr" , "ViewportSetUseXr" }, // RenderingServer |
1009 | { "WarpMousePosition" , "WarpMouse" }, // Input |
1010 | { "WorldToMap" , "LocalToMap" }, // TileMap, GridMap |
1011 | |
1012 | // Builtin types |
1013 | { "Clamped" , "LimitLength" }, // Vector2 |
1014 | { "GetRotationQuat" , "GetRotationQuaternion" }, // Basis |
1015 | { "GrowMargin" , "GrowSide" }, // Rect2 |
1016 | { "IsAbsPath" , "IsAbsolutePath" }, // String |
1017 | { "IsValidInteger" , "IsValidInt" }, // String |
1018 | { "LinearInterpolate" , "Lerp" }, // Color |
1019 | { "ToAscii" , "ToAsciiBuffer" }, // String |
1020 | { "ToUtf8" , "ToUtf8Buffer" }, // String |
1021 | |
1022 | // @GlobalScope |
1023 | { "Bytes2Var" , "BytesToVar" }, |
1024 | { "Bytes2VarWithObjects" , "BytesToVarWithObjects" }, |
1025 | { "Db2Linear" , "DbToLinear" }, |
1026 | { "Deg2Rad" , "DegToRad" }, |
1027 | { "Linear2Db" , "LinearToDb" }, |
1028 | { "Rad2Deg" , "RadToDeg" }, |
1029 | { "RandRange" , "RandfRange" }, |
1030 | { "RangeLerp" , "Remap" }, |
1031 | { "Stepify" , "Snapped" }, |
1032 | { "Str2Var" , "StrToVar" }, |
1033 | { "Var2Str" , "VarToStr" }, |
1034 | { "Var2Bytes" , "VarToBytes" }, |
1035 | { "Var2BytesWithObjects" , "VarToBytesWithObjects" }, |
1036 | |
1037 | // @GDScript |
1038 | { "Dict2Inst" , "DictToInst" }, |
1039 | { "Inst2Dict" , "InstToDict" }, |
1040 | |
1041 | { nullptr, nullptr }, |
1042 | }; |
1043 | |
1044 | const char *RenamesMap3To4::gdscript_properties_renames[][2] = { |
1045 | // NOTE: Commented out renames are disabled because deemed not suitable for |
1046 | // the current way the regex-based converter works. |
1047 | // When uncommenting any of those as suitable for conversion, please move it |
1048 | // to the block with other enabled conversions, ordered alphabetically, and |
1049 | // make sure to add it to the C# rename map too. |
1050 | |
1051 | // Too common words, users may use these names for variables or in comments. |
1052 | // { "bg", "panel" }, // Theme |
1053 | // { "alt", "alt_pressed" }, // InputEventWithModifiers |
1054 | // { "command", "command_pressed" }, // InputEventWithModifiers |
1055 | // { "control", "ctrl_pressed" }, // InputEventWithModifiers |
1056 | // { "d", "distance" }, // WorldMarginShape2D |
1057 | // { "device", "output_device" }, // AudioServer |
1058 | // { "doubleclick", "double_click" }, // InputEventMouseButton |
1059 | // { "filename", "scene_file_path" }, // Node |
1060 | // { "group", "button_group" }, // BaseButton |
1061 | // { "meta", "meta_pressed" }, // InputEventWithModifiers |
1062 | // { "rotate", "rotates" }, // PathFollow2D |
1063 | // { "off", "unchecked" }, // Theme |
1064 | // { "ofs", "offset" }, // Theme |
1065 | // { "offset", "progress" }, // PathFollow2D, PathFollow3D |
1066 | // { "on", "checked" }, // Theme |
1067 | // { "shift", "shift_pressed" }, // InputEventWithModifiers |
1068 | // { "window_title", "title" }, // Window |
1069 | // { "zfar", "far" }, // Camera3D |
1070 | // { "znear", "near" }, // Camera3D |
1071 | |
1072 | // Would need bespoke solution. |
1073 | // { "autowrap", "autowrap_mode" }, // Label -- Changed from bool to enum. |
1074 | // { "frames", "sprite_frames" }, // AnimatedSprite2D, AnimatedSprite3D -- GH-73696 |
1075 | // { "percent_visible, "show_percentage }, // ProgressBar -- Breaks Label and RichTextLabel. |
1076 | // { "pressed", "button_pressed" }, // BaseButton -- Would also rename the signal. |
1077 | // { "process_mode", "process_callback" }, // AnimationTree, Camera2D -- conflicts with Node. |
1078 | // { "wrap_enabled", "wrap_mode" }, // TextEdit -- Changed from bool to enum. |
1079 | |
1080 | { "as_normalmap" , "as_normal_map" }, // NoiseTexture |
1081 | { "bbcode_text" , "text" }, // RichTextLabel |
1082 | { "bg_focus" , "focus" }, // Theme |
1083 | { "capture_device" , "input_device" }, // AudioServer |
1084 | { "caret_blink_speed" , "caret_blink_interval" }, // TextEdit, LineEdit |
1085 | { "caret_moving_by_right_click" , "caret_move_on_right_click" }, // TextEdit |
1086 | { "caret_position" , "caret_column" }, // LineEdit |
1087 | { "cast_to" , "target_position" }, // RayCast2D, RayCast3D |
1088 | { "check_vadjust" , "check_v_offset" }, // Theme |
1089 | { "close_h_ofs" , "close_h_offset" }, // Theme |
1090 | { "close_v_ofs" , "close_v_offset" }, // Theme |
1091 | { "commentfocus" , "comment_focus" }, // Theme |
1092 | { "contacts_reported" , "max_contacts_reported" }, // RigidBody |
1093 | { "depth_bias_enable" , "depth_bias_enabled" }, // RDPipelineRasterizationState |
1094 | { "drag_margin_bottom" , "drag_bottom_margin" }, // Camera2D |
1095 | { "drag_margin_h_enabled" , "drag_horizontal_enabled" }, // Camera2D |
1096 | { "drag_margin_left" , "drag_left_margin" }, // Camera2D |
1097 | { "drag_margin_right" , "drag_right_margin" }, // Camera2D |
1098 | { "drag_margin_top" , "drag_top_margin" }, // Camera2D |
1099 | { "drag_margin_v_enabled" , "drag_vertical_enabled" }, // Camera2D |
1100 | { "enabled_focus_mode" , "focus_mode" }, // BaseButton - Removed |
1101 | { "extents" , "size" }, // BoxShape3D, LightmapGI, ReflectionProbe |
1102 | { "extra_spacing_bottom" , "spacing_bottom" }, // Font |
1103 | { "extra_spacing_top" , "spacing_top" }, // Font |
1104 | { "focus_neighbour_bottom" , "focus_neighbor_bottom" }, // Control |
1105 | { "focus_neighbour_left" , "focus_neighbor_left" }, // Control |
1106 | { "focus_neighbour_right" , "focus_neighbor_right" }, // Control |
1107 | { "focus_neighbour_top" , "focus_neighbor_top" }, // Control |
1108 | { "follow_viewport_enable" , "follow_viewport_enabled" }, // CanvasItem |
1109 | { "file_icon_modulate" , "file_icon_color" }, // Theme |
1110 | { "files_disabled" , "file_disabled_color" }, // Theme |
1111 | { "folder_icon_modulate" , "folder_icon_color" }, // Theme |
1112 | { "global_rate_scale" , "playback_speed_scale" }, // AudioServer |
1113 | { "global_translation" , "global_position" }, // Node3D |
1114 | { "gravity_distance_scale" , "gravity_point_unit_distance" }, // Area(2D/3D) |
1115 | { "gravity_vec" , "gravity_direction" }, // Area(2D/3D) |
1116 | { "hint_tooltip" , "tooltip_text" }, // Control |
1117 | { "hseparation" , "h_separation" }, // Theme |
1118 | { "icon_align" , "icon_alignment" }, // Button |
1119 | { "iterations_per_second" , "physics_ticks_per_second" }, // Engine |
1120 | { "invert_enable" , "invert_enabled" }, // Polygon2D |
1121 | { "margin_bottom" , "offset_bottom" }, // Control -- Breaks NinePatchRect, StyleBox. |
1122 | { "margin_left" , "offset_left" }, // Control -- Breaks NinePatchRect, StyleBox. |
1123 | { "margin_right" , "offset_right" }, // Control -- Breaks NinePatchRect, StyleBox. |
1124 | { "margin_top" , "offset_top" }, // Control -- Breaks NinePatchRect, StyleBox. |
1125 | { "mid_height" , "height" }, // CapsuleMesh |
1126 | { "navpoly" , "navigation_polygon" }, // NavigationRegion2D |
1127 | { "navmesh" , "navigation_mesh" }, // NavigationRegion3D |
1128 | { "neighbor_dist" , "neighbor_distance" }, // NavigationAgent2D, NavigationAgent3D |
1129 | { "octaves" , "fractal_octaves" }, // OpenSimplexNoise -> FastNoiseLite |
1130 | { "offset_h" , "drag_horizontal_offset" }, // Camera2D |
1131 | { "offset_v" , "drag_vertical_offset" }, // Camera2D |
1132 | { "off_disabled" , "unchecked_disabled" }, // Theme |
1133 | { "on_disabled" , "checked_disabled" }, // Theme |
1134 | { "oneshot" , "one_shot" }, // AnimatedTexture |
1135 | { "out_of_range_mode" , "max_polyphony" }, // AudioStreamPlayer3D |
1136 | { "pause_mode" , "process_mode" }, // Node |
1137 | { "physical_scancode" , "physical_keycode" }, // InputEventKey |
1138 | { "polygon_verts_per_poly" , "polygon_vertices_per_polyon" }, // NavigationMesh |
1139 | { "popup_exclusive" , "exclusive" }, // Window |
1140 | { "proximity_fade_enable" , "proximity_fade_enabled" }, // Material |
1141 | { "rect_position" , "position" }, // Control |
1142 | { "rect_global_position" , "global_position" }, // Control |
1143 | { "rect_size" , "size" }, // Control |
1144 | { "rect_min_size" , "custom_minimum_size" }, // Control |
1145 | { "rect_rotation" , "rotation" }, // Control |
1146 | { "rect_scale" , "scale" }, // Control |
1147 | { "rect_pivot_offset" , "pivot_offset" }, // Control |
1148 | { "rect_clip_content" , "clip_contents" }, // Control |
1149 | { "refuse_new_network_connections" , "refuse_new_connections" }, // MultiplayerAPI |
1150 | { "region_filter_clip" , "region_filter_clip_enabled" }, // Sprite2D |
1151 | { "reverb_bus_enable" , "reverb_bus_enabled" }, // Area3D |
1152 | { "scancode" , "keycode" }, // InputEventKey |
1153 | { "selectedframe" , "selected_frame" }, // Theme |
1154 | { "size_override_stretch" , "size_2d_override_stretch" }, // SubViewport |
1155 | { "slips_on_slope" , "slide_on_slope" }, // SeparationRayShape2D |
1156 | { "smoothing_enabled" , "position_smoothing_enabled" }, // Camera2D |
1157 | { "smoothing_speed" , "position_smoothing_speed" }, // Camera2D |
1158 | { "ss_reflections_depth_tolerance" , "ssr_depth_tolerance" }, // Environment |
1159 | { "ss_reflections_enabled" , "ssr_enabled" }, // Environment |
1160 | { "ss_reflections_fade_in" , "ssr_fade_in" }, // Environment |
1161 | { "ss_reflections_fade_out" , "ssr_fade_out" }, // Environment |
1162 | { "ss_reflections_max_steps" , "ssr_max_steps" }, // Environment |
1163 | { "state_machine_selectedframe" , "state_machine_selected_frame" }, // Theme |
1164 | { "syntax_highlighting" , "syntax_highlighter" }, // TextEdit |
1165 | { "tab_align" , "tab_alignment" }, // TabContainer |
1166 | { "table_hseparation" , "table_h_separation" }, // Theme |
1167 | { "table_vseparation" , "table_v_separation" }, // Theme |
1168 | { "tangent" , "orthogonal" }, // Vector2 |
1169 | { "target_location" , "target_position" }, // NavigationAgent2D, NavigationAgent3D |
1170 | { "toplevel" , "top_level" }, // Node |
1171 | { "translation" , "position" }, // Node3D |
1172 | { "unit_db" , "volume_db" }, // AudioStreamPlayer3D |
1173 | { "unit_offset" , "progress_ratio" }, // PathFollow2D, PathFollow3D |
1174 | { "vseparation" , "v_separation" }, // Theme |
1175 | |
1176 | { nullptr, nullptr }, |
1177 | }; |
1178 | |
1179 | const char *RenamesMap3To4::csharp_properties_renames[][2] = { |
1180 | { "AsNormalmap" , "AsNormalMap" }, // NoiseTexture |
1181 | { "BbcodeText" , "Text" }, // RichTextLabel |
1182 | { "BgFocus" , "Focus" }, // Theme |
1183 | { "CaptureDevice" , "InputDevice" }, // AudioServer |
1184 | { "CaretBlinkSpeed" , "CaretBlinkInterval" }, // TextEdit, LineEdit |
1185 | { "CaretMovingByRightClick" , "CaretMoveOnRightClick" }, // TextEdit |
1186 | { "CaretPosition" , "CaretColumn" }, // LineEdit |
1187 | { "CastTo" , "TargetPosition" }, // RayCast2D, RayCast3D |
1188 | { "CheckVadjust" , "CheckVAdjust" }, // Theme |
1189 | { "CloseHOfs" , "CloseHOffset" }, // Theme |
1190 | { "CloseVOfs" , "CloseVOffset" }, // Theme |
1191 | { "Commentfocus" , "CommentFocus" }, // Theme |
1192 | { "ContactsReported" , "MaxContactsReported" }, // RigidBody |
1193 | { "DepthBiasEnable" , "DepthBiasEnabled" }, // RDPipelineRasterizationState |
1194 | { "DragMarginBottom" , "DragBottomMargin" }, // Camera2D |
1195 | { "DragMarginHEnabled" , "DragHorizontalEnabled" }, // Camera2D |
1196 | { "DragMarginLeft" , "DragLeftMargin" }, // Camera2D |
1197 | { "DragMarginRight" , "DragRightMargin" }, // Camera2D |
1198 | { "DragMarginTop" , "DragTopMargin" }, // Camera2D |
1199 | { "DragMarginVEnabled" , "DragVerticalEnabled" }, // Camera2D |
1200 | { "EnabledFocusMode" , "FocusMode" }, // BaseButton - Removed |
1201 | { "Extents" , "Size" }, // BoxShape3D, LightmapGI, ReflectionProbe |
1202 | { "ExtraSpacingBottom" , "SpacingBottom" }, // Font |
1203 | { "ExtraSpacingTop" , "SpacingTop" }, // Font |
1204 | { "FocusNeighbourBottom" , "FocusNeighborBottom" }, // Control |
1205 | { "FocusNeighbourLeft" , "FocusNeighborLeft" }, // Control |
1206 | { "FocusNeighbourRight" , "FocusNeighborRight" }, // Control |
1207 | { "FocusNeighbourTop" , "FocusNeighborTop" }, // Control |
1208 | { "FollowViewportEnable" , "FollowViewportEnabled" }, // CanvasItem |
1209 | { "FileIconModulate" , "FileIconColor" }, // Theme |
1210 | { "FilesDisabled" , "FileDisabledColor" }, // Theme |
1211 | { "FolderIconModulate" , "FolderIconColor" }, // Theme |
1212 | { "GlobalRateScale" , "PlaybackSpeedScale" }, // AudioServer |
1213 | { "GravityDistanceScale" , "GravityPointDistanceScale" }, // Area2D |
1214 | { "GravityVec" , "GravityDirection" }, // Area2D |
1215 | { "HintTooltip" , "TooltipText" }, // Control |
1216 | { "Hseparation" , "HSeparation" }, // Theme |
1217 | { "IconAlign" , "IconAlignment" }, // Button |
1218 | { "IterationsPerSecond" , "PhysicsTicksPerSecond" }, // Engine |
1219 | { "InvertEnable" , "InvertEnabled" }, // Polygon2D |
1220 | { "MarginBottom" , "OffsetBottom" }, // Control -- Breaks NinePatchRect, StyleBox. |
1221 | { "MarginLeft" , "OffsetLeft" }, // Control -- Breaks NinePatchRect, StyleBox. |
1222 | { "MarginRight" , "OffsetRight" }, // Control -- Breaks NinePatchRect, StyleBox. |
1223 | { "MarginTop" , "OffsetTop" }, // Control -- Breaks NinePatchRect, StyleBox. |
1224 | { "MidHeight" , "Height" }, // CapsuleMesh |
1225 | { "Navpoly" , "NavigationPolygon" }, // NavigationRegion2D |
1226 | { "Navmesh" , "NavigationMesh" }, // NavigationRegion3D |
1227 | { "NeighborDist" , "NeighborDistance" }, // NavigationAgent2D, NavigationAgent3D |
1228 | { "Octaves" , "FractalOctaves" }, // OpenSimplexNoise -> FastNoiseLite |
1229 | { "OffsetH" , "DragHorizontalOffset" }, // Camera2D |
1230 | { "OffsetV" , "DragVerticalOffset" }, // Camera2D |
1231 | { "OffDisabled" , "UncheckedDisabled" }, // Theme |
1232 | { "OnDisabled" , "CheckedDisabled" }, // Theme |
1233 | { "Oneshot" , "OneShot" }, // AnimatedTexture |
1234 | { "OutOfRangeMode" , "MaxPolyphony" }, // AudioStreamPlayer3D |
1235 | { "PauseMode" , "ProcessMode" }, // Node |
1236 | { "Perpendicular" , "Orthogonal" }, // Vector2 - Only exists in C# |
1237 | { "PhysicalScancode" , "PhysicalKeycode" }, // InputEventKey |
1238 | { "PopupExclusive" , "Exclusive" }, // Window |
1239 | { "ProximityFadeEnable" , "ProximityFadeEnabled" }, // Material |
1240 | { "RectPosition" , "Position" }, // Control |
1241 | { "RectGlobalPosition" , "GlobalPosition" }, // Control |
1242 | { "RectSize" , "Size" }, // Control |
1243 | { "RectMinSize" , "CustomMinimumSize" }, // Control |
1244 | { "RectRotation" , "Rotation" }, // Control |
1245 | { "RectScale" , "Scale" }, // Control |
1246 | { "RectPivotOffset" , "PivotOffset" }, // Control |
1247 | { "RectClipContent" , "ClipContents" }, // Control |
1248 | { "RefuseNewNetworkConnections" , "RefuseNewConnections" }, // MultiplayerAPI |
1249 | { "RegionFilterClip" , "RegionFilterClipEnabled" }, // Sprite2D |
1250 | { "ReverbBusEnable" , "ReverbBusEnabled" }, // Area3D |
1251 | { "Scancode" , "Keycode" }, // InputEventKey |
1252 | { "Selectedframe" , "SelectedFrame" }, // Theme |
1253 | { "SizeOverrideStretch" , "Size2dOverrideStretch" }, // SubViewport |
1254 | { "SlipsOnSlope" , "SlideOnSlope" }, // SeparationRayShape2D |
1255 | { "SmoothingEnabled" , "PositionSmoothingEnabled" }, // Camera2D |
1256 | { "SmoothingSpeed" , "PositionSmoothingSpeed" }, // Camera2D |
1257 | { "SsReflectionsDepthTolerance" , "SsrDepthTolerance" }, // Environment |
1258 | { "SsReflectionsEnabled" , "SsrEnabled" }, // Environment |
1259 | { "SsReflectionsFadeIn" , "SsrFadeIn" }, // Environment |
1260 | { "SsReflectionsFadeOut" , "SsrFadeOut" }, // Environment |
1261 | { "SsReflectionsMaxSteps" , "SsrMaxSteps" }, // Environment |
1262 | { "StateMachineSelectedframe" , "StateMachineSelectedFrame" }, // Theme |
1263 | { "SyntaxHighlighting" , "SyntaxHighlighter" }, // TextEdit |
1264 | { "TabAlign" , "TabAlignment" }, // TabContainer |
1265 | { "TableHseparation" , "TableHSeparation" }, // Theme |
1266 | { "TableVseparation" , "TableVSeparation" }, // Theme |
1267 | { "Tangent" , "Orthogonal" }, // Vector2 |
1268 | { "TargetLocation" , "TargetPosition" }, // NavigationAgent2D, NavigationAgent3D |
1269 | { "Toplevel" , "TopLevel" }, // Node |
1270 | { "Translation" , "Position" }, // Node3D |
1271 | { "UnitDb" , "VolumeDb" }, // AudioStreamPlayer3D |
1272 | { "UnitOffset" , "ProgressRatio" }, // PathFollow2D, PathFollow3D |
1273 | { "Vseparation" , "VSeparation" }, // Theme |
1274 | |
1275 | { nullptr, nullptr }, |
1276 | }; |
1277 | |
1278 | const char *RenamesMap3To4::gdscript_signals_renames[][2] = { |
1279 | // NOTE: Commented out renames are disabled because deemed not suitable for |
1280 | // the current way the regex-based converter works. |
1281 | // When uncommenting any of those as suitable for conversion, please move it |
1282 | // to the block with other enabled conversions, ordered alphabetically, and |
1283 | // make sure to add it to the C# rename map too. |
1284 | |
1285 | // Too common words, users may use these names for variables or in comments. |
1286 | // { "hide", "hidden" }, // CanvasItem |
1287 | // { "changed", "settings_changed" }, // EditorSettings |
1288 | |
1289 | { "about_to_show" , "about_to_popup" }, // Popup |
1290 | { "button_release" , "button_released" }, // XRController3D |
1291 | { "cancelled" , "canceled" }, // AcceptDialog |
1292 | { "item_double_clicked" , "item_icon_double_clicked" }, // Tree |
1293 | { "network_peer_connected" , "peer_connected" }, // MultiplayerAPI |
1294 | { "network_peer_disconnected" , "peer_disconnected" }, // MultiplayerAPI |
1295 | { "network_peer_packet" , "peer_packet" }, // MultiplayerAPI |
1296 | { "node_unselected" , "node_deselected" }, // GraphEdit |
1297 | { "offset_changed" , "position_offset_changed" }, // GraphNode |
1298 | { "settings_changed" , "changed" }, // TileMap -- Breaks EditorSettings |
1299 | { "skeleton_updated" , "pose_updated" }, // Skeleton3D |
1300 | { "tab_close" , "tab_closed" }, // TextEdit |
1301 | { "tab_hover" , "tab_hovered" }, // TextEdit |
1302 | { "text_entered" , "text_submitted" }, // LineEdit |
1303 | |
1304 | { nullptr, nullptr }, |
1305 | }; |
1306 | |
1307 | const char *RenamesMap3To4::csharp_signals_renames[][2] = { |
1308 | { "AboutToShow" , "AboutToPopup" }, // Popup |
1309 | { "ButtonRelease" , "ButtonReleased" }, // XRController3D |
1310 | { "Cancelled" , "Canceled" }, // AcceptDialog |
1311 | { "ItemDoubleClicked" , "ItemIconDoubleClicked" }, // Tree |
1312 | { "NetworkPeerConnected" , "PeerConnected" }, // MultiplayerAPI |
1313 | { "NetworkPeerDisconnected" , "PeerDisconnected" }, // MultiplayerAPI |
1314 | { "NetworkPeerPacket" , "PeerPacket" }, // MultiplayerAPI |
1315 | { "NodeUnselected" , "NodeDeselected" }, // GraphEdit |
1316 | { "OffsetChanged" , "PositionOffsetChanged" }, // GraphNode |
1317 | { "SettingsChanged" , "Changed" }, // TileMap -- Breaks EditorSettings |
1318 | { "SkeletonUpdated" , "PoseUpdated" }, // |
1319 | { "TabClose" , "TabClosed" }, // TextEdit |
1320 | { "TabHover" , "TabHovered" }, // TextEdit |
1321 | { "TextEntered" , "TextSubmitted" }, // LineEdit |
1322 | |
1323 | { nullptr, nullptr }, |
1324 | }; |
1325 | |
1326 | const char *RenamesMap3To4::project_settings_renames[][2] = { |
1327 | // Project setting paths in scripts include the category, but in project.godot, |
1328 | // the category is the section delimiter, so we need to support the paths without it. |
1329 | // The project.godot remaps are defined in the project_godot_renames, keep them in sync! |
1330 | { "audio/channel_disable_threshold_db" , "audio/buses/channel_disable_threshold_db" }, |
1331 | { "audio/channel_disable_time" , "audio/buses/channel_disable_time" }, |
1332 | { "audio/default_bus_layout" , "audio/buses/default_bus_layout" }, |
1333 | { "audio/driver" , "audio/driver/driver" }, |
1334 | { "audio/enable_audio_input" , "audio/driver/enable_input" }, |
1335 | { "audio/mix_rate" , "audio/driver/mix_rate" }, |
1336 | { "audio/output_latency" , "audio/driver/output_latency" }, |
1337 | { "audio/output_latency.web" , "audio/driver/output_latency.web" }, |
1338 | { "audio/video_delay_compensation_ms" , "audio/video/video_delay_compensation_ms" }, |
1339 | { "display/window/size/width" , "display/window/size/viewport_width" }, |
1340 | { "display/window/size/height" , "display/window/size/viewport_height" }, |
1341 | { "display/window/size/test_width" , "display/window/size/window_width_override" }, |
1342 | { "display/window/size/test_height" , "display/window/size/window_height_override" }, |
1343 | { "display/window/vsync/use_vsync" , "display/window/vsync/vsync_mode" }, |
1344 | { "editor/main_run_args" , "editor/run/main_run_args" }, |
1345 | { "gui/common/swap_ok_cancel" , "gui/common/swap_cancel_ok" }, |
1346 | { "network/limits/debugger_stdout/max_chars_per_second" , "network/limits/debugger/max_chars_per_second" }, |
1347 | { "network/limits/debugger_stdout/max_errors_per_second" , "network/limits/debugger/max_errors_per_second" }, |
1348 | { "network/limits/debugger_stdout/max_messages_per_frame" , "network/limits/debugger/max_queued_messages" }, |
1349 | { "network/limits/debugger_stdout/max_warnings_per_second" , "network/limits/debugger/max_warnings_per_second" }, |
1350 | { "network/ssl/certificates" , "network/tls/certificate_bundle_override" }, |
1351 | { "physics/2d/thread_model" , "physics/2d/run_on_thread" }, // TODO: Not sure. |
1352 | { "rendering/environment/default_clear_color" , "rendering/environment/defaults/default_clear_color" }, |
1353 | { "rendering/environment/default_environment" , "rendering/environment/defaults/default_environment" }, |
1354 | { "rendering/quality/depth_prepass/disable_for_vendors" , "rendering/driver/depth_prepass/disable_for_vendors" }, |
1355 | { "rendering/quality/depth_prepass/enable" , "rendering/driver/depth_prepass/enable" }, |
1356 | { "rendering/quality/shading/force_blinn_over_ggx" , "rendering/shading/overrides/force_blinn_over_ggx" }, |
1357 | { "rendering/quality/shading/force_blinn_over_ggx.mobile" , "rendering/shading/overrides/force_blinn_over_ggx.mobile" }, |
1358 | { "rendering/quality/shading/force_lambert_over_burley" , "rendering/shading/overrides/force_lambert_over_burley" }, |
1359 | { "rendering/quality/shading/force_lambert_over_burley.mobile" , "rendering/shading/overrides/force_lambert_over_burley.mobile" }, |
1360 | { "rendering/quality/shading/force_vertex_shading" , "rendering/shading/overrides/force_vertex_shading" }, |
1361 | { "rendering/quality/shading/force_vertex_shading.mobile" , "rendering/shading/overrides/force_vertex_shading.mobile" }, |
1362 | { "rendering/quality/shadow_atlas/quadrant_0_subdiv" , "rendering/lights_and_shadows/shadow_atlas/quadrant_0_subdiv" }, |
1363 | { "rendering/quality/shadow_atlas/quadrant_1_subdiv" , "rendering/lights_and_shadows/shadow_atlas/quadrant_1_subdiv" }, |
1364 | { "rendering/quality/shadow_atlas/quadrant_2_subdiv" , "rendering/lights_and_shadows/shadow_atlas/quadrant_2_subdiv" }, |
1365 | { "rendering/quality/shadow_atlas/quadrant_3_subdiv" , "rendering/lights_and_shadows/shadow_atlas/quadrant_3_subdiv" }, |
1366 | { "rendering/quality/shadow_atlas/size" , "rendering/lights_and_shadows/shadow_atlas/size" }, |
1367 | { "rendering/quality/shadow_atlas/size.mobile" , "rendering/lights_and_shadows/shadow_atlas/size.mobile" }, |
1368 | { "rendering/vram_compression/import_etc2" , "rendering/textures/vram_compression/import_etc2_astc" }, |
1369 | { "rendering/vram_compression/import_s3tc" , "rendering/textures/vram_compression/import_s3tc_bptc" }, |
1370 | |
1371 | { nullptr, nullptr }, |
1372 | }; |
1373 | |
1374 | const char *RenamesMap3To4::project_godot_renames[][2] = { |
1375 | // Should be kept in sync with project_settings_renames. |
1376 | { "channel_disable_threshold_db" , "buses/channel_disable_threshold_db" }, |
1377 | { "channel_disable_time" , "buses/channel_disable_time" }, |
1378 | { "default_bus_layout" , "buses/default_bus_layout" }, |
1379 | // { "driver", "driver/driver" }, -- Risk of conflicts. |
1380 | { "enable_audio_input" , "driver/enable_input" }, |
1381 | // { "mix_rate", "driver/mix_rate" }, -- Risk of conflicts. |
1382 | { "output_latency" , "driver/output_latency" }, |
1383 | { "output_latency.web" , "driver/output_latency.web" }, |
1384 | { "video_delay_compensation_ms" , "video/video_delay_compensation_ms" }, |
1385 | { "window/size/width" , "window/size/viewport_width" }, |
1386 | { "window/size/height" , "window/size/viewport_height" }, |
1387 | { "window/size/test_width" , "window/size/window_width_override" }, |
1388 | { "window/size/test_height" , "window/size/window_height_override" }, |
1389 | { "window/vsync/use_vsync" , "window/vsync/vsync_mode" }, |
1390 | { "main_run_args" , "run/main_run_args" }, |
1391 | { "common/swap_ok_cancel" , "common/swap_cancel_ok" }, |
1392 | { "limits/debugger_stdout/max_chars_per_second" , "limits/debugger/max_chars_per_second" }, |
1393 | { "limits/debugger_stdout/max_errors_per_second" , "limits/debugger/max_errors_per_second" }, |
1394 | { "limits/debugger_stdout/max_messages_per_frame" , "limits/debugger/max_queued_messages" }, |
1395 | { "limits/debugger_stdout/max_warnings_per_second" , "limits/debugger/max_warnings_per_second" }, |
1396 | { "ssl/certificates" , "tls/certificate_bundle_override" }, |
1397 | { "2d/thread_model" , "2d/run_on_thread" }, // TODO: Not sure. |
1398 | { "environment/default_clear_color" , "environment/defaults/default_clear_color" }, |
1399 | { "environment/default_environment" , "environment/defaults/default_environment" }, |
1400 | { "quality/depth_prepass/disable_for_vendors" , "driver/depth_prepass/disable_for_vendors" }, |
1401 | { "quality/depth_prepass/enable" , "driver/depth_prepass/enable" }, |
1402 | { "quality/shading/force_blinn_over_ggx" , "shading/overrides/force_blinn_over_ggx" }, |
1403 | { "quality/shading/force_blinn_over_ggx.mobile" , "shading/overrides/force_blinn_over_ggx.mobile" }, |
1404 | { "quality/shading/force_lambert_over_burley" , "shading/overrides/force_lambert_over_burley" }, |
1405 | { "quality/shading/force_lambert_over_burley.mobile" , "shading/overrides/force_lambert_over_burley.mobile" }, |
1406 | { "quality/shading/force_vertex_shading" , "shading/overrides/force_vertex_shading" }, |
1407 | { "quality/shading/force_vertex_shading.mobile" , "shading/overrides/force_vertex_shading.mobile" }, |
1408 | { "quality/shadow_atlas/quadrant_0_subdiv" , "lights_and_shadows/shadow_atlas/quadrant_0_subdiv" }, |
1409 | { "quality/shadow_atlas/quadrant_1_subdiv" , "lights_and_shadows/shadow_atlas/quadrant_1_subdiv" }, |
1410 | { "quality/shadow_atlas/quadrant_2_subdiv" , "lights_and_shadows/shadow_atlas/quadrant_2_subdiv" }, |
1411 | { "quality/shadow_atlas/quadrant_3_subdiv" , "lights_and_shadows/shadow_atlas/quadrant_3_subdiv" }, |
1412 | { "quality/shadow_atlas/size" , "lights_and_shadows/shadow_atlas/size" }, |
1413 | { "quality/shadow_atlas/size.mobile" , "lights_and_shadows/shadow_atlas/size.mobile" }, |
1414 | { "vram_compression/import_etc2" , "textures/vram_compression/import_etc2_astc" }, |
1415 | { "vram_compression/import_s3tc" , "textures/vram_compression/import_s3tc_bptc" }, |
1416 | |
1417 | { nullptr, nullptr }, |
1418 | }; |
1419 | |
1420 | const char *RenamesMap3To4::input_map_renames[][2] = { |
1421 | { ",\"alt\":" , ",\"alt_pressed\":" }, |
1422 | { ",\"shift\":" , ",\"shift_pressed\":" }, |
1423 | { ",\"control\":" , ",\"ctrl_pressed\":" }, |
1424 | { ",\"meta\":" , ",\"meta_pressed\":" }, |
1425 | { ",\"scancode\":" , ",\"keycode\":" }, |
1426 | { ",\"physical_scancode\":" , ",\"physical_keycode\":" }, |
1427 | { ",\"doubleclick\":" , ",\"double_click\":" }, |
1428 | |
1429 | { nullptr, nullptr }, |
1430 | }; |
1431 | |
1432 | const char *RenamesMap3To4::builtin_types_renames[][2] = { |
1433 | { "PoolByteArray" , "PackedByteArray" }, |
1434 | { "PoolColorArray" , "PackedColorArray" }, |
1435 | { "PoolIntArray" , "PackedInt32Array" }, |
1436 | { "PoolRealArray" , "PackedFloat32Array" }, |
1437 | { "PoolStringArray" , "PackedStringArray" }, |
1438 | { "PoolVector2Array" , "PackedVector2Array" }, |
1439 | { "PoolVector3Array" , "PackedVector3Array" }, |
1440 | { "Quat" , "Quaternion" }, |
1441 | { "Transform" , "Transform3D" }, |
1442 | |
1443 | { nullptr, nullptr }, |
1444 | }; |
1445 | |
1446 | const char *RenamesMap3To4::shaders_renames[][2] = { |
1447 | { "ALPHA_SCISSOR" , "ALPHA_SCISSOR_THRESHOLD" }, |
1448 | { "CAMERA_MATRIX" , "INV_VIEW_MATRIX" }, |
1449 | { "INV_CAMERA_MATRIX" , "VIEW_MATRIX" }, |
1450 | { "NORMALMAP" , "NORMAL_MAP" }, |
1451 | { "NORMALMAP_DEPTH" , "NORMAL_MAP_DEPTH" }, |
1452 | { "TRANSMISSION" , "BACKLIGHT" }, |
1453 | { "WORLD_MATRIX" , "MODEL_MATRIX" }, |
1454 | { "depth_draw_alpha_prepass" , "depth_draw_opaque" }, |
1455 | { "hint_albedo" , "source_color" }, |
1456 | { "hint_aniso" , "hint_anisotropy" }, |
1457 | { "hint_black" , "hint_default_black" }, |
1458 | { "hint_black_albedo" , "hint_default_black" }, |
1459 | { "hint_color" , "source_color" }, |
1460 | { "hint_white" , "hint_default_white" }, |
1461 | { nullptr, nullptr }, |
1462 | }; |
1463 | |
1464 | const char *RenamesMap3To4::class_renames[][2] = { |
1465 | // { "Particles", "GPUParticles3D" }, // Common word, and incompatible class. |
1466 | // { "World", "World3D" }, // Too common. |
1467 | |
1468 | // Risky as fairly common words, but worth it given how ubiquitous they are. |
1469 | { "Area" , "Area3D" }, |
1470 | { "Camera" , "Camera3D" }, |
1471 | { "Path" , "Path3D" }, |
1472 | { "Reference" , "RefCounted" }, |
1473 | { "Shape" , "Shape3D" }, |
1474 | { "Tabs" , "TabBar" }, |
1475 | |
1476 | { "ARVRAnchor" , "XRAnchor3D" }, |
1477 | { "ARVRCamera" , "XRCamera3D" }, |
1478 | { "ARVRController" , "XRController3D" }, |
1479 | { "ARVRInterface" , "XRInterface" }, |
1480 | { "ARVRInterfaceGDNative" , "Node3D" }, |
1481 | { "ARVROrigin" , "XROrigin3D" }, |
1482 | { "ARVRPositionalTracker" , "XRPositionalTracker" }, |
1483 | { "ARVRServer" , "XRServer" }, |
1484 | { "AStar" , "AStar3D" }, |
1485 | { "AnimatedSprite" , "AnimatedSprite2D" }, |
1486 | { "AudioStreamOGGVorbis" , "AudioStreamOggVorbis" }, |
1487 | { "AudioStreamRandomPitch" , "AudioStreamRandomizer" }, |
1488 | { "AudioStreamSample" , "AudioStreamWAV" }, |
1489 | { "BakedLightmap" , "LightmapGI" }, |
1490 | { "BakedLightmapData" , "LightmapGIData" }, |
1491 | { "BitmapFont" , "FontFile" }, |
1492 | { "BoneAttachment" , "BoneAttachment3D" }, |
1493 | { "BoxShape" , "BoxShape3D" }, |
1494 | { "CPUParticles" , "CPUParticles3D" }, |
1495 | { "CSGBox" , "CSGBox3D" }, |
1496 | { "CSGCombiner" , "CSGCombiner3D" }, |
1497 | { "CSGCylinder" , "CSGCylinder3D" }, |
1498 | { "CSGMesh" , "CSGMesh3D" }, |
1499 | { "CSGPolygon" , "CSGPolygon3D" }, |
1500 | { "CSGPrimitive" , "CSGPrimitive3D" }, |
1501 | { "CSGShape" , "CSGShape3D" }, |
1502 | { "CSGSphere" , "CSGSphere3D" }, |
1503 | { "CSGTorus" , "CSGTorus3D" }, |
1504 | { "CapsuleShape" , "CapsuleShape3D" }, |
1505 | { "ClippedCamera" , "Camera3D" }, |
1506 | { "CollisionObject" , "CollisionObject3D" }, |
1507 | { "CollisionPolygon" , "CollisionPolygon3D" }, |
1508 | { "CollisionShape" , "CollisionShape3D" }, |
1509 | { "ConcavePolygonShape" , "ConcavePolygonShape3D" }, |
1510 | { "ConeTwistJoint" , "ConeTwistJoint3D" }, |
1511 | { "ConvexPolygonShape" , "ConvexPolygonShape3D" }, |
1512 | { "CubeMap" , "Cubemap" }, |
1513 | { "CubeMesh" , "BoxMesh" }, |
1514 | { "CylinderShape" , "CylinderShape3D" }, |
1515 | { "DirectionalLight" , "DirectionalLight3D" }, |
1516 | { "Directory" , "DirAccess" }, |
1517 | { "DynamicFont" , "FontFile" }, |
1518 | { "DynamicFontData" , "FontFile" }, |
1519 | { "EditorNavigationMeshGenerator" , "NavigationMeshGenerator" }, |
1520 | { "EditorSceneImporter" , "EditorSceneFormatImporter" }, |
1521 | { "EditorSceneImporterFBX" , "EditorSceneFormatImporterFBX" }, |
1522 | { "EditorSceneImporterGLTF" , "EditorSceneFormatImporterGLTF" }, |
1523 | { "EditorSpatialGizmo" , "EditorNode3DGizmo" }, |
1524 | { "EditorSpatialGizmoPlugin" , "EditorNode3DGizmoPlugin" }, |
1525 | { "ExternalTexture" , "ImageTexture" }, |
1526 | { "GIProbe" , "VoxelGI" }, |
1527 | { "GIProbeData" , "VoxelGIData" }, |
1528 | { "Generic6DOFJoint" , "Generic6DOFJoint3D" }, |
1529 | { "GeometryInstance" , "GeometryInstance3D" }, |
1530 | { "GradientTexture" , "GradientTexture2D" }, |
1531 | { "HeightMapShape" , "HeightMapShape3D" }, |
1532 | { "HingeJoint" , "HingeJoint3D" }, |
1533 | { "IP_Unix" , "IPUnix" }, |
1534 | { "ImmediateGeometry" , "ImmediateMesh" }, |
1535 | { "ImmediateGeometry3D" , "ImmediateMesh" }, |
1536 | { "InterpolatedCamera" , "Camera3D" }, |
1537 | { "InterpolatedCamera3D" , "Camera3D" }, |
1538 | { "JSONParseResult" , "JSON" }, |
1539 | { "Joint" , "Joint3D" }, |
1540 | { "KinematicBody" , "CharacterBody3D" }, |
1541 | { "KinematicBody2D" , "CharacterBody2D" }, |
1542 | { "KinematicCollision" , "KinematicCollision3D" }, |
1543 | { "LargeTexture" , "ImageTexture" }, |
1544 | { "Light" , "Light3D" }, |
1545 | { "Light2D" , "PointLight2D" }, |
1546 | { "LineShape2D" , "WorldBoundaryShape2D" }, |
1547 | { "Listener" , "AudioListener3D" }, |
1548 | { "Listener2D" , "AudioListener2D" }, |
1549 | { "MeshInstance" , "MeshInstance3D" }, |
1550 | { "MultiMeshInstance" , "MultiMeshInstance3D" }, |
1551 | { "MultiplayerPeerGDNative" , "MultiplayerPeerExtension" }, |
1552 | { "Navigation2DServer" , "NavigationServer2D" }, |
1553 | { "NavigationAgent" , "NavigationAgent3D" }, |
1554 | { "NavigationMeshInstance" , "NavigationRegion3D" }, |
1555 | { "NavigationObstacle" , "NavigationObstacle3D" }, |
1556 | { "NavigationPolygonInstance" , "NavigationRegion2D" }, |
1557 | { "NavigationRegion" , "NavigationRegion3D" }, |
1558 | { "NavigationServer" , "NavigationServer3D" }, |
1559 | { "NetworkedMultiplayerCustom" , "MultiplayerPeerExtension" }, |
1560 | { "NetworkedMultiplayerENet" , "ENetMultiplayerPeer" }, |
1561 | { "NetworkedMultiplayerPeer" , "MultiplayerPeer" }, |
1562 | { "Occluder" , "OccluderInstance3D" }, |
1563 | { "OmniLight" , "OmniLight3D" }, |
1564 | { "OpenSimplexNoise" , "FastNoiseLite" }, |
1565 | { "PHashTranslation" , "OptimizedTranslation" }, |
1566 | { "PacketPeerGDNative" , "PacketPeerExtension" }, |
1567 | { "PanoramaSky" , "Sky" }, |
1568 | { "Particles2D" , "GPUParticles2D" }, |
1569 | { "ParticlesMaterial" , "ParticleProcessMaterial" }, |
1570 | { "PathFollow" , "PathFollow3D" }, |
1571 | { "PhysicalBone" , "PhysicalBone3D" }, |
1572 | { "Physics2DDirectBodyState" , "PhysicsDirectBodyState2D" }, |
1573 | { "Physics2DDirectSpaceState" , "PhysicsDirectSpaceState2D" }, |
1574 | { "Physics2DServer" , "PhysicsServer2D" }, |
1575 | { "Physics2DServerSW" , "GodotPhysicsServer2D" }, |
1576 | { "Physics2DShapeQueryParameters" , "PhysicsShapeQueryParameters2D" }, |
1577 | { "Physics2DTestMotionResult" , "PhysicsTestMotionResult2D" }, |
1578 | { "PhysicsBody" , "PhysicsBody3D" }, |
1579 | { "PhysicsDirectBodyState" , "PhysicsDirectBodyState3D" }, |
1580 | { "PhysicsDirectSpaceState" , "PhysicsDirectSpaceState3D" }, |
1581 | { "PhysicsServer" , "PhysicsServer3D" }, |
1582 | { "PhysicsShapeQueryParameters" , "PhysicsShapeQueryParameters3D" }, |
1583 | { "PhysicsTestMotionResult" , "PhysicsTestMotionResult3D" }, |
1584 | { "PinJoint" , "PinJoint3D" }, |
1585 | { "PlaneShape" , "WorldBoundaryShape3D" }, |
1586 | { "PopupDialog" , "Popup" }, |
1587 | { "Position2D" , "Marker2D" }, |
1588 | { "Position3D" , "Marker3D" }, |
1589 | { "ProceduralSky" , "Sky" }, |
1590 | { "RayCast" , "RayCast3D" }, |
1591 | { "RayShape" , "SeparationRayShape3D" }, |
1592 | { "RayShape2D" , "SeparationRayShape2D" }, |
1593 | { "RemoteTransform" , "RemoteTransform3D" }, |
1594 | { "ResourceInteractiveLoader" , "ResourceLoader" }, |
1595 | { "RigidBody" , "RigidBody3D" }, |
1596 | { "SceneTreeTween" , "Tween" }, |
1597 | { "ShortCut" , "Shortcut" }, |
1598 | { "Skeleton" , "Skeleton3D" }, |
1599 | { "SkeletonIK" , "SkeletonIK3D" }, |
1600 | { "SliderJoint" , "SliderJoint3D" }, |
1601 | { "SoftBody" , "SoftBody3D" }, |
1602 | { "Spatial" , "Node3D" }, |
1603 | { "SpatialGizmo" , "Node3DGizmo" }, |
1604 | { "SpatialMaterial" , "StandardMaterial3D" }, |
1605 | { "SphereShape" , "SphereShape3D" }, |
1606 | { "SpotLight" , "SpotLight3D" }, |
1607 | { "SpringArm" , "SpringArm3D" }, |
1608 | { "Sprite" , "Sprite2D" }, |
1609 | { "StaticBody" , "StaticBody3D" }, |
1610 | { "StreamCubemap" , "CompressedCubemap" }, |
1611 | { "StreamCubemapArray" , "CompressedCubemapArray" }, |
1612 | { "StreamPeerGDNative" , "StreamPeerExtension" }, |
1613 | { "StreamPeerSSL" , "StreamPeerTLS" }, |
1614 | { "StreamTexture" , "CompressedTexture2D" }, |
1615 | { "StreamTexture2D" , "CompressedTexture2D" }, |
1616 | { "StreamTexture2DArray" , "CompressedTexture2DArray" }, |
1617 | { "StreamTextureLayered" , "CompressedTextureLayered" }, |
1618 | { "TCP_Server" , "TCPServer" }, |
1619 | { "TextFile" , "Node3D" }, |
1620 | { "Texture" , "Texture2D" }, // May break TextureRect. |
1621 | { "TextureArray" , "Texture2DArray" }, |
1622 | { "TextureProgress" , "TextureProgressBar" }, |
1623 | { "ToolButton" , "Button" }, |
1624 | { "VehicleBody" , "VehicleBody3D" }, |
1625 | { "VehicleWheel" , "VehicleWheel3D" }, |
1626 | { "VideoPlayer" , "VideoStreamPlayer" }, |
1627 | { "Viewport" , "SubViewport" }, |
1628 | { "ViewportContainer" , "SubViewportContainer" }, |
1629 | { "VisibilityEnabler" , "VisibleOnScreenEnabler3D" }, |
1630 | { "VisibilityEnabler2D" , "VisibleOnScreenEnabler2D" }, |
1631 | { "VisibilityNotifier" , "VisibleOnScreenNotifier3D" }, |
1632 | { "VisibilityNotifier2D" , "VisibleOnScreenNotifier2D" }, |
1633 | { "VisibilityNotifier3D" , "VisibleOnScreenNotifier3D" }, |
1634 | { "VisualInstance" , "VisualInstance3D" }, |
1635 | { "VisualServer" , "RenderingServer" }, |
1636 | { "VisualShaderNodeCubeMap" , "VisualShaderNodeCubemap" }, |
1637 | { "VisualShaderNodeScalarClamp" , "VisualShaderNodeClamp" }, |
1638 | { "VisualShaderNodeScalarConstant" , "VisualShaderNodeFloatConstant" }, |
1639 | { "VisualShaderNodeScalarFunc" , "VisualShaderNodeFloatFunc" }, |
1640 | { "VisualShaderNodeScalarInterp" , "VisualShaderNodeMix" }, |
1641 | { "VisualShaderNodeScalarOp" , "VisualShaderNodeFloatOp" }, |
1642 | { "VisualShaderNodeScalarSmoothStep" , "VisualShaderNodeSmoothStep" }, |
1643 | { "VisualShaderNodeScalarSwitch" , "VisualShaderNodeSwitch" }, |
1644 | { "VisualShaderNodeScalarTransformMult" , "VisualShaderNodeTransformOp" }, |
1645 | { "VisualShaderNodeTransformMult" , "VisualShaderNode" }, |
1646 | { "VisualShaderNodeVectorClamp" , "VisualShaderNodeClamp" }, |
1647 | { "VisualShaderNodeVectorInterp" , "VisualShaderNodeMix" }, |
1648 | { "VisualShaderNodeVectorScalarMix" , "VisualShaderNodeMix" }, |
1649 | { "VisualShaderNodeVectorScalarSmoothStep" , "VisualShaderNodeSmoothStep" }, |
1650 | { "VisualShaderNodeVectorScalarStep" , "VisualShaderNodeStep" }, |
1651 | { "VisualShaderNodeVectorSmoothStep" , "VisualShaderNodeSmoothStep" }, |
1652 | { "VisualShaderNodeBooleanUniform" , "VisualShaderNodeBooleanParameter" }, |
1653 | { "VisualShaderNodeColorUniform" , "VisualShaderNodeColorParameter" }, |
1654 | { "VisualShaderNodeScalarUniform" , "VisualShaderNodeFloatParameter" }, |
1655 | { "VisualShaderNodeCubemapUniform" , "VisualShaderNodeCubemapParameter" }, |
1656 | { "VisualShaderNodeTextureUniform" , "VisualShaderNodeTexture2DParameter" }, |
1657 | { "VisualShaderNodeTextureUniformTriplanar" , "VisualShaderNodeTextureParameterTriplanar" }, |
1658 | { "VisualShaderNodeTransformUniform" , "VisualShaderNodeTransformParameter" }, |
1659 | { "VisualShaderNodeVec3Uniform" , "VisualShaderNodeVec3Parameter" }, |
1660 | { "VisualShaderNodeUniform" , "VisualShaderNodeParameter" }, |
1661 | { "VisualShaderNodeUniformRef" , "VisualShaderNodeParameterRef" }, |
1662 | { "WebRTCDataChannelGDNative" , "WebRTCDataChannelExtension" }, |
1663 | { "WebRTCMultiplayer" , "WebRTCMultiplayerPeer" }, |
1664 | { "WebRTCPeerConnectionGDNative" , "WebRTCPeerConnectionExtension" }, |
1665 | { "WindowDialog" , "Window" }, |
1666 | { "XRAnchor" , "XRAnchor3D" }, |
1667 | { "XRController" , "XRController3D" }, |
1668 | { "XROrigin" , "XROrigin3D" }, |
1669 | { "YSort" , "Node2D" }, // CanvasItem has a new "y_sort_enabled" property. |
1670 | |
1671 | { nullptr, nullptr }, |
1672 | }; |
1673 | |
1674 | const char *RenamesMap3To4::color_renames[][2] = { |
1675 | { "aliceblue" , "ALICE_BLUE" }, |
1676 | { "antiquewhite" , "ANTIQUE_WHITE" }, |
1677 | { "aqua" , "AQUA" }, |
1678 | { "aquamarine" , "AQUAMARINE" }, |
1679 | { "azure" , "AZURE" }, |
1680 | { "beige" , "BEIGE" }, |
1681 | { "bisque" , "BISQUE" }, |
1682 | { "black" , "BLACK" }, |
1683 | { "blanchedalmond" , "BLANCHED_ALMOND" }, |
1684 | { "blue" , "BLUE" }, |
1685 | { "blueviolet" , "BLUE_VIOLET" }, |
1686 | { "brown" , "BROWN" }, |
1687 | { "burlywood" , "BURLYWOOD" }, |
1688 | { "cadetblue" , "CADET_BLUE" }, |
1689 | { "chartreuse" , "CHARTREUSE" }, |
1690 | { "chocolate" , "CHOCOLATE" }, |
1691 | { "coral" , "CORAL" }, |
1692 | { "cornflowerblue" , "CORNFLOWER_BLUE" }, |
1693 | { "cornsilk" , "CORNSILK" }, |
1694 | { "crimson" , "CRIMSON" }, |
1695 | { "cyan" , "CYAN" }, |
1696 | { "darkblue" , "DARK_BLUE" }, |
1697 | { "darkcyan" , "DARK_CYAN" }, |
1698 | { "darkgoldenrod" , "DARK_GOLDENROD" }, |
1699 | { "darkgray" , "DARK_GRAY" }, |
1700 | { "darkgreen" , "DARK_GREEN" }, |
1701 | { "darkkhaki" , "DARK_KHAKI" }, |
1702 | { "darkmagenta" , "DARK_MAGENTA" }, |
1703 | { "darkolivegreen" , "DARK_OLIVE_GREEN" }, |
1704 | { "darkorange" , "DARK_ORANGE" }, |
1705 | { "darkorchid" , "DARK_ORCHID" }, |
1706 | { "darkred" , "DARK_RED" }, |
1707 | { "darksalmon" , "DARK_SALMON" }, |
1708 | { "darkseagreen" , "DARK_SEA_GREEN" }, |
1709 | { "darkslateblue" , "DARK_SLATE_BLUE" }, |
1710 | { "darkslategray" , "DARK_SLATE_GRAY" }, |
1711 | { "darkturquoise" , "DARK_TURQUOISE" }, |
1712 | { "darkviolet" , "DARK_VIOLET" }, |
1713 | { "deeppink" , "DEEP_PINK" }, |
1714 | { "deepskyblue" , "DEEP_SKY_BLUE" }, |
1715 | { "dimgray" , "DIM_GRAY" }, |
1716 | { "dodgerblue" , "DODGER_BLUE" }, |
1717 | { "firebrick" , "FIREBRICK" }, |
1718 | { "floralwhite" , "FLORAL_WHITE" }, |
1719 | { "forestgreen" , "FOREST_GREEN" }, |
1720 | { "fuchsia" , "FUCHSIA" }, |
1721 | { "gainsboro" , "GAINSBORO" }, |
1722 | { "ghostwhite" , "GHOST_WHITE" }, |
1723 | { "gold" , "GOLD" }, |
1724 | { "goldenrod" , "GOLDENROD" }, |
1725 | { "gray" , "GRAY" }, |
1726 | { "green" , "GREEN" }, |
1727 | { "greenyellow" , "GREEN_YELLOW" }, |
1728 | { "honeydew" , "HONEYDEW" }, |
1729 | { "hotpink" , "HOT_PINK" }, |
1730 | { "indianred" , "INDIAN_RED" }, |
1731 | { "indigo" , "INDIGO" }, |
1732 | { "ivory" , "IVORY" }, |
1733 | { "khaki" , "KHAKI" }, |
1734 | { "lavender" , "LAVENDER" }, |
1735 | { "lavenderblush" , "LAVENDER_BLUSH" }, |
1736 | { "lawngreen" , "LAWN_GREEN" }, |
1737 | { "lemonchiffon" , "LEMON_CHIFFON" }, |
1738 | { "lightblue" , "LIGHT_BLUE" }, |
1739 | { "lightcoral" , "LIGHT_CORAL" }, |
1740 | { "lightcyan" , "LIGHT_CYAN" }, |
1741 | { "lightgoldenrod" , "LIGHT_GOLDENROD" }, |
1742 | { "lightgray" , "LIGHT_GRAY" }, |
1743 | { "lightgreen" , "LIGHT_GREEN" }, |
1744 | { "lightpink" , "LIGHT_PINK" }, |
1745 | { "lightsalmon" , "LIGHT_SALMON" }, |
1746 | { "lightseagreen" , "LIGHT_SEA_GREEN" }, |
1747 | { "lightskyblue" , "LIGHT_SKY_BLUE" }, |
1748 | { "lightslategray" , "LIGHT_SLATE_GRAY" }, |
1749 | { "lightsteelblue" , "LIGHT_STEEL_BLUE" }, |
1750 | { "lightyellow" , "LIGHT_YELLOW" }, |
1751 | { "lime" , "LIME" }, |
1752 | { "limegreen" , "LIME_GREEN" }, |
1753 | { "linen" , "LINEN" }, |
1754 | { "magenta" , "MAGENTA" }, |
1755 | { "maroon" , "MAROON" }, |
1756 | { "mediumaquamarine" , "MEDIUM_AQUAMARINE" }, |
1757 | { "mediumblue" , "MEDIUM_BLUE" }, |
1758 | { "mediumorchid" , "MEDIUM_ORCHID" }, |
1759 | { "mediumpurple" , "MEDIUM_PURPLE" }, |
1760 | { "mediumseagreen" , "MEDIUM_SEA_GREEN" }, |
1761 | { "mediumslateblue" , "MEDIUM_SLATE_BLUE" }, |
1762 | { "mediumspringgreen" , "MEDIUM_SPRING_GREEN" }, |
1763 | { "mediumturquoise" , "MEDIUM_TURQUOISE" }, |
1764 | { "mediumvioletred" , "MEDIUM_VIOLET_RED" }, |
1765 | { "midnightblue" , "MIDNIGHT_BLUE" }, |
1766 | { "mintcream" , "MINT_CREAM" }, |
1767 | { "mistyrose" , "MISTY_ROSE" }, |
1768 | { "moccasin" , "MOCCASIN" }, |
1769 | { "navajowhite" , "NAVAJO_WHITE" }, |
1770 | { "navyblue" , "NAVY_BLUE" }, |
1771 | { "oldlace" , "OLD_LACE" }, |
1772 | { "olive" , "OLIVE" }, |
1773 | { "olivedrab" , "OLIVE_DRAB" }, |
1774 | { "orange" , "ORANGE" }, |
1775 | { "orangered" , "ORANGE_RED" }, |
1776 | { "orchid" , "ORCHID" }, |
1777 | { "palegoldenrod" , "PALE_GOLDENROD" }, |
1778 | { "palegreen" , "PALE_GREEN" }, |
1779 | { "paleturquoise" , "PALE_TURQUOISE" }, |
1780 | { "palevioletred" , "PALE_VIOLET_RED" }, |
1781 | { "papayawhip" , "PAPAYA_WHIP" }, |
1782 | { "peachpuff" , "PEACH_PUFF" }, |
1783 | { "peru" , "PERU" }, |
1784 | { "pink" , "PINK" }, |
1785 | { "plum" , "PLUM" }, |
1786 | { "powderblue" , "POWDER_BLUE" }, |
1787 | { "purple" , "PURPLE" }, |
1788 | { "rebeccapurple" , "REBECCA_PURPLE" }, |
1789 | { "red" , "RED" }, |
1790 | { "rosybrown" , "ROSY_BROWN" }, |
1791 | { "royalblue" , "ROYAL_BLUE" }, |
1792 | { "saddlebrown" , "SADDLE_BROWN" }, |
1793 | { "salmon" , "SALMON" }, |
1794 | { "sandybrown" , "SANDY_BROWN" }, |
1795 | { "seagreen" , "SEA_GREEN" }, |
1796 | { "seashell" , "SEASHELL" }, |
1797 | { "sienna" , "SIENNA" }, |
1798 | { "silver" , "SILVER" }, |
1799 | { "skyblue" , "SKY_BLUE" }, |
1800 | { "slateblue" , "SLATE_BLUE" }, |
1801 | { "slategray" , "SLATE_GRAY" }, |
1802 | { "snow" , "SNOW" }, |
1803 | { "springgreen" , "SPRING_GREEN" }, |
1804 | { "steelblue" , "STEEL_BLUE" }, |
1805 | { "tan" , "TAN" }, |
1806 | { "teal" , "TEAL" }, |
1807 | { "thistle" , "THISTLE" }, |
1808 | { "tomato" , "TOMATO" }, |
1809 | { "transparent" , "TRANSPARENT" }, |
1810 | { "turquoise" , "TURQUOISE" }, |
1811 | { "violet" , "VIOLET" }, |
1812 | { "webgray" , "WEB_GRAY" }, |
1813 | { "webgreen" , "WEB_GREEN" }, |
1814 | { "webmaroon" , "WEB_MAROON" }, |
1815 | { "webpurple" , "WEB_PURPLE" }, |
1816 | { "wheat" , "WHEAT" }, |
1817 | { "white" , "WHITE" }, |
1818 | { "whitesmoke" , "WHITE_SMOKE" }, |
1819 | { "yellow" , "YELLOW" }, |
1820 | { "yellowgreen" , "YELLOW_GREEN" }, |
1821 | |
1822 | { nullptr, nullptr }, |
1823 | }; |
1824 | |
1825 | const char *RenamesMap3To4::theme_override_renames[][2] = { |
1826 | // First rename the generic prefixes. |
1827 | { "custom_colors/" , "theme_override_colors/" }, |
1828 | { "custom_constants/" , "theme_override_constants/" }, |
1829 | { "custom_fonts/" , "theme_override_fonts/" }, |
1830 | { "custom_icons/" , "theme_override_icons/" }, |
1831 | { "custom_styles/" , "theme_override_styles/" }, |
1832 | |
1833 | // MarginContainer |
1834 | // The margin_* properties are renamed to offset_* in a previous conversion step. |
1835 | // This is fine everywhere except for the MarginContainer theme_override_constants. |
1836 | { "theme_override_constants/offset_right" , "theme_override_constants/margin_right" }, |
1837 | { "theme_override_constants/offset_top" , "theme_override_constants/margin_top" }, |
1838 | { "theme_override_constants/offset_left" , "theme_override_constants/margin_left" }, |
1839 | { "theme_override_constants/offset_bottom" , "theme_override_constants/margin_bottom" }, |
1840 | |
1841 | // Panel/PanelContainer/TabContainer/PopupPanel/PopupMenu |
1842 | { "theme_override_styles/panel" , "theme_override_styles/panel" }, |
1843 | |
1844 | // TabContainer/Tabs(TabBar) |
1845 | { "theme_override_styles/tab_bg" , "theme_override_styles/tab_unselected" }, |
1846 | { "theme_override_styles/tab_fg" , "theme_override_styles/tab_selected" }, |
1847 | |
1848 | // { "theme_override_styles/bg", "theme_override_styles/bg" }, // GraphEdit |
1849 | // { "theme_override_styles/bg", "theme_override_styles/panel" }, // ScrollContainer |
1850 | // { "theme_override_styles/bg", "theme_override_styles/background" }, // ProgressBar |
1851 | // { "theme_override_styles/fg", "theme_override_styles/fill" }, // ProgressBar |
1852 | |
1853 | { "theme_override_colors/font_color_hover" , "theme_override_colors/font_hover_color" }, |
1854 | { "theme_override_colors/font_color_pressed" , "theme_override_colors/font_pressed_color" }, |
1855 | { "theme_override_colors/font_color_disabled" , "theme_override_colors/font_disabled_color" }, |
1856 | { "theme_override_colors/font_color_focus" , "theme_override_colors/font_focus_color" }, |
1857 | { "theme_override_colors/font_color_hover_pressed" , "theme_override_colors/font_hover_pressed_color" }, |
1858 | |
1859 | { "theme_override_colors/font_outline_modulate" , "theme_override_colors/font_outline_color" }, |
1860 | { "theme_override_colors/font_color_shadow" , "theme_override_colors/font_shadow_color" }, |
1861 | |
1862 | { "theme_override_constants/shadow_as_outline" , "theme_override_constants/shadow_outline_size" }, // 0 or 1 |
1863 | |
1864 | { "theme_override_constants/table_vseparation" , "theme_override_constants/table_v_separation" }, |
1865 | { "theme_override_constants/table_hseparation" , "theme_override_constants/table_h_separation" }, |
1866 | |
1867 | { nullptr, nullptr }, |
1868 | }; |
1869 | |
1870 | #endif // DISABLE_DEPRECATED |
1871 | |