dxx-rebirth/common
Kp 03cedbb4cc Remove default-zero for `physfsrwops_seek` variable pos
This default-zero allowed the bug introduced in
68b47307b4 (and fixed in
4c371734b5) not to generate a compiler
warning for `-Wuninitialized`, since it was initialized to `0`.
However, `0` is not a correct starting value for this variable.  Remove
the initialization and require every code path to assign a meaningful
value.

Switch to use `std::in_range` to validate that no truncation occurs, and
trust that the compiler will optimize this out when the type passed to
`std::in_range` can represent all values that the argument can
represent.
2023-05-27 13:19:31 +00:00
..
2d Pass std::span to decode_data 2022-09-24 17:47:52 +00:00
3d Use enum class for clipping_code 2022-10-02 19:51:35 +00:00
arch Move window existence flag to a mixin, and track using std::shared_ptr 2023-01-14 19:05:37 +00:00
editor Move various static functions into anonymous namespace 2022-07-09 13:39:29 +00:00
include Use memcpy for font filename 2023-05-20 16:37:26 +00:00
main Simplify segment_object_range_t construction 2023-05-20 16:37:26 +00:00
maths Remove quadint members low, high 2022-05-24 02:32:58 +00:00
mem Refer to <array> directly, not through "compiler-array.h" 2020-05-02 21:18:42 +00:00
misc Remove default-zero for `physfsrwops_seek` variable pos 2023-05-27 13:19:31 +00:00
music Rework ADL dynamic loader 2018-10-15 00:51:53 +00:00
texmap Pass std::span to draw_tmap, draw_tmap_flat 2022-09-24 17:47:52 +00:00
ui Precompute ui_file_browser::spaces 2023-02-04 19:21:25 +00:00
unittest Flatten type information for zip<> 2022-12-31 16:21:47 +00:00