Skip to content

Commit

Permalink
Rename endian.hpp to endian_read.hpp
Browse files Browse the repository at this point in the history
Following #7620, which split the write functions into a separate header.
  • Loading branch information
glebm committed Jan 8, 2025
1 parent a49b1f2 commit b6a8673
Show file tree
Hide file tree
Showing 18 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Source/codec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion Source/diablo.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#endif
#include "levels/gendung.h"
#include "utils/attributes.h"
#include "utils/endian.hpp"
#include "utils/endian_read.hpp"

namespace devilution {

Expand Down
2 changes: 1 addition & 1 deletion Source/dvlnet/frame_queue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion Source/engine/clx_sprite.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#include <memory>

#include "appfat.h"
#include "utils/endian.hpp"
#include "utils/endian_read.hpp"
#include "utils/intrusive_optional.hpp"

namespace devilution {
Expand Down
2 changes: 1 addition & 1 deletion Source/engine/load_cl2.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Source/levels/reencode_dun_cels.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Source/loadsave.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Source/mpq/mpq_common.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <cstdint>
#include <string_view>

#include "utils/endian.hpp"
#include "utils/endian_read.hpp"

namespace devilution {

Expand Down
2 changes: 1 addition & 1 deletion Source/mpq/mpq_writer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Source/multi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Source/pack.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Source/pfile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion Source/utils/cel_to_clx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion Source/utils/cl2_to_clx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion Source/utils/endian_stream.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <cstdio>
#include <cstring>

#include "utils/endian.hpp"
#include "utils/endian_read.hpp"
#include "utils/endian_write.hpp"
#include "utils/log.hpp"

Expand Down
2 changes: 1 addition & 1 deletion Source/utils/pcx_to_clx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 1 addition & 1 deletion Source/utils/surface_to_clx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#include <vector>

#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
Expand Down

0 comments on commit b6a8673

Please sign in to comment.