godot/editor/import
Pedro J. Estébanez 469fa47e06
Make all file access 64-bit (uint64_t)
This changes the types of a big number of variables.

General rules:
- Using `uint64_t` in general. We also considered `int64_t` but eventually
  settled on keeping it unsigned, which is also closer to what one would expect
  with `size_t`/`off_t`.
- We only keep `int64_t` for `seek_end` (takes a negative offset from the end)
  and for the `Variant` bindings, since `Variant::INT` is `int64_t`. This means
  we only need to guard against passing negative values in `core_bind.cpp`.
- Using `uint32_t` integers for concepts not needing such a huge range, like
  pages, blocks, etc.

In addition:
- Improve usage of integer types in some related places; namely, `DirAccess`,
  core binds.

Note:
- On Windows, `_ftelli64` reports invalid values when using 32-bit MinGW with
  version < 8.0. This was an upstream bug fixed in 8.0. It breaks support for
  big files on 32-bit Windows builds made with that toolchain. We might add a
  workaround.

Fixes #44363.
Fixes godotengine/godot-proposals#400.

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2021-05-17 15:06:19 +02:00
..
atlas_import_failed.xpm Added ability for multiple images to be imported as an atlas 2019-04-19 15:56:34 -03:00
collada.cpp Unify URI encoding/decoding and add to C# 2021-01-28 07:45:01 -05:00
collada.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
editor_import_collada.cpp Style: Apply clang-tidy's modernize-use-bool-literals 2021-04-05 13:16:35 +02:00
editor_import_collada.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
editor_import_plugin.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
editor_import_plugin.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_importer_bitmask.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_importer_bitmask.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_importer_csv_translation.cpp Rename PHashTranslation to OptimizedTranslation 2021-03-20 10:02:47 +00:00
resource_importer_csv_translation.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_importer_image.cpp Make all file access 64-bit (uint64_t) 2021-05-17 15:06:19 +02:00
resource_importer_image.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_importer_layered_texture.cpp Reorganize Project Settings 2021-02-18 11:23:34 -03:00
resource_importer_layered_texture.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_importer_obj.cpp Style: Apply clang-tidy's modernize-use-bool-literals 2021-04-05 13:16:35 +02:00
resource_importer_obj.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_importer_scene.cpp Assorted fixes to UV unwrapping and GPU lightmapper 2021-05-03 18:10:34 +02:00
resource_importer_scene.h Assorted fixes to UV unwrapping and GPU lightmapper 2021-05-03 18:10:34 +02:00
resource_importer_shader_file.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_importer_shader_file.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_importer_texture.cpp Reorganize Project Settings 2021-02-18 11:23:34 -03:00
resource_importer_texture.h Typo correction 2021-01-02 02:27:12 -03:00
resource_importer_texture_atlas.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_importer_texture_atlas.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_importer_wav.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
resource_importer_wav.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
scene_import_settings.cpp Rename ButtonList enum and members to MouseButton 2021-03-23 07:13:23 -04:00
scene_import_settings.h Improved 3D Scene Importer 2021-03-22 12:16:40 -03:00
scene_importer_mesh.cpp Assorted fixes to UV unwrapping and GPU lightmapper 2021-05-03 18:10:34 +02:00
scene_importer_mesh.h Assorted fixes to UV unwrapping and GPU lightmapper 2021-05-03 18:10:34 +02:00
scene_importer_mesh_node_3d.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
scene_importer_mesh_node_3d.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
SCsub SCons: Format buildsystem files with psf/black 2020-03-30 09:05:53 +02:00