2014-02-10 01:10:30 +00:00
|
|
|
/*************************************************************************/
|
|
|
|
/* scene_string_names.cpp */
|
|
|
|
/*************************************************************************/
|
|
|
|
/* This file is part of: */
|
|
|
|
/* GODOT ENGINE */
|
2017-08-27 12:16:55 +00:00
|
|
|
/* https://godotengine.org */
|
2014-02-10 01:10:30 +00:00
|
|
|
/*************************************************************************/
|
2018-01-01 13:40:08 +00:00
|
|
|
/* Copyright (c) 2007-2018 Juan Linietsky, Ariel Manzur. */
|
|
|
|
/* Copyright (c) 2014-2018 Godot Engine contributors (cf. AUTHORS.md) */
|
2014-02-10 01:10:30 +00:00
|
|
|
/* */
|
|
|
|
/* Permission is hereby granted, free of charge, to any person obtaining */
|
|
|
|
/* a copy of this software and associated documentation files (the */
|
|
|
|
/* "Software"), to deal in the Software without restriction, including */
|
|
|
|
/* without limitation the rights to use, copy, modify, merge, publish, */
|
|
|
|
/* distribute, sublicense, and/or sell copies of the Software, and to */
|
|
|
|
/* permit persons to whom the Software is furnished to do so, subject to */
|
|
|
|
/* the following conditions: */
|
|
|
|
/* */
|
|
|
|
/* The above copyright notice and this permission notice shall be */
|
|
|
|
/* included in all copies or substantial portions of the Software. */
|
|
|
|
/* */
|
|
|
|
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */
|
|
|
|
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */
|
|
|
|
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/
|
|
|
|
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */
|
|
|
|
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */
|
|
|
|
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
|
|
|
|
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|
|
|
/*************************************************************************/
|
|
|
|
#include "scene_string_names.h"
|
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
SceneStringNames *SceneStringNames::singleton = NULL;
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
SceneStringNames::SceneStringNames() {
|
|
|
|
|
2017-03-25 09:44:41 +00:00
|
|
|
_estimate_cost = StaticCString::create("_estimate_cost");
|
|
|
|
_compute_cost = StaticCString::create("_compute_cost");
|
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
resized = StaticCString::create("resized");
|
|
|
|
dot = StaticCString::create(".");
|
|
|
|
doubledot = StaticCString::create("..");
|
|
|
|
draw = StaticCString::create("draw");
|
|
|
|
_draw = StaticCString::create("_draw");
|
|
|
|
hide = StaticCString::create("hide");
|
|
|
|
visibility_changed = StaticCString::create("visibility_changed");
|
|
|
|
input_event = StaticCString::create("input_event");
|
2017-06-28 20:00:18 +00:00
|
|
|
shader = StaticCString::create("shader");
|
2017-03-05 15:44:50 +00:00
|
|
|
shader_unshaded = StaticCString::create("shader/unshaded");
|
|
|
|
shading_mode = StaticCString::create("shader/shading_mode");
|
|
|
|
tree_entered = StaticCString::create("tree_entered");
|
|
|
|
tree_exited = StaticCString::create("tree_exited");
|
|
|
|
item_rect_changed = StaticCString::create("item_rect_changed");
|
|
|
|
size_flags_changed = StaticCString::create("size_flags_changed");
|
|
|
|
minimum_size_changed = StaticCString::create("minimum_size_changed");
|
|
|
|
sleeping_state_changed = StaticCString::create("sleeping_state_changed");
|
|
|
|
|
|
|
|
finished = StaticCString::create("finished");
|
|
|
|
emission_finished = StaticCString::create("emission_finished");
|
|
|
|
animation_finished = StaticCString::create("animation_finished");
|
|
|
|
animation_changed = StaticCString::create("animation_changed");
|
|
|
|
animation_started = StaticCString::create("animation_started");
|
|
|
|
|
|
|
|
mouse_entered = StaticCString::create("mouse_entered");
|
|
|
|
mouse_exited = StaticCString::create("mouse_exited");
|
|
|
|
|
|
|
|
focus_entered = StaticCString::create("focus_entered");
|
|
|
|
focus_exited = StaticCString::create("focus_exited");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
sort_children = StaticCString::create("sort_children");
|
|
|
|
|
2017-01-12 03:51:08 +00:00
|
|
|
body_shape_entered = StaticCString::create("body_shape_entered");
|
|
|
|
body_entered = StaticCString::create("body_entered");
|
|
|
|
body_shape_exited = StaticCString::create("body_shape_exited");
|
|
|
|
body_exited = StaticCString::create("body_exited");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-01-12 03:51:08 +00:00
|
|
|
area_shape_entered = StaticCString::create("area_shape_entered");
|
|
|
|
area_shape_exited = StaticCString::create("area_shape_exited");
|
2015-03-17 03:45:25 +00:00
|
|
|
|
2015-06-29 03:29:49 +00:00
|
|
|
_body_inout = StaticCString::create("_body_inout");
|
|
|
|
_area_inout = StaticCString::create("_area_inout");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
idle = StaticCString::create("idle");
|
|
|
|
iteration = StaticCString::create("iteration");
|
|
|
|
update = StaticCString::create("update");
|
|
|
|
updated = StaticCString::create("updated");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
_get_gizmo_geometry = StaticCString::create("_get_gizmo_geometry");
|
|
|
|
_can_gizmo_scale = StaticCString::create("_can_gizmo_scale");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-09-30 14:19:07 +00:00
|
|
|
_physics_process = StaticCString::create("_physics_process");
|
2017-03-05 15:44:50 +00:00
|
|
|
_process = StaticCString::create("_process");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
_enter_tree = StaticCString::create("_enter_tree");
|
|
|
|
_exit_tree = StaticCString::create("_exit_tree");
|
|
|
|
_enter_world = StaticCString::create("_enter_world");
|
|
|
|
_exit_world = StaticCString::create("_exit_world");
|
|
|
|
_ready = StaticCString::create("_ready");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
_update_scroll = StaticCString::create("_update_scroll");
|
|
|
|
_update_xform = StaticCString::create("_update_xform");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
_proxgroup_add = StaticCString::create("_proxgroup_add");
|
|
|
|
_proxgroup_remove = StaticCString::create("_proxgroup_remove");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
grouped = StaticCString::create("grouped");
|
|
|
|
ungrouped = StaticCString::create("ungrouped");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
screen_entered = StaticCString::create("screen_entered");
|
|
|
|
screen_exited = StaticCString::create("screen_exited");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
viewport_entered = StaticCString::create("viewport_entered");
|
|
|
|
viewport_exited = StaticCString::create("viewport_exited");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
camera_entered = StaticCString::create("camera_entered");
|
|
|
|
camera_exited = StaticCString::create("camera_exited");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2014-11-06 00:20:42 +00:00
|
|
|
_body_enter_tree = StaticCString::create("_body_enter_tree");
|
|
|
|
_body_exit_tree = StaticCString::create("_body_exit_tree");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2015-03-17 03:45:25 +00:00
|
|
|
_area_enter_tree = StaticCString::create("_area_enter_tree");
|
|
|
|
_area_exit_tree = StaticCString::create("_area_exit_tree");
|
|
|
|
|
2017-02-25 20:09:15 +00:00
|
|
|
_input = StaticCString::create("_input");
|
2017-03-05 15:44:50 +00:00
|
|
|
_input_event = StaticCString::create("_input_event");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
gui_input = StaticCString::create("gui_input");
|
|
|
|
_gui_input = StaticCString::create("_gui_input");
|
2017-01-08 19:28:12 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
_unhandled_input = StaticCString::create("_unhandled_input");
|
|
|
|
_unhandled_key_input = StaticCString::create("_unhandled_key_input");
|
2017-01-10 21:02:19 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
changed = StaticCString::create("changed");
|
|
|
|
_shader_changed = StaticCString::create("_shader_changed");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
_spatial_editor_group = StaticCString::create("_spatial_editor_group");
|
|
|
|
_request_gizmo = StaticCString::create("_request_gizmo");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
offset = StaticCString::create("offset");
|
|
|
|
unit_offset = StaticCString::create("unit_offset");
|
|
|
|
rotation_mode = StaticCString::create("rotation_mode");
|
|
|
|
rotate = StaticCString::create("rotate");
|
|
|
|
h_offset = StaticCString::create("h_offset");
|
|
|
|
v_offset = StaticCString::create("v_offset");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-08-07 01:51:56 +00:00
|
|
|
transform_pos = StaticCString::create("position");
|
2017-11-10 10:07:52 +00:00
|
|
|
transform_rot = StaticCString::create("rotation_degrees");
|
2017-08-07 01:51:56 +00:00
|
|
|
transform_scale = StaticCString::create("scale");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
_update_remote = StaticCString::create("_update_remote");
|
|
|
|
_update_pairs = StaticCString::create("_update_pairs");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-13 15:45:27 +00:00
|
|
|
_get_minimum_size = StaticCString::create("_get_minimum_size");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
area_entered = StaticCString::create("area_entered");
|
|
|
|
area_exited = StaticCString::create("area_exited");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
|
|
|
has_point = StaticCString::create("has_point");
|
|
|
|
|
|
|
|
line_separation = StaticCString::create("line_separation");
|
|
|
|
|
|
|
|
get_drag_data = StaticCString::create("get_drag_data");
|
|
|
|
drop_data = StaticCString::create("drop_data");
|
|
|
|
can_drop_data = StaticCString::create("can_drop_data");
|
|
|
|
|
2014-05-29 13:56:39 +00:00
|
|
|
_im_update = StaticCString::create("_im_update");
|
|
|
|
_queue_update = StaticCString::create("_queue_update");
|
2014-02-10 01:10:30 +00:00
|
|
|
|
2014-06-11 13:41:03 +00:00
|
|
|
baked_light_changed = StaticCString::create("baked_light_changed");
|
|
|
|
_baked_light_changed = StaticCString::create("_baked_light_changed");
|
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
_mouse_enter = StaticCString::create("_mouse_enter");
|
|
|
|
_mouse_exit = StaticCString::create("_mouse_exit");
|
2014-06-11 13:41:03 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
_pressed = StaticCString::create("_pressed");
|
|
|
|
_toggled = StaticCString::create("_toggled");
|
2014-12-02 20:26:56 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
frame_changed = StaticCString::create("frame_changed");
|
2014-12-07 05:04:20 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
playback_speed = StaticCString::create("playback/speed");
|
|
|
|
playback_active = StaticCString::create("playback/active");
|
|
|
|
autoplay = StaticCString::create("autoplay");
|
|
|
|
blend_times = StaticCString::create("blend_times");
|
|
|
|
speed = StaticCString::create("speed");
|
2015-06-29 03:29:49 +00:00
|
|
|
|
2016-05-17 21:27:15 +00:00
|
|
|
node_configuration_warning_changed = StaticCString::create("node_configuration_warning_changed");
|
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
path_pp = NodePath("..");
|
2016-05-15 02:48:23 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
_default = StaticCString::create("default");
|
2016-05-27 17:18:40 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
for (int i = 0; i < MAX_MATERIALS; i++) {
|
2016-05-27 17:18:40 +00:00
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
mesh_materials[i] = "material/" + itos(i);
|
2016-05-27 17:18:40 +00:00
|
|
|
}
|
|
|
|
|
2017-03-05 15:44:50 +00:00
|
|
|
_mesh_changed = StaticCString::create("_mesh_changed");
|
2014-02-10 01:10:30 +00:00
|
|
|
}
|