diff --git a/Source/codec.cpp b/Source/codec.cpp index a58de0c6ce9..013624d28ea 100644 --- a/Source/codec.cpp +++ b/Source/codec.cpp @@ -5,7 +5,7 @@ #include "appfat.h" #include "sha.h" -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" #include "utils/log.hpp" namespace devilution { diff --git a/Source/diablo.h b/Source/diablo.h index 6e868067e20..31793c1fe5f 100644 --- a/Source/diablo.h +++ b/Source/diablo.h @@ -12,7 +12,7 @@ #endif #include "levels/gendung.h" #include "utils/attributes.h" -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" namespace devilution { diff --git a/Source/dvlnet/frame_queue.cpp b/Source/dvlnet/frame_queue.cpp index e4c826cbfd6..a6b6af9c1ab 100644 --- a/Source/dvlnet/frame_queue.cpp +++ b/Source/dvlnet/frame_queue.cpp @@ -5,7 +5,7 @@ #include "appfat.h" #include "dvlnet/packet.h" #include "utils/attributes.h" -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" #include "utils/endian_write.hpp" namespace devilution { diff --git a/Source/engine/clx_sprite.hpp b/Source/engine/clx_sprite.hpp index 91a254b47c4..ae351b4555f 100644 --- a/Source/engine/clx_sprite.hpp +++ b/Source/engine/clx_sprite.hpp @@ -30,7 +30,7 @@ #include #include "appfat.h" -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" #include "utils/intrusive_optional.hpp" namespace devilution { diff --git a/Source/engine/load_cl2.hpp b/Source/engine/load_cl2.hpp index 96c61eded57..88e85602b44 100644 --- a/Source/engine/load_cl2.hpp +++ b/Source/engine/load_cl2.hpp @@ -13,7 +13,7 @@ #include "engine/load_file.hpp" #include "mpq/mpq_common.hpp" #include "utils/cl2_to_clx.hpp" -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" #include "utils/endian_write.hpp" #include "utils/pointer_value_union.hpp" #include "utils/static_vector.hpp" diff --git a/Source/levels/reencode_dun_cels.cpp b/Source/levels/reencode_dun_cels.cpp index 43d7cdeb9ae..01b289e3f63 100644 --- a/Source/levels/reencode_dun_cels.cpp +++ b/Source/levels/reencode_dun_cels.cpp @@ -11,7 +11,7 @@ #include "levels/dun_tile.hpp" #include "utils/attributes.h" -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" #include "utils/endian_write.hpp" #include "utils/format_int.hpp" #include "utils/log.hpp" diff --git a/Source/loadsave.cpp b/Source/loadsave.cpp index fe508a34813..7dcfd21fc50 100644 --- a/Source/loadsave.cpp +++ b/Source/loadsave.cpp @@ -37,7 +37,7 @@ #include "qol/stash.h" #include "stores.h" #include "utils/algorithm/container.hpp" -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" #include "utils/is_of.hpp" #include "utils/language.h" #include "utils/status_macros.hpp" diff --git a/Source/mpq/mpq_common.hpp b/Source/mpq/mpq_common.hpp index 1eacece6703..5547d55ed76 100644 --- a/Source/mpq/mpq_common.hpp +++ b/Source/mpq/mpq_common.hpp @@ -5,7 +5,7 @@ #include #include -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" namespace devilution { diff --git a/Source/mpq/mpq_writer.cpp b/Source/mpq/mpq_writer.cpp index cd13ef6e34f..5fbf36ab1fb 100644 --- a/Source/mpq/mpq_writer.cpp +++ b/Source/mpq/mpq_writer.cpp @@ -11,7 +11,7 @@ #include "appfat.h" #include "encrypt.h" #include "engine.h" -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" #include "utils/file_util.h" #include "utils/language.h" #include "utils/log.hpp" diff --git a/Source/multi.cpp b/Source/multi.cpp index 1530360c58e..cfd47eb3c30 100644 --- a/Source/multi.cpp +++ b/Source/multi.cpp @@ -28,7 +28,7 @@ #include "storm/storm_net.hpp" #include "sync.h" #include "tmsg.h" -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" #include "utils/is_of.hpp" #include "utils/language.h" #include "utils/str_cat.hpp" diff --git a/Source/pack.cpp b/Source/pack.cpp index 6f0970edf30..29fbf6ade0e 100644 --- a/Source/pack.cpp +++ b/Source/pack.cpp @@ -14,7 +14,7 @@ #include "playerdat.hpp" #include "plrmsg.h" #include "stores.h" -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" #include "utils/is_of.hpp" #include "utils/log.hpp" #include "utils/utf8.hpp" diff --git a/Source/pfile.cpp b/Source/pfile.cpp index 33d2f216e45..a474d620e58 100644 --- a/Source/pfile.cpp +++ b/Source/pfile.cpp @@ -23,7 +23,7 @@ #include "pack.h" #include "playerdat.hpp" #include "qol/stash.h" -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" #include "utils/file_util.h" #include "utils/language.h" #include "utils/parse_int.hpp" diff --git a/Source/utils/cel_to_clx.cpp b/Source/utils/cel_to_clx.cpp index 8bf4a00d028..7aa2e259d71 100644 --- a/Source/utils/cel_to_clx.cpp +++ b/Source/utils/cel_to_clx.cpp @@ -12,7 +12,7 @@ #include "appfat.h" #include "utils/clx_encode.hpp" -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" #include "utils/endian_write.hpp" namespace devilution { diff --git a/Source/utils/cl2_to_clx.cpp b/Source/utils/cl2_to_clx.cpp index 66d090c4871..4bde136d80e 100644 --- a/Source/utils/cl2_to_clx.cpp +++ b/Source/utils/cl2_to_clx.cpp @@ -7,7 +7,7 @@ #include "utils/clx_decode.hpp" #include "utils/clx_encode.hpp" -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" #include "utils/endian_write.hpp" namespace devilution { diff --git a/Source/utils/endian.hpp b/Source/utils/endian_read.hpp similarity index 100% rename from Source/utils/endian.hpp rename to Source/utils/endian_read.hpp diff --git a/Source/utils/endian_stream.hpp b/Source/utils/endian_stream.hpp index 8f7a0c68aed..c23be81891d 100644 --- a/Source/utils/endian_stream.hpp +++ b/Source/utils/endian_stream.hpp @@ -6,7 +6,7 @@ #include #include -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" #include "utils/endian_write.hpp" #include "utils/log.hpp" diff --git a/Source/utils/pcx_to_clx.cpp b/Source/utils/pcx_to_clx.cpp index 639065b1fdb..031c5ad5b1b 100644 --- a/Source/utils/pcx_to_clx.cpp +++ b/Source/utils/pcx_to_clx.cpp @@ -12,7 +12,7 @@ #include "appfat.h" #include "utils/clx_encode.hpp" -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" #include "utils/endian_write.hpp" #include "utils/pcx.hpp" diff --git a/Source/utils/surface_to_clx.cpp b/Source/utils/surface_to_clx.cpp index 7c9155b34f2..520c9f93a6f 100644 --- a/Source/utils/surface_to_clx.cpp +++ b/Source/utils/surface_to_clx.cpp @@ -5,7 +5,7 @@ #include #include "utils/clx_encode.hpp" -#include "utils/endian.hpp" +#include "utils/endian_read.hpp" #include "utils/endian_write.hpp" #ifdef DEBUG_SURFACE_TO_CLX_SIZE