scene_string_names.h 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. /*************************************************************************/
  2. /* scene_string_names.h */
  3. /*************************************************************************/
  4. /* This file is part of: */
  5. /* GODOT ENGINE */
  6. /* https://godotengine.org */
  7. /*************************************************************************/
  8. /* Copyright (c) 2007-2021 Juan Linietsky, Ariel Manzur. */
  9. /* Copyright (c) 2014-2021 Godot Engine contributors (cf. AUTHORS.md). */
  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. #ifndef SCENE_STRING_NAMES_H
  31. #define SCENE_STRING_NAMES_H
  32. #include "core/node_path.h"
  33. #include "core/string_name.h"
  34. class SceneStringNames {
  35. friend void register_scene_types();
  36. friend void unregister_scene_types();
  37. static SceneStringNames *singleton;
  38. static void create() { singleton = memnew(SceneStringNames); }
  39. static void free() {
  40. memdelete(singleton);
  41. singleton = NULL;
  42. }
  43. SceneStringNames();
  44. public:
  45. _FORCE_INLINE_ static SceneStringNames *get_singleton() { return singleton; }
  46. StringName _estimate_cost;
  47. StringName _compute_cost;
  48. StringName resized;
  49. StringName dot;
  50. StringName doubledot;
  51. StringName draw;
  52. StringName hide;
  53. StringName visibility_changed;
  54. StringName input_event;
  55. StringName _input_event;
  56. StringName gui_input;
  57. StringName _gui_input;
  58. StringName item_rect_changed;
  59. StringName shader;
  60. StringName shader_unshaded;
  61. StringName shading_mode;
  62. StringName tree_entered;
  63. StringName tree_exiting;
  64. StringName tree_exited;
  65. StringName ready;
  66. StringName size_flags_changed;
  67. StringName minimum_size_changed;
  68. StringName sleeping_state_changed;
  69. StringName idle;
  70. StringName iteration;
  71. StringName update;
  72. StringName updated;
  73. StringName line_separation;
  74. StringName mouse_entered;
  75. StringName mouse_exited;
  76. StringName focus_entered;
  77. StringName focus_exited;
  78. StringName sort_children;
  79. StringName finished;
  80. StringName emission_finished;
  81. StringName animation_finished;
  82. StringName animation_changed;
  83. StringName animation_started;
  84. StringName body_shape_entered;
  85. StringName body_entered;
  86. StringName body_shape_exited;
  87. StringName body_exited;
  88. StringName area_shape_entered;
  89. StringName area_shape_exited;
  90. StringName _body_inout;
  91. StringName _area_inout;
  92. StringName _get_gizmo_geometry;
  93. StringName _can_gizmo_scale;
  94. StringName _physics_process;
  95. StringName _process;
  96. StringName _enter_world;
  97. StringName _exit_world;
  98. StringName _enter_tree;
  99. StringName _exit_tree;
  100. StringName _draw;
  101. StringName _input;
  102. StringName _ready;
  103. StringName _unhandled_input;
  104. StringName _unhandled_key_input;
  105. StringName _pressed;
  106. StringName _toggled;
  107. StringName _update_scroll;
  108. StringName _update_xform;
  109. StringName _clips_input;
  110. StringName _proxgroup_add;
  111. StringName _proxgroup_remove;
  112. StringName grouped;
  113. StringName ungrouped;
  114. StringName has_point;
  115. StringName get_drag_data;
  116. StringName can_drop_data;
  117. StringName drop_data;
  118. StringName screen_entered;
  119. StringName screen_exited;
  120. StringName viewport_entered;
  121. StringName viewport_exited;
  122. StringName camera_entered;
  123. StringName camera_exited;
  124. StringName _body_enter_tree;
  125. StringName _body_exit_tree;
  126. StringName _area_enter_tree;
  127. StringName _area_exit_tree;
  128. StringName changed;
  129. StringName _shader_changed;
  130. StringName _spatial_editor_group;
  131. StringName _request_gizmo;
  132. StringName offset;
  133. StringName unit_offset;
  134. StringName rotation_mode;
  135. StringName rotate;
  136. StringName v_offset;
  137. StringName h_offset;
  138. StringName transform_pos;
  139. StringName transform_rot;
  140. StringName transform_scale;
  141. StringName _update_remote;
  142. StringName _update_pairs;
  143. StringName area_entered;
  144. StringName area_exited;
  145. StringName _get_minimum_size;
  146. StringName _im_update;
  147. StringName _queue_update;
  148. StringName baked_light_changed;
  149. StringName _baked_light_changed;
  150. StringName _mouse_enter;
  151. StringName _mouse_exit;
  152. StringName frame_changed;
  153. StringName playback_speed;
  154. StringName playback_active;
  155. StringName autoplay;
  156. StringName blend_times;
  157. StringName speed;
  158. NodePath path_pp;
  159. StringName _default;
  160. StringName node_configuration_warning_changed;
  161. StringName output;
  162. StringName parameters_base_path;
  163. StringName tracks_changed;
  164. enum {
  165. MAX_MATERIALS = 32
  166. };
  167. StringName mesh_materials[MAX_MATERIALS];
  168. StringName _mesh_changed;
  169. };
  170. #endif // SCENE_STRING_NAMES_H