godot/scene/2d
reduz 6631f66c2a Optimize StringName usage
* Added a new macro SNAME() that constructs and caches a local stringname.
* Subsequent usages use the cached version.
* Since these use a global static variable, a second refcounter of static usages need to be kept for cleanup time.
* Replaced all theme usages by this new macro.
* Replace all signal emission usages by this new macro.
* Replace all call_deferred usages by this new macro.

This is part of ongoing work to optimize GUI and the editor.
2021-07-18 21:20:02 -03:00
..
animated_sprite_2d.cpp
animated_sprite_2d.h
area_2d.cpp Fix editor suffixes and degrees conversion 2021-06-30 12:38:25 -03:00
area_2d.h Merge pull request #42742 from madmiraal/fix-12215 2021-05-18 20:00:48 +02:00
audio_stream_player_2d.cpp Optimize StringName usage 2021-07-18 21:20:02 -03:00
audio_stream_player_2d.h
back_buffer_copy.cpp
back_buffer_copy.h
camera_2d.cpp Enable Camera2D smoothing on limit change 2021-06-30 16:21:29 -07:00
camera_2d.h
canvas_group.cpp
canvas_group.h
canvas_modulate.cpp Rename instance()->instantiate() when it's a verb 2021-06-19 20:49:18 -06:00
canvas_modulate.h
collision_object_2d.cpp Merge pull request #47395 from sygi/shape_idx_collision 2021-07-16 19:05:08 +02:00
collision_object_2d.h Merge pull request #47395 from sygi/shape_idx_collision 2021-07-16 19:05:08 +02:00
collision_polygon_2d.cpp KinematicBody split between new CharacterBody and PhysicsBody 2021-06-04 11:40:36 -07:00
collision_polygon_2d.h
collision_shape_2d.cpp KinematicBody split between new CharacterBody and PhysicsBody 2021-06-04 11:40:36 -07:00
collision_shape_2d.h
cpu_particles_2d.cpp Fix color properties of particle nodes/material 2021-07-04 02:14:31 +02:00
cpu_particles_2d.h Increase the default 2D gravity to 980.0 2021-05-05 22:49:06 -04:00
gpu_particles_2d.cpp Fix editor suffixes and degrees conversion 2021-06-30 12:38:25 -03:00
gpu_particles_2d.h Support for 2D particles to collide against SDF 2021-05-23 16:43:36 -03:00
joints_2d.cpp Fix editor suffixes and degrees conversion 2021-06-30 12:38:25 -03:00
joints_2d.h
light_2d.cpp Tweak dozens of editor property hints for consistency 2021-05-25 02:50:35 +02:00
light_2d.h
light_occluder_2d.cpp
light_occluder_2d.h
line_2d.cpp
line_2d.h
line_builder.cpp
line_builder.h
mesh_instance_2d.cpp Fixed a bunch of connection errors in TextureEditorPlugin 2021-06-12 08:01:02 +03:00
mesh_instance_2d.h
multimesh_instance_2d.cpp Fixed a bunch of connection errors in TextureEditorPlugin 2021-06-12 08:01:02 +03:00
multimesh_instance_2d.h
navigation_agent_2d.cpp Optimize StringName usage 2021-07-18 21:20:02 -03:00
navigation_agent_2d.h put distance check to target into function 2021-04-27 11:22:37 +02:00
navigation_obstacle_2d.cpp
navigation_obstacle_2d.h
navigation_region_2d.cpp Rename instance()->instantiate() when it's a verb 2021-06-19 20:49:18 -06:00
navigation_region_2d.h
node_2d.cpp Fix editor suffixes and degrees conversion 2021-06-30 12:38:25 -03:00
node_2d.h Fix editor suffixes and degrees conversion 2021-06-30 12:38:25 -03:00
parallax_background.cpp
parallax_background.h
parallax_layer.cpp
parallax_layer.h
path_2d.cpp
path_2d.h
physical_bone_2d.cpp Add support for controlling physics nodes' behavior when disabled 2021-06-30 09:20:44 -07:00
physical_bone_2d.h Initialize PhysicalBone2D::parent_skeleton 2021-06-13 12:10:11 +08:00
physics_body_2d.cpp Move sync to physics to StaticBody2D 2021-07-15 10:13:27 -07:00
physics_body_2d.h Move sync to physics to StaticBody2D 2021-07-15 10:13:27 -07:00
polygon_2d.cpp Fix editor suffixes and degrees conversion 2021-06-30 12:38:25 -03:00
polygon_2d.h Fix editor suffixes and degrees conversion 2021-06-30 12:38:25 -03:00
position_2d.cpp Improve axis awareness and visibility for Position2D and Position3D 2021-06-02 21:53:50 +02:00
position_2d.h
ray_cast_2d.cpp Prevent setting too big or too small Collision Mask and Layer 2021-04-30 17:19:04 +02:00
ray_cast_2d.h
remote_transform_2d.cpp Rename is_a_parent_of() to is_ancestor_of() 2021-06-21 08:39:28 -06:00
remote_transform_2d.h
SCsub
skeleton_2d.cpp Optimize StringName usage 2021-07-18 21:20:02 -03:00
skeleton_2d.h New and improved IK system for Skeleton2D 2021-06-05 15:19:51 -04:00
sprite_2d.cpp Fixed a bunch of connection errors in TextureEditorPlugin 2021-06-12 08:01:02 +03:00
sprite_2d.h Change frame_coords to Vector2i 2021-05-23 21:38:27 +02:00
tile_map.cpp Optimize StringName usage 2021-07-18 21:20:02 -03:00
tile_map.h Deleted YSort, moved its functionality directly into Node2D. 2021-06-05 00:55:25 -07:00
touch_screen_button.cpp Optimize StringName usage 2021-07-18 21:20:02 -03:00
touch_screen_button.h
visible_on_screen_notifier_2d.cpp Rename VisibilityNotifierXD to VisibleOnScreenNotifierXD 2021-06-16 22:01:39 -03:00
visible_on_screen_notifier_2d.h Rename VisibilityNotifierXD to VisibleOnScreenNotifierXD 2021-06-16 22:01:39 -03:00