godot/scene/resources
Markus Sauermann 28af870750 Code simplifications found by cppcheck
They are based on:
- Boolean arithmetic simplifications
- setting variables that are not accessed
- constant variables
2022-11-21 08:43:36 +01:00
..
default_theme Change hue icons to horizontal GradientTexture2D 2022-11-02 15:34:15 +01:00
animation_library.cpp Improve documentation for get_animation() 2022-08-29 14:54:57 +08:00
animation_library.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
animation.cpp Code simplifications found by cppcheck 2022-11-21 08:43:36 +01:00
animation.h Changed the rest definition of SkeletonProfileHumanoid thumb 2022-09-18 06:28:53 +09:00
audio_stream_wav.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
audio_stream_wav.h Change time parameters and variables to double type 2022-09-26 13:52:54 -05:00
bit_map.cpp Fix polygon generation in BitMap 2022-11-17 10:31:14 +01:00
bit_map.h Fix polygon generation in BitMap 2022-11-17 10:31:14 +01:00
bone_map.cpp Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
bone_map.h Add simple auto mapping to BoneMapper 2022-08-23 16:43:33 +09:00
box_shape_3d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
box_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
camera_attributes.cpp Implement Physical Light Units as an optional setting. 2022-08-31 12:14:46 -07:00
camera_attributes.h Implement Physical Light Units as an optional setting. 2022-08-31 12:14:46 -07:00
canvas_item_material.cpp Make _validate_property a multilevel method 2022-08-22 18:35:11 +03:00
canvas_item_material.h Make _validate_property a multilevel method 2022-08-22 18:35:11 +03:00
capsule_shape_2d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
capsule_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
capsule_shape_3d.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
capsule_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
circle_shape_2d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
circle_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
concave_polygon_shape_2d.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
concave_polygon_shape_2d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
concave_polygon_shape_3d.cpp Add a new HashSet template 2022-05-20 22:40:38 +02:00
concave_polygon_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
convex_polygon_shape_2d.cpp Restore antialiasing for draw_line 2022-04-12 13:03:56 +03:00
convex_polygon_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
convex_polygon_shape_3d.cpp Optimize Convex Collision 2022-10-13 19:07:53 +02:00
convex_polygon_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
curve.cpp Refactor Curv3D and PathFollow3D 2022-11-12 12:03:54 +08:00
curve.h Refactor Curv3D and PathFollow3D 2022-11-12 12:03:54 +08:00
cylinder_shape_3d.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
cylinder_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
environment.cpp Clean up Basis from Euler code 2022-10-21 17:54:49 -05:00
environment.h Merge pull request #60185 from Calinou/environment-fog-and-sky-affect 2022-09-01 23:52:34 +02:00
fog_material.cpp Tweak FogVolume density property to allow sliding to negative values 2022-09-26 15:44:30 +02:00
fog_material.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
font.cpp [Bitmap font] Always set valid fixed size, even if it's not set in the fnt file. 2022-11-14 22:33:59 +02:00
font.h Merge pull request #64422 from bruvzg/make_fonts_unbearably_ugly_2.0 2022-08-26 11:59:07 +02:00
gradient.cpp Rename Curve/Curve2D/Curve3D/Gradient interpolate() to sample() 2022-08-30 22:08:38 +02:00
gradient.h Rename Curve/Curve2D/Curve3D/Gradient interpolate() to sample() 2022-08-30 22:08:38 +02:00
height_map_shape_3d.cpp Improve range property hints for various collision shapes 2022-03-26 16:20:30 +01:00
height_map_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
immediate_mesh.cpp Replace Array return types with TypedArray 2 2022-08-23 23:21:32 +02:00
immediate_mesh.h Replace Array return types with TypedArray 2 2022-08-23 23:21:32 +02:00
importer_mesh.cpp Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
importer_mesh.h Fix LOD-generation on skinned meshes. 2022-09-14 02:46:10 +01:00
label_settings.cpp Remove Signal connect binds 2022-07-29 16:26:13 +02:00
label_settings.h Change LabelSettings default values to match default theme. 2022-08-01 13:33:06 +03:00
material.cpp Simplify GDVIRTUAL_CALL calls 2022-10-19 00:05:48 +02:00
material.h Rename remaining "*_enable" to "*_enabled" 2022-09-21 22:47:46 +02:00
mesh_data_tool.cpp Replace most uses of Map by HashMap 2022-05-16 10:37:48 +02:00
mesh_data_tool.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
mesh_library.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
mesh_library.h Clean up mesh include code and comments 2022-08-20 13:24:40 -05:00
mesh.cpp fix old mesh conversion offsets 2022-11-10 22:55:01 +00:00
mesh.h Revert usage of typed array in add_surface_from_arrays parameters 2022-09-02 18:08:43 +03:00
multimesh.cpp Add tests for empty/unnamed arguments to ClassDB, Variant, GDScript 2022-08-08 16:36:01 +03:00
multimesh.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
navigation_mesh.cpp Remove leading spaces from enumerator name hints 2022-10-08 11:33:50 +08:00
navigation_mesh.h Remove / Replace old Navigation Debug Visualization 2022-09-07 18:30:35 +02:00
packed_scene.cpp Remove more instances of 'instance' being used as a verb 2022-11-16 14:01:53 +01:00
packed_scene.h Remove more instances of 'instance' being used as a verb 2022-11-16 14:01:53 +01:00
particle_process_material.cpp Merge pull request #66349 from A-Lamia/Amount_At_Collision 2022-10-13 09:03:43 +02:00
particle_process_material.h particles: add amount property to sub property collision. 2022-10-13 04:25:18 +11:00
physics_material.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
physics_material.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
polygon_path_finder.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
polygon_path_finder.h Add a new HashSet template 2022-05-20 22:40:38 +02:00
primitive_meshes.cpp Fix misc formatting issues 2022-11-14 19:00:48 +01:00
primitive_meshes.h Add optional UV2 logic for lightmapping to primitive shapes 2022-11-13 19:28:10 +11:00
rectangle_shape_2d.cpp Replace Vector2(i) with Size2(i) for methods returning a size 2022-09-01 20:04:17 +02:00
rectangle_shape_2d.h Replace Vector2(i) with Size2(i) for methods returning a size 2022-09-01 20:04:17 +02:00
resource_format_text.cpp Fix cyclic references in GDScript 2.0 2022-11-18 16:41:31 -05:00
resource_format_text.h Swap arguments of ResourceSaver.save() 2022-07-29 19:53:09 +02:00
SCsub SCons: Add explicit dependencies on thirdparty code in cloned env 2020-12-18 10:29:34 +01:00
segment_shape_2d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
segment_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
separation_ray_shape_2d.cpp rename translate(d) to translate(d)_local in Transform 2D/3D 2022-07-16 11:47:54 +02:00
separation_ray_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
separation_ray_shape_3d.cpp Add suffixes to all nodes and resources 2022-06-11 09:41:05 -05:00
separation_ray_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
shader_include.cpp Implement coloring for disabled branches in the shader editor 2022-08-14 13:57:26 +03:00
shader_include.h Swap arguments of ResourceSaver.save() 2022-07-29 19:53:09 +02:00
shader.cpp Fix Shader::has_parameter to return a correct value 2022-11-11 11:30:34 +03:00
shader.h prefix shader parameters with "shader_parameter/" 2022-09-02 20:41:00 -05:00
shape_2d.cpp Fix cyclic references in GDScript 2.0 2022-11-18 16:41:31 -05:00
shape_2d.h Replace Array return types with TypedArray 2 2022-08-23 23:21:32 +02:00
shape_3d.cpp Fix cyclic references in GDScript 2.0 2022-11-18 16:41:31 -05:00
shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_ccdik.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
skeleton_modification_2d_ccdik.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_fabrik.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
skeleton_modification_2d_fabrik.h Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
skeleton_modification_2d_jiggle.cpp Improve compilation speed (forward declarations/includes cleanup) 2022-02-12 02:46:22 +01:00
skeleton_modification_2d_jiggle.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_lookat.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
skeleton_modification_2d_lookat.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_physicalbones.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
skeleton_modification_2d_physicalbones.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_stackholder.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
skeleton_modification_2d_stackholder.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d_twoboneik.cpp Unify usage of GLOBAL/EDITOR_GET 2022-10-18 19:01:48 +02:00
skeleton_modification_2d_twoboneik.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_2d.cpp Unify usage of GLOBAL/EDITOR_GET 2022-10-18 19:01:48 +02:00
skeleton_modification_2d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_3d_ccdik.cpp Remove leading spaces from enumerator name hints 2022-10-08 11:33:50 +08:00
skeleton_modification_3d_ccdik.h Clean up include guards in 3D skeleton modification code 2022-08-19 19:18:47 -05:00
skeleton_modification_3d_fabrik.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
skeleton_modification_3d_fabrik.h Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
skeleton_modification_3d_jiggle.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
skeleton_modification_3d_jiggle.h Clean up include guards in 3D skeleton modification code 2022-08-19 19:18:47 -05:00
skeleton_modification_3d_lookat.cpp Remove leading spaces from enumerator name hints 2022-10-08 11:33:50 +08:00
skeleton_modification_3d_lookat.h Clean up include guards in 3D skeleton modification code 2022-08-19 19:18:47 -05:00
skeleton_modification_3d_stackholder.cpp Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
skeleton_modification_3d_stackholder.h Clean up include guards in 3D skeleton modification code 2022-08-19 19:18:47 -05:00
skeleton_modification_3d_twoboneik.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
skeleton_modification_3d_twoboneik.h Clean up include guards in 3D skeleton modification code 2022-08-19 19:18:47 -05:00
skeleton_modification_3d.cpp Remove leading spaces from enumerator name hints 2022-10-08 11:33:50 +08:00
skeleton_modification_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_stack_2d.cpp 2D and 3D Skeleton modification docs, and small fixes. 2022-09-14 15:07:45 -07:00
skeleton_modification_stack_2d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_modification_stack_3d.cpp Change skeleton modification 2d and 3d to use the array inspector. 2022-05-07 13:57:10 -07:00
skeleton_modification_stack_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
skeleton_profile.cpp Changed the rest definition of SkeletonProfileHumanoid thumb 2022-09-18 06:28:53 +09:00
skeleton_profile.h Make _validate_property a multilevel method 2022-08-22 18:35:11 +03:00
skin.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
skin.h Merge pull request #56212 from laws65/skin-export-crash-fix 2022-01-05 10:48:52 +01:00
sky_material.cpp Move debanding into internal sky shader code so that it is applied after everything else. 2022-09-13 10:39:04 -07:00
sky_material.h Style: Cleanup header guards for consistency 2022-09-26 13:51:17 +02:00
sky.cpp Capitalize/fix some property enum hints 2022-05-12 15:03:16 -05:00
sky.h Revert "Default to real-time radiance map filter for environment sky reflections" 2022-02-17 23:13:32 -08:00
sphere_shape_3d.cpp Rename str2var to str_to_var and similar 2022-08-26 14:58:22 +02:00
sphere_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
sprite_frames.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
sprite_frames.h SpriteFrames: Sort animations alphabetically 2022-07-13 16:15:11 +02:00
style_box.cpp Simplify GDVIRTUAL_CALL calls 2022-10-19 00:05:48 +02:00
style_box.h Add set_default_margin_all/individual to StyleBox 2022-09-07 16:37:36 +03:00
surface_tool.cpp Remove usage of unitialized variables 2022-10-01 21:09:22 +02:00
surface_tool.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
syntax_highlighter.cpp Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
syntax_highlighter.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
text_file.cpp Allows parsing of invalid UTF-16 surrogates (can be encountered in Windows filenames) and some non-standard UTF-8 variants, makes Unicode parse errors more verbose. 2022-07-07 11:07:18 +03:00
text_file.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
text_line.cpp Code simplifications 2022-11-07 01:21:25 +01:00
text_line.h Use BitField hint for the TextServer enums. Add missing parts for BitField support to the GDextension API. 2022-07-15 08:49:50 +03:00
text_paragraph.cpp Fix TextLine and TextParagraph get_*_object_rect methods not accounting for alignment and drop cap. 2022-10-26 10:46:08 +03:00
text_paragraph.h Use BitField hint for the TextServer enums. Add missing parts for BitField support to the GDextension API. 2022-07-15 08:49:50 +03:00
texture.cpp Merge pull request #67948 from DeeJayLSP/split_webp 2022-11-15 16:25:40 +01:00
texture.h Merge pull request #63271 from Chaosus/fix_texture_error 2022-10-11 16:17:15 +02:00
theme.cpp Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
theme.h Add ThemeDB, expose previously static Theme methods 2022-08-26 19:23:05 +03:00
tile_set.cpp Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
tile_set.h Remove redundant Variant-types initializations 2022-11-14 19:35:19 +01:00
video_stream.h Change time parameters and variables to double type 2022-09-26 13:52:54 -05:00
visual_shader_nodes.cpp Visual Shader UVFunc keep existing input value on function change 2022-11-10 04:31:05 -08:00
visual_shader_nodes.h Fix code generation for VisualShaderNodeTextureParameterTriplanar 2022-09-07 07:02:07 +03:00
visual_shader_particle_nodes.cpp Make some Image methods static 2022-10-14 14:34:15 +02:00
visual_shader_particle_nodes.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00
visual_shader_sdf_nodes.cpp Add some more fixes to visual shader 2022-02-07 11:28:42 +03:00
visual_shader_sdf_nodes.h Fix default input port hints for some modes in visual shader 2022-01-22 11:12:56 +03:00
visual_shader.cpp Simplify GDVIRTUAL_CALL calls 2022-10-19 00:05:48 +02:00
visual_shader.h Fix MSVC warnings, rename shadowed variables, fix uninitialized values, change warnings=all to use /W4. 2022-10-07 11:32:33 +03:00
world_2d.cpp Added node for Navigation links 2022-08-26 22:05:15 -07:00
world_2d.h Add a new HashSet template 2022-05-20 22:40:38 +02:00
world_3d.cpp Merge pull request #63479 from DarkKilauea/nav-link 2022-09-01 23:44:22 +02:00
world_3d.h Implement Physical Light Units as an optional setting. 2022-08-31 12:14:46 -07:00
world_boundary_shape_2d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
world_boundary_shape_2d.h Update copyright statements to 2022 2022-01-03 21:27:34 +01:00
world_boundary_shape_3d.cpp Use suffixes for units in nodes and resources 2022-05-19 14:34:27 -05:00
world_boundary_shape_3d.h Code quality: Fix header guards consistency 2022-07-25 11:17:40 +02:00