scene_string_names.cpp 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  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. hidden = StaticCString::create("hidden");
  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. item_rect_changed = StaticCString::create("item_rect_changed");
  51. size_flags_changed = StaticCString::create("size_flags_changed");
  52. minimum_size_changed = StaticCString::create("minimum_size_changed");
  53. sleeping_state_changed = StaticCString::create("sleeping_state_changed");
  54. finished = StaticCString::create("finished");
  55. animation_finished = StaticCString::create("animation_finished");
  56. animation_changed = StaticCString::create("animation_changed");
  57. animation_started = StaticCString::create("animation_started");
  58. RESET = StaticCString::create("RESET");
  59. pose_updated = StaticCString::create("pose_updated");
  60. bone_pose_changed = StaticCString::create("bone_pose_changed");
  61. bone_enabled_changed = StaticCString::create("bone_enabled_changed");
  62. show_rest_only_changed = StaticCString::create("show_rest_only_changed");
  63. mouse_entered = StaticCString::create("mouse_entered");
  64. mouse_exited = StaticCString::create("mouse_exited");
  65. mouse_shape_entered = StaticCString::create("mouse_shape_entered");
  66. mouse_shape_exited = StaticCString::create("mouse_shape_exited");
  67. focus_entered = StaticCString::create("focus_entered");
  68. focus_exited = StaticCString::create("focus_exited");
  69. pre_sort_children = StaticCString::create("pre_sort_children");
  70. sort_children = StaticCString::create("sort_children");
  71. body_shape_entered = StaticCString::create("body_shape_entered");
  72. body_entered = StaticCString::create("body_entered");
  73. body_shape_exited = StaticCString::create("body_shape_exited");
  74. body_exited = StaticCString::create("body_exited");
  75. area_shape_entered = StaticCString::create("area_shape_entered");
  76. area_shape_exited = StaticCString::create("area_shape_exited");
  77. _body_inout = StaticCString::create("_body_inout");
  78. _area_inout = StaticCString::create("_area_inout");
  79. idle = StaticCString::create("idle");
  80. iteration = StaticCString::create("iteration");
  81. update = StaticCString::create("update");
  82. updated = StaticCString::create("updated");
  83. _physics_process = StaticCString::create("_physics_process");
  84. _process = StaticCString::create("_process");
  85. _enter_tree = StaticCString::create("_enter_tree");
  86. _exit_tree = StaticCString::create("_exit_tree");
  87. _enter_world = StaticCString::create("_enter_world");
  88. _exit_world = StaticCString::create("_exit_world");
  89. _ready = StaticCString::create("_ready");
  90. _update_scroll = StaticCString::create("_update_scroll");
  91. _update_xform = StaticCString::create("_update_xform");
  92. _structured_text_parser = StaticCString::create("_structured_text_parser");
  93. _proxgroup_add = StaticCString::create("_proxgroup_add");
  94. _proxgroup_remove = StaticCString::create("_proxgroup_remove");
  95. grouped = StaticCString::create("grouped");
  96. ungrouped = StaticCString::create("ungrouped");
  97. screen_entered = StaticCString::create("screen_entered");
  98. screen_exited = StaticCString::create("screen_exited");
  99. viewport_entered = StaticCString::create("viewport_entered");
  100. viewport_exited = StaticCString::create("viewport_exited");
  101. camera_entered = StaticCString::create("camera_entered");
  102. camera_exited = StaticCString::create("camera_exited");
  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. _set_subgizmo_selection = StaticCString::create("_set_subgizmo_selection");
  114. _clear_subgizmo_selection = StaticCString::create("_clear_subgizmo_selection");
  115. offset = StaticCString::create("offset");
  116. unit_offset = StaticCString::create("unit_offset");
  117. rotation_mode = StaticCString::create("rotation_mode");
  118. rotate = StaticCString::create("rotate");
  119. h_offset = StaticCString::create("h_offset");
  120. v_offset = StaticCString::create("v_offset");
  121. transform_pos = StaticCString::create("position");
  122. transform_rot = StaticCString::create("rotation");
  123. transform_scale = StaticCString::create("scale");
  124. _update_remote = StaticCString::create("_update_remote");
  125. _update_pairs = StaticCString::create("_update_pairs");
  126. _get_minimum_size = StaticCString::create("_get_minimum_size");
  127. area_entered = StaticCString::create("area_entered");
  128. area_exited = StaticCString::create("area_exited");
  129. _has_point = StaticCString::create("_has_point");
  130. line_separation = StaticCString::create("line_separation");
  131. _get_drag_data = StaticCString::create("_get_drag_data");
  132. _drop_data = StaticCString::create("_drop_data");
  133. _can_drop_data = StaticCString::create("_can_drop_data");
  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. _mouse_shape_enter = StaticCString::create("_mouse_shape_enter");
  139. _mouse_shape_exit = StaticCString::create("_mouse_shape_exit");
  140. _pressed = StaticCString::create("_pressed");
  141. _toggled = StaticCString::create("_toggled");
  142. frame_changed = StaticCString::create("frame_changed");
  143. texture_changed = StaticCString::create("texture_changed");
  144. playback_speed = StaticCString::create("playback/speed");
  145. playback_active = StaticCString::create("playback/active");
  146. autoplay = StaticCString::create("autoplay");
  147. blend_times = StaticCString::create("blend_times");
  148. speed = StaticCString::create("speed");
  149. node_configuration_warning_changed = StaticCString::create("node_configuration_warning_changed");
  150. output = StaticCString::create("output");
  151. path_pp = NodePath("..");
  152. // Audio bus name.
  153. Master = StaticCString::create("Master");
  154. _default = StaticCString::create("default");
  155. _window_group = StaticCString::create("_window_group");
  156. _window_input = StaticCString::create("_window_input");
  157. window_input = StaticCString::create("window_input");
  158. _window_unhandled_input = StaticCString::create("_window_unhandled_input");
  159. _get_contents_minimum_size = StaticCString::create("_get_contents_minimum_size");
  160. theme_changed = StaticCString::create("theme_changed");
  161. parameters_base_path = "parameters/";
  162. shader_overrides_group = StaticCString::create("_shader_overrides_group_");
  163. shader_overrides_group_active = StaticCString::create("_shader_overrides_group_active_");
  164. #ifndef DISABLE_DEPRECATED
  165. use_in_baked_light = StaticCString::create("use_in_baked_light");
  166. use_dynamic_gi = StaticCString::create("use_dynamic_gi");
  167. #endif
  168. }