godot/scene/resources
Rémi Verschelde e5bbcb8bcf Fix warnings for comparison between signed and unsigned integers [-Wsign-compare]
Also turn off -Wsign-compare warnings in the future, we do not consider them important.

Fixes the following GCC 5 warnings:
```
core/node_path.cpp:279:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/oa_hash_map.h:169:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/oa_hash_map.h:314:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles2/shader_gles2.cpp:985:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles3/rasterizer_storage_gles3.cpp:1075:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/pulseaudio/audio_driver_pulseaudio.cpp:343:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/editor_plugin.cpp:525:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/editor_properties_array_dict.cpp:747:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/spatial_editor_plugin.cpp:2078:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/spatial_editor_plugin.cpp:4096:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
editor/plugins/sprite_editor_plugin.cpp💯20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:122:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:134:77: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/cvtt/image_compress_cvtt.cpp:339:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/etc/image_etc.cpp:222:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/gdnative/register_types.cpp:242:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/gdnative/register_types.cpp:258:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:200:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:222:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
modules/opensimplex/simplex_noise.cpp:246:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1085:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1489:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/android/export/export.cpp:1623:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:206:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:356:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:406:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
platform/iphone/export/export.cpp:493:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/audio_stream_player_3d.cpp:420:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/audio_stream_sample.cpp:565:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/audio_stream_sample.cpp:571:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_rb_resampler.cpp:156:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
```

The following warnings were not fixed, as they implied casting for no gain:
```
core/io/packet_peer.cpp:228:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
core/io/resource_format_binary.cpp:109:11: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/gles2/rasterizer_scene_gles2.cpp:144:57: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
drivers/unix/file_access_unix.cpp:249:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:889:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:1020:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:1154:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/3d/voxel_light_baker.cpp:2255:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
scene/resources/bit_mask.cpp:336:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:141:49: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:150:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio/audio_stream.cpp:154:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio_server.cpp:86:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
servers/audio_server.cpp:89:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
```
2018-09-27 16:25:23 +02:00
..
default_theme Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
animation.cpp Merge pull request #21982 from luzpaz/misc-typos 2018-09-13 10:59:00 +02:00
animation.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
audio_stream_sample.cpp Fix warnings for comparison between signed and unsigned integers [-Wsign-compare] 2018-09-27 16:25:23 +02:00
audio_stream_sample.h Audio Recording module 2018-07-26 14:14:29 +02:00
bit_mask.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
bit_mask.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
bounds.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
bounds.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
box_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
box_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
canvas.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
canvas.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
capsule_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
capsule_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
capsule_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
capsule_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
circle_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
circle_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
color_ramp.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
color_ramp.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
concave_polygon_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
concave_polygon_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
concave_polygon_shape.cpp Reduce unnecessary COW on Vector by make writing explicit 2018-07-26 00:54:16 +02:00
concave_polygon_shape.h Bind many more properties to scripts 2018-01-12 00:58:14 +02:00
convex_polygon_shape_2d.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
convex_polygon_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
convex_polygon_shape.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
convex_polygon_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
curve.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
curve.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
cylinder_shape.cpp added cylinder shape support 2018-07-01 11:16:54 +02:00
cylinder_shape.h added cylinder shape support 2018-07-01 11:16:54 +02:00
dynamic_font_stb.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
dynamic_font_stb.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
dynamic_font.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
dynamic_font.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
environment.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
environment.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
font.cpp Clear textures before setting new textures (#21718) 2018-09-17 20:52:45 +02:00
font.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
material.cpp -Rewrote GLES2 lighting and shadows and optimized state changes, did many optimizations, added vertex lighting. 2018-09-23 12:14:50 -03:00
material.h Set uniform default values in inspector 2018-09-13 23:05:33 +02:00
mesh_data_tool.cpp Reduce unnecessary COW on Vector by make writing explicit 2018-07-26 00:54:16 +02:00
mesh_data_tool.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
mesh_library.cpp Reduce unnecessary COW on Vector by make writing explicit 2018-07-26 00:54:16 +02:00
mesh_library.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
mesh.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
mesh.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
multimesh.cpp Fixes to multimesh, added custom data and checks to avoid reconfiguring if instance count > 0. Fixes #12595 2018-09-05 19:15:59 -03:00
multimesh.h Fixes to multimesh, added custom data and checks to avoid reconfiguring if instance count > 0. Fixes #12595 2018-09-05 19:15:59 -03:00
packed_scene.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
packed_scene.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
particles_material.cpp Particles: Reset default velocity to 0, allow negative values 2018-09-04 15:35:11 +02:00
particles_material.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
physics_material.cpp Add missing copyright headers 2018-08-29 22:41:17 +02:00
physics_material.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
plane_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
plane_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
polygon_path_finder.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
polygon_path_finder.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
primitive_meshes.cpp Fix SoftBody gizmo slowness, add ConcaveShape wireframe 2018-09-09 19:39:34 +02:00
primitive_meshes.h Added a simpler way to flip faces, closes #17373 and closes #17369 2018-05-07 18:55:05 -03:00
ray_shape.cpp Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape 2018-02-19 20:59:57 +01:00
ray_shape.h Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape 2018-02-19 20:59:57 +01:00
rectangle_shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
rectangle_shape_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
room.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
room.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
scene_format_text.cpp Merge pull request #21982 from luzpaz/misc-typos 2018-09-13 10:59:00 +02:00
scene_format_text.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
SCsub Move other lone thirdparty files to thirdparty/misc 2017-04-28 21:19:25 +02:00
segment_shape_2d.cpp Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape 2018-02-19 20:59:57 +01:00
segment_shape_2d.h Improved ray shape (2D and 3D) by addiing the possibility to act as regular shape 2018-02-19 20:59:57 +01:00
shader.cpp Don't open VisualShaders in the text shader editor, and don't support saving them with the "shader" extension. 2018-09-14 22:30:48 -04:00
shader.h Don't open VisualShaders in the text shader editor, and don't support saving them with the "shader" extension. 2018-09-14 22:30:48 -04:00
shape_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape_2d.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
shape_line_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape_line_2d.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
shape.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
shape.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
sky_box.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
sky_box.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
space_2d.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
space_2d.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
sphere_shape.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
sphere_shape.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
style_box.cpp Visual Shaders are back. 2018-07-14 18:16:18 -03:00
style_box.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
surface_tool.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
surface_tool.h Added flip switch to generate_normals 2018-02-19 22:40:34 +03:00
text_file.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
text_file.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
texture.cpp Merge pull request #21569 from JFonS/add_noise_textures 2018-09-14 16:57:26 +02:00
texture.h Mark AnimatedTexture frame_* properties as internal 2018-09-13 22:54:35 +02:00
theme.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
theme.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
tile_set.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
tile_set.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
video_stream.cpp Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
video_stream.h Add missing copyright headers and fix formatting 2018-01-05 01:22:23 +01:00
visual_shader_nodes.cpp Add missing copyright headers 2018-08-29 22:41:17 +02:00
visual_shader_nodes.h Add missing copyright headers 2018-08-29 22:41:17 +02:00
visual_shader.cpp Don't open VisualShaders in the text shader editor, and don't support saving them with the "shader" extension. 2018-09-14 22:30:48 -04:00
visual_shader.h Don't open VisualShaders in the text shader editor, and don't support saving them with the "shader" extension. 2018-09-14 22:30:48 -04:00
world_2d.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
world_2d.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
world.cpp Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00
world.h Make core/ includes absolute, remove subfolders from include path 2018-09-12 09:52:22 +02:00