godot/scene/resources
EddieBreeg 8747c67d9e
Fix potential integer underflow in rounded up divisions
A new `Math::division_round_up()` function was added, allowing for easy
and correct computation of integer divisions when the result needs to
be rounded up.

Fixes #80358.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2024-01-02 14:14:47 +01:00
..
animated_texture.cpp Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
animated_texture.h Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
animation_library.cpp Unexpose internal data property of AnimationLibrary 2023-11-02 18:57:39 +01:00
animation_library.h Implement AnimationManager the base class of AnimationPlayer/Tree 2023-09-29 08:23:57 +09:00
animation.cpp Restored the ability for linear interpolation to work on a mix of integer and float keyframes. 2023-12-13 00:24:46 +01:00
animation.h Rework blending method in Variant animation for Int/Array/String 2023-11-16 21:37:18 +09:00
atlas_texture.cpp Fix multiple usability issues in the texture region editor 2023-08-27 14:25:49 +02:00
atlas_texture.h Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
audio_stream_polyphonic.cpp Merge pull request #71801 from akien-mga/codespell-en-GB-to-en-US 2023-01-23 11:08:55 +01:00
audio_stream_polyphonic.h Simplify AudioStreamPolyphonic 2023-01-23 10:47:01 +01:00
audio_stream_wav.cpp Enable shadow warnings and fix raised errors 2023-05-11 16:00:59 +02:00
audio_stream_wav.h Enable shadow warnings and fix raised errors 2023-05-11 16:00:59 +02:00
bit_map.cpp Fix potential integer underflow in rounded up divisions 2024-01-02 14:14:47 +01:00
bit_map.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
bone_map.cpp Fix invalid return from some _get/_set 2023-10-27 15:49:19 +02:00
bone_map.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
box_shape_3d.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
box_shape_3d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
camera_attributes.cpp Merge pull request #80326 from MewPurPur/no-exp-with-zero 2023-12-04 22:57:09 +01:00
camera_attributes.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
camera_texture.cpp Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
camera_texture.h Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
canvas_item_material.cpp Avoid sync issues in materials with scheduled shader updates 2023-05-10 18:53:41 +02:00
canvas_item_material.h Avoid sync issues in materials with scheduled shader updates 2023-05-10 18:53:41 +02:00
capsule_shape_2d.cpp Fixed width of CapsuleShape2D::get_rect + set center to center of shape 2023-05-14 18:09:07 +02:00
capsule_shape_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
capsule_shape_3d.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
capsule_shape_3d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
circle_shape_2d.cpp Improve stroke drawing on 2D collision shapes 2023-01-29 19:07:09 +03:00
circle_shape_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
compressed_texture.cpp Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
compressed_texture.h Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
concave_polygon_shape_2d.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
concave_polygon_shape_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
concave_polygon_shape_3d.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
concave_polygon_shape_3d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
convex_polygon_shape_2d.cpp Warn if a concave shape is assigned to ConvexPolygonShape2D 2023-02-11 21:58:35 +01:00
convex_polygon_shape_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
convex_polygon_shape_3d.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
convex_polygon_shape_3d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
curve_texture.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
curve_texture.h Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
curve.cpp Replace sanity with safety for checks 2023-10-08 16:22:24 +02:00
curve.h Add handles to control Curve3D tilt 2023-08-12 14:55:38 +08:00
cylinder_shape_3d.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
cylinder_shape_3d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
environment.cpp Replace radians range hint with radians_as_degrees 2023-09-25 08:50:19 +02:00
environment.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
fog_material.cpp Fix several Material texture parameter updates 2023-11-01 03:10:46 +02:00
fog_material.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
font.compat.inc [Text Server] Store extra spacing of individual font variations. 2023-08-24 11:58:12 +03:00
font.cpp Don't use TTR/RTR for ERR/WARN prints 2023-11-12 12:00:55 +01:00
font.h [Bitmap fonts] Add support for scaling. 2023-10-13 12:57:45 +03:00
gradient_texture.cpp Add placeholder RID to GradientTexture1D 2023-08-31 15:53:32 +02:00
gradient_texture.h Add placeholder RID to GradientTexture1D 2023-08-31 15:53:32 +02:00
gradient.cpp Merge pull request #77779 from KoBeWi/emit_changed() 2023-06-10 12:11:25 +02:00
gradient.h Overhaul the Gradient Editor 2023-09-21 15:55:28 +03:00
height_map_shape_3d.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
height_map_shape_3d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
image_texture.cpp Add support for ImageTexture3D serialization 2023-09-22 16:24:46 +08:00
image_texture.h Add support for ImageTexture3D serialization 2023-09-22 16:24:46 +08:00
immediate_mesh.cpp Create tangent array if mesh created without tangents 2023-11-07 14:24:23 +01:00
immediate_mesh.h Fix a few cases where surface format is still 32 bits 2023-10-11 14:56:19 -06:00
importer_mesh.cpp Merge pull request #84384 from zeux/meshopt-update 2023-12-12 10:39:28 +01:00
importer_mesh.h Vertex and attribute compression to reduce the size of the vertex format. 2023-10-05 12:02:23 -06:00
label_settings.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
label_settings.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
material.cpp Fix typo in BaseMaterial3D conversion from 3.x SpatialMaterial 2023-11-23 15:18:03 +01:00
material.h Cleanup instances of using uint32_t for mesh formats 2023-10-12 22:01:41 +02:00
mesh_data_tool.compat.inc Vertex and attribute compression to reduce the size of the vertex format. 2023-10-05 12:02:23 -06:00
mesh_data_tool.cpp Vertex and attribute compression to reduce the size of the vertex format. 2023-10-05 12:02:23 -06:00
mesh_data_tool.h Vertex and attribute compression to reduce the size of the vertex format. 2023-10-05 12:02:23 -06:00
mesh_library.cpp Cleanup MeshLibrary changed signals 2023-08-19 11:56:31 +02:00
mesh_library.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
mesh_texture.cpp Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
mesh_texture.h Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
mesh.cpp Fix multiple issues with UV compression 2023-10-30 23:11:34 +01:00
mesh.h Fix a few cases where surface format is still 32 bits 2023-10-11 14:56:19 -06:00
multimesh.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
multimesh.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
navigation_mesh_source_geometry_data_2d.cpp Add 2D navigation mesh baking 2023-09-25 19:48:14 +02:00
navigation_mesh_source_geometry_data_2d.h Add 2D navigation mesh baking 2023-09-25 19:48:14 +02:00
navigation_mesh_source_geometry_data_3d.cpp Fix potential crashes in navmesh bake geometry functions 2023-06-19 20:58:36 +02:00
navigation_mesh_source_geometry_data_3d.h Fix for threaded NavigationMesh baking under new thread guards 2023-06-14 01:53:37 +02:00
navigation_mesh.cpp Add clear() function to NavigationMesh / NavigationPolygon 2023-07-07 16:27:39 +02:00
navigation_mesh.h Merge pull request #79786 from smix8/navmesh_max_edge_len_4.x 2023-07-25 21:26:16 +02:00
navigation_polygon.cpp Removed navigation_mesh instantiation from constructor of NavigationPolygon 2023-10-18 19:04:08 +02:00
navigation_polygon.h Add 2D navigation mesh baking 2023-09-25 19:48:14 +02:00
packed_scene.cpp Implement project-wide node groups 2023-12-19 18:07:19 +01:00
packed_scene.h Implement project-wide node groups 2023-12-19 18:07:19 +01:00
particle_process_material.cpp Improve editing of min/max particle properties 2023-12-20 06:31:08 +01:00
particle_process_material.h Improve editing of min/max particle properties 2023-12-20 06:31:08 +01:00
physics_material.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
physics_material.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
placeholder_textures.cpp Lazily allocate RIDs for PlaceholderTextures to avoid allocating GPU resources unless used 2023-07-25 10:49:35 +02:00
placeholder_textures.h Lazily allocate RIDs for PlaceholderTextures to avoid allocating GPU resources unless used 2023-07-25 10:49:35 +02:00
polygon_path_finder.cpp Remove (or make verbose only) various debug prints. 2023-03-20 08:14:18 +02:00
polygon_path_finder.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
portable_compressed_texture.cpp Add custom texture create function 2023-07-26 20:46:34 +10:00
portable_compressed_texture.h Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
primitive_meshes.cpp Reduce minimum capsule/cylinder mesh rings to 0 2023-12-05 22:27:23 -06:00
primitive_meshes.h Expose TextServer justification flags to Label, Label3D, TextMesh and RTL. Add flags to control last/single line justification. 2023-05-15 19:23:54 +03:00
rectangle_shape_2d.cpp Improve stroke drawing on 2D collision shapes 2023-01-29 19:07:09 +03:00
rectangle_shape_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
resource_format_text.cpp Fix file disappearing when renaming dependencies 2023-12-14 22:28:48 +01:00
resource_format_text.h Fix ImageTextureLayered serialisation issues. 2023-07-23 13:54:04 +02:00
SCsub Move default theme files to scene/theme 2023-08-28 00:23:38 +02:00
segment_shape_2d.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
segment_shape_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
separation_ray_shape_2d.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
separation_ray_shape_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
separation_ray_shape_3d.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
separation_ray_shape_3d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
shader_include.cpp Fix empty shader resource loading 2023-09-04 14:59:59 +03:00
shader_include.h Fix several shader preprocessor include issues 2023-01-27 14:37:55 +02:00
shader.cpp Fix empty shader resource loading 2023-09-04 14:59:59 +03:00
shader.h Fix several shader preprocessor include issues 2023-01-27 14:37:55 +02:00
shape_2d.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
shape_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
shape_3d.cpp Open up bounds of Shape3D.margin to support other physics engines 2023-03-18 20:52:13 +01:00
shape_3d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
skeleton_modification_2d_ccdik.cpp Fix invalid return from some more _get/_set 2023-10-27 21:26:13 +02:00
skeleton_modification_2d_ccdik.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
skeleton_modification_2d_fabrik.cpp Fix invalid return from some more _get/_set 2023-10-27 21:26:13 +02:00
skeleton_modification_2d_fabrik.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
skeleton_modification_2d_jiggle.cpp Fix invalid return from some more _get/_set 2023-10-27 21:26:13 +02:00
skeleton_modification_2d_jiggle.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
skeleton_modification_2d_lookat.cpp Fix invalid return from some more _get/_set 2023-10-27 21:26:13 +02:00
skeleton_modification_2d_lookat.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
skeleton_modification_2d_physicalbones.cpp Fix invalid return from some more _get/_set 2023-10-27 21:26:13 +02:00
skeleton_modification_2d_physicalbones.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
skeleton_modification_2d_stackholder.cpp Fix invalid return from some more _get/_set 2023-10-27 21:26:13 +02:00
skeleton_modification_2d_stackholder.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
skeleton_modification_2d_twoboneik.cpp Change suffix from m to px 2023-12-11 16:52:03 -08:00
skeleton_modification_2d_twoboneik.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
skeleton_modification_2d.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
skeleton_modification_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
skeleton_modification_stack_2d.cpp Fill remaining global scope constant descriptions 2023-11-13 15:17:10 +01:00
skeleton_modification_stack_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
skeleton_profile.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
skeleton_profile.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
skin.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
skin.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
sky_material.cpp Expose energy_multiplier to PanoramaSkyMaterial and ProceduralSkyMaterial 2023-10-25 14:12:22 +02:00
sky_material.h Expose energy_multiplier to PanoramaSkyMaterial and ProceduralSkyMaterial 2023-10-25 14:12:22 +02:00
sky.cpp One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
sky.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
sphere_shape_3d.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
sphere_shape_3d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
sprite_frames.cpp Fix SpriteFrames data loss on 3-to-4 conversion 2023-02-22 11:17:10 +03:00
sprite_frames.h Make AnimatedSprite's playback API consistent with AnimationPlayer 2023-01-26 12:40:19 +09:00
style_box_flat.cpp Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file 2023-07-17 13:25:00 +02:00
style_box_flat.h Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file 2023-07-17 13:25:00 +02:00
style_box_line.cpp Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file 2023-07-17 13:25:00 +02:00
style_box_line.h Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file 2023-07-17 13:25:00 +02:00
style_box_texture.cpp Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file 2023-07-17 13:25:00 +02:00
style_box_texture.h Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file 2023-07-17 13:25:00 +02:00
style_box.cpp Extract StyleBoxFlat, StyleBoxTexture and StyleBoxLine in their own file 2023-07-17 13:25:00 +02:00
style_box.h Extract ScriptInstance to simplify includes 2023-09-06 22:54:38 +02:00
surface_tool.cpp Cleanup instances of using uint32_t for mesh formats 2023-10-12 22:01:41 +02:00
surface_tool.h Update thirdparty/meshoptimizer to v0.20 2023-11-02 14:10:39 -07:00
syntax_highlighter.cpp Connect CodeHighlighter with TextEdit without friend-access 2023-09-19 14:36:38 +02:00
syntax_highlighter.h Extract ScriptInstance to simplify includes 2023-09-06 22:54:38 +02:00
text_file.cpp Fix internal editor not updating when using external editor via LSP 2023-01-22 18:27:22 +08:00
text_file.h Fixed: TextFile's not reloading when changed from external editors 2023-09-06 17:34:36 -04:00
text_line.cpp [Text Overrun] Add option to set custom ellipsis character, add support for system font fallback. 2023-12-04 08:21:42 +02:00
text_line.h [Text Overrun] Add option to set custom ellipsis character, add support for system font fallback. 2023-12-04 08:21:42 +02:00
text_paragraph.cpp [Text Overrun] Add option to set custom ellipsis character, add support for system font fallback. 2023-12-04 08:21:42 +02:00
text_paragraph.h [Text Overrun] Add option to set custom ellipsis character, add support for system font fallback. 2023-12-04 08:21:42 +02:00
texture_rd.cpp Add custom texture create function 2023-07-26 20:46:34 +10:00
texture_rd.h Add custom texture create function 2023-07-26 20:46:34 +10:00
texture.cpp Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
texture.h Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
theme.cpp Added variations to get_type_list() 2023-10-30 10:27:38 -05:00
theme.h Warn about accessing non-existing editor theme items 2023-09-15 14:51:01 +02:00
tile_set.compat.inc Move tile transforms handling cache to TileData 2023-12-13 17:44:59 +01:00
tile_set.cpp Move tile transforms handling cache to TileData 2023-12-13 17:44:59 +01:00
tile_set.h Move tile transforms handling cache to TileData 2023-12-13 17:44:59 +01:00
video_stream.cpp Replace GDVIRTUAL_CALL with GDVIRTUAL_REQUIRED_CALL where applicable 2023-12-14 13:22:40 -06:00
video_stream.h Clean up some Editor, OpenXR, VideoStream code 2023-10-20 17:54:39 +02:00
visual_shader_nodes.cpp Fixes Texture2dParameter node filter option 2023-11-12 01:59:53 +05:30
visual_shader_nodes.h made visual shader ports expandable by default if there is only one output port and it's of any vector type 2023-09-22 15:28:59 +02:00
visual_shader_particle_nodes.cpp made visual shader ports expandable by default if there is only one output port and it's of any vector type 2023-09-22 15:28:59 +02:00
visual_shader_particle_nodes.h Extract and reorganize texture resource classes 2023-07-14 20:04:21 +02:00
visual_shader_sdf_nodes.cpp made visual shader ports expandable by default if there is only one output port and it's of any vector type 2023-09-22 15:28:59 +02:00
visual_shader_sdf_nodes.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
visual_shader.cpp Visual shader refacter use of connection 2023-12-12 07:36:28 +11:00
visual_shader.h Implement drop-down list properties to the custom visual shader nodes 2023-09-29 10:55:05 +03:00
world_2d.cpp Merge pull request #76713 from KoBeWi/TODO_is_now 2023-05-16 11:00:45 +02:00
world_2d.h Fix 2D audio in multiple viewports 2023-05-03 23:09:40 +02:00
world_3d.cpp Add ProjectSettings navigation map default up 2023-06-17 11:29:17 +02:00
world_3d.h Create default World physics spaces on demand only 2023-01-31 18:26:52 +01:00
world_boundary_shape_2d.cpp Allow setting negative WorldBoundaryShape2D.distance through the editor 2023-06-14 14:54:00 +02:00
world_boundary_shape_2d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00
world_boundary_shape_3d.cpp Unify and streamline connecting to Resource changes 2023-07-17 19:35:57 +02:00
world_boundary_shape_3d.h One Copyright Update to rule them all 2023-01-05 13:25:55 +01:00