scene_string_names.cpp 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. /**************************************************************************/
  2. /* scene_string_names.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. #include "scene_string_names.h"
  31. SceneStringNames *SceneStringNames::singleton = nullptr;
  32. SceneStringNames::SceneStringNames() {
  33. _estimate_cost = StaticCString::create("_estimate_cost");
  34. _compute_cost = StaticCString::create("_compute_cost");
  35. resized = StaticCString::create("resized");
  36. dot = StaticCString::create(".");
  37. doubledot = StaticCString::create("..");
  38. draw = StaticCString::create("draw");
  39. _draw = StaticCString::create("_draw");
  40. hide = StaticCString::create("hide");
  41. visibility_changed = StaticCString::create("visibility_changed");
  42. input_event = StaticCString::create("input_event");
  43. shader = StaticCString::create("shader");
  44. shader_unshaded = StaticCString::create("shader/unshaded");
  45. shading_mode = StaticCString::create("shader/shading_mode");
  46. tree_entered = StaticCString::create("tree_entered");
  47. tree_exiting = StaticCString::create("tree_exiting");
  48. tree_exited = StaticCString::create("tree_exited");
  49. ready = StaticCString::create("ready");
  50. child_entered_tree = StaticCString::create("child_entered_tree");
  51. child_exiting_tree = StaticCString::create("child_exiting_tree");
  52. item_rect_changed = StaticCString::create("item_rect_changed");
  53. size_flags_changed = StaticCString::create("size_flags_changed");
  54. minimum_size_changed = StaticCString::create("minimum_size_changed");
  55. sleeping_state_changed = StaticCString::create("sleeping_state_changed");
  56. finished = StaticCString::create("finished");
  57. loop_finished = StaticCString::create("loop_finished");
  58. step_finished = StaticCString::create("step_finished");
  59. animation_finished = StaticCString::create("animation_finished");
  60. animation_changed = StaticCString::create("animation_changed");
  61. animation_started = StaticCString::create("animation_started");
  62. mouse_entered = StaticCString::create("mouse_entered");
  63. mouse_exited = StaticCString::create("mouse_exited");
  64. focus_entered = StaticCString::create("focus_entered");
  65. focus_exited = StaticCString::create("focus_exited");
  66. sort_children = StaticCString::create("sort_children");
  67. body_shape_entered = StaticCString::create("body_shape_entered");
  68. body_entered = StaticCString::create("body_entered");
  69. body_shape_exited = StaticCString::create("body_shape_exited");
  70. body_exited = StaticCString::create("body_exited");
  71. area_shape_entered = StaticCString::create("area_shape_entered");
  72. area_shape_exited = StaticCString::create("area_shape_exited");
  73. _body_inout = StaticCString::create("_body_inout");
  74. _area_inout = StaticCString::create("_area_inout");
  75. idle = StaticCString::create("idle");
  76. iteration = StaticCString::create("iteration");
  77. update = StaticCString::create("update");
  78. updated = StaticCString::create("updated");
  79. _physics_process = StaticCString::create("_physics_process");
  80. _process = StaticCString::create("_process");
  81. _enter_tree = StaticCString::create("_enter_tree");
  82. _exit_tree = StaticCString::create("_exit_tree");
  83. _enter_world = StaticCString::create("_enter_world");
  84. _exit_world = StaticCString::create("_exit_world");
  85. _ready = StaticCString::create("_ready");
  86. _update_scroll = StaticCString::create("_update_scroll");
  87. _update_xform = StaticCString::create("_update_xform");
  88. _clips_input = StaticCString::create("_clips_input");
  89. _proxgroup_add = StaticCString::create("_proxgroup_add");
  90. _proxgroup_remove = StaticCString::create("_proxgroup_remove");
  91. grouped = StaticCString::create("grouped");
  92. ungrouped = StaticCString::create("ungrouped");
  93. screen_entered = StaticCString::create("screen_entered");
  94. screen_exited = StaticCString::create("screen_exited");
  95. viewport_entered = StaticCString::create("viewport_entered");
  96. viewport_exited = StaticCString::create("viewport_exited");
  97. camera_entered = StaticCString::create("camera_entered");
  98. camera_exited = StaticCString::create("camera_exited");
  99. _body_enter_tree = StaticCString::create("_body_enter_tree");
  100. _body_exit_tree = StaticCString::create("_body_exit_tree");
  101. _area_enter_tree = StaticCString::create("_area_enter_tree");
  102. _area_exit_tree = StaticCString::create("_area_exit_tree");
  103. _input = StaticCString::create("_input");
  104. _input_event = StaticCString::create("_input_event");
  105. gui_input = StaticCString::create("gui_input");
  106. _gui_input = StaticCString::create("_gui_input");
  107. _unhandled_input = StaticCString::create("_unhandled_input");
  108. _unhandled_key_input = StaticCString::create("_unhandled_key_input");
  109. changed = StaticCString::create("changed");
  110. _shader_changed = StaticCString::create("_shader_changed");
  111. _spatial_editor_group = StaticCString::create("_spatial_editor_group");
  112. _request_gizmo = StaticCString::create("_request_gizmo");
  113. offset = StaticCString::create("offset");
  114. unit_offset = StaticCString::create("unit_offset");
  115. rotation_mode = StaticCString::create("rotation_mode");
  116. rotate = StaticCString::create("rotate");
  117. h_offset = StaticCString::create("h_offset");
  118. v_offset = StaticCString::create("v_offset");
  119. transform_pos = StaticCString::create("position");
  120. transform_rot = StaticCString::create("rotation_degrees");
  121. transform_scale = StaticCString::create("scale");
  122. _update_remote = StaticCString::create("_update_remote");
  123. _update_pairs = StaticCString::create("_update_pairs");
  124. _get_minimum_size = StaticCString::create("_get_minimum_size");
  125. area_entered = StaticCString::create("area_entered");
  126. area_exited = StaticCString::create("area_exited");
  127. has_point = StaticCString::create("has_point");
  128. line_separation = StaticCString::create("line_separation");
  129. get_drag_data = StaticCString::create("get_drag_data");
  130. drop_data = StaticCString::create("drop_data");
  131. can_drop_data = StaticCString::create("can_drop_data");
  132. _im_update = StaticCString::create("_im_update");
  133. _queue_update = StaticCString::create("_queue_update");
  134. baked_light_changed = StaticCString::create("baked_light_changed");
  135. _baked_light_changed = StaticCString::create("_baked_light_changed");
  136. _mouse_enter = StaticCString::create("_mouse_enter");
  137. _mouse_exit = StaticCString::create("_mouse_exit");
  138. _pressed = StaticCString::create("_pressed");
  139. _toggled = StaticCString::create("_toggled");
  140. frame_changed = StaticCString::create("frame_changed");
  141. playback_speed = StaticCString::create("playback/speed");
  142. playback_active = StaticCString::create("playback/active");
  143. autoplay = StaticCString::create("autoplay");
  144. blend_times = StaticCString::create("blend_times");
  145. speed = StaticCString::create("speed");
  146. node_configuration_warning_changed = StaticCString::create("node_configuration_warning_changed");
  147. output = StaticCString::create("output");
  148. path_pp = NodePath("..");
  149. _default = StaticCString::create("default");
  150. _mesh_changed = StaticCString::create("_mesh_changed");
  151. parameters_base_path = "parameters/";
  152. tracks_changed = "tracks_changed";
  153. }