godot/scene/2d
Rémi Verschelde fc370b3feb Fix -Wimplicit-fallthrough warnings from GCC 8
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.

The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.

Fixes #26135.
2019-04-05 15:14:53 +02:00
..
animated_sprite.cpp Fixes bad gizmo alignment for textures with odd size 2019-03-07 21:05:23 +01:00
animated_sprite.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
area_2d.cpp Make query checks less agressive, fixes #24694 2019-03-02 08:48:47 -03:00
area_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
audio_stream_player_2d.cpp Fix AudioStreams::stop possibly causing a small noise 2019-02-17 11:20:10 -03:00
audio_stream_player_2d.h Fix AudioStreams::stop possibly causing a small noise 2019-02-17 11:20:10 -03:00
back_buffer_copy.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
back_buffer_copy.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
camera_2d.cpp Add process_mode property to Camera2D 2019-01-06 15:44:17 +01:00
camera_2d.h Add process_mode property to Camera2D 2019-01-06 15:44:17 +01:00
canvas_item.cpp Fix canvas particle material for old GLSL versions 2019-02-11 14:56:23 +01:00
canvas_item.h Ability to get the current canvas item being drawn from stylebox. 2019-01-24 10:22:41 -03:00
canvas_modulate.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
canvas_modulate.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
collision_object_2d.cpp Fix -Wimplicit-fallthrough warnings from GCC 8 2019-04-05 15:14:53 +02:00
collision_object_2d.h -Re-added margins in one way collision (made in a more user friendly way than in Godot 2.1), fixes #23860 2019-01-18 14:15:05 -03:00
collision_polygon_2d.cpp TileSet/TileMap: Decompose solid non-convex polygons into convexes. Real fix for #24003 2019-03-04 21:03:10 -03:00
collision_polygon_2d.h -Re-added margins in one way collision (made in a more user friendly way than in Godot 2.1), fixes #23860 2019-01-18 14:15:05 -03:00
collision_shape_2d.cpp Scene: Ensure classes match their header filename 2019-02-12 17:21:48 +01:00
collision_shape_2d.h -Re-added margins in one way collision (made in a more user friendly way than in Godot 2.1), fixes #23860 2019-01-18 14:15:05 -03:00
cpu_particles_2d.cpp Ensure non-emitting particles not processed on entering tree 2019-03-20 21:54:00 +09:00
cpu_particles_2d.h Prevent invisible/inactive cpupparticles2d to redraw 2019-03-08 16:05:00 +09:00
joints_2d.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
joints_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
light_2d.cpp Do not restrict light texture type (wont work with atlas, though) 2019-01-27 16:58:18 -03:00
light_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
light_occluder_2d.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
light_occluder_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
line_2d.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
line_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
line_builder.cpp Merge pull request #24691 from BlackCatter/line2d-fix 2019-01-02 19:39:31 +01:00
line_builder.h Scene: Ensure classes match their header filename 2019-02-12 17:21:48 +01:00
mesh_instance_2d.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
mesh_instance_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
navigation_2d.cpp Scene: Ensure classes match their header filename 2019-02-12 17:21:48 +01:00
navigation_2d.h Scene: Ensure classes match their header filename 2019-02-12 17:21:48 +01:00
navigation_polygon.cpp Scene: Ensure classes match their header filename 2019-02-12 17:21:48 +01:00
navigation_polygon.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
node_2d.cpp Fix look_at with non uniform scaling 2019-02-08 18:00:54 +01:00
node_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
parallax_background.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
parallax_background.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
parallax_layer.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
parallax_layer.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
particles_2d.cpp Warn when using GPU particles with GLES2 2019-02-09 20:49:58 +01:00
particles_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
path_2d.cpp Do not crash on empty path, closes #23701 2019-02-23 20:07:16 -03:00
path_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
path_texture.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
path_texture.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
physics_body_2d.cpp Add missing check for 2d physics bounce and friction setters 2019-03-18 15:30:26 +01:00
physics_body_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
polygon_2d.cpp Clean up and fix some situations where triangulation may fail, closes #26366 2019-03-02 12:04:24 -03:00
polygon_2d.h Updat polygons when skeleton setup changes, fixes #25949 2019-02-16 20:08:17 -03:00
position_2d.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
position_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
ray_cast_2d.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
ray_cast_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
remote_transform_2d.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
remote_transform_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
SCsub SCons: Build thirdparty code in own env, disable warnings 2018-09-28 14:07:39 +02:00
skeleton_2d.cpp Updat polygons when skeleton setup changes, fixes #25949 2019-02-16 20:08:17 -03:00
skeleton_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
sprite.cpp Fixes bad gizmo alignment for textures with odd size 2019-03-07 21:05:23 +01:00
sprite.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
tile_map.cpp Make size cache dirty when removing tiles in 'TileMap' 2019-03-15 00:58:30 -03:00
tile_map.h Scene: Ensure classes match their header filename 2019-02-12 17:21:48 +01:00
touch_screen_button.cpp Scene: Ensure classes match their header filename 2019-02-12 17:21:48 +01:00
touch_screen_button.h Scene: Ensure classes match their header filename 2019-02-12 17:21:48 +01:00
visibility_notifier_2d.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
visibility_notifier_2d.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
y_sort.cpp Update copyright statements to 2019 2019-01-01 12:58:10 +01:00
y_sort.h Update copyright statements to 2019 2019-01-01 12:58:10 +01:00