summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2022-10-29 16:51:36 +0200
committerStanislaw Halik <sthalik@misaki.pl>2022-10-29 16:51:36 +0200
commit9813d9263e0b45f46b90579ea217117da823dad7 (patch)
tree88199e91e5ec2f9469bb8197e89b7cd5c9ce45ab /src
parent4c982b2ffe99f5dee70657424161de9541e00a21 (diff)
convert line endings
Diffstat (limited to 'src')
-rw-r--r--src/tile-image.cpp22
-rw-r--r--src/tile-image.hpp40
2 files changed, 31 insertions, 31 deletions
diff --git a/src/tile-image.cpp b/src/tile-image.cpp
index 4210db94..784bd4f5 100644
--- a/src/tile-image.cpp
+++ b/src/tile-image.cpp
@@ -1,11 +1,11 @@
-#include "tile-image.hpp"
-
-namespace floormat {
-
-bool operator==(const tile_image& a, const tile_image& b) noexcept
-{
- return a.atlas == b.atlas && a.variant == b.variant;
-}
-
-} // namespace floormat
-
+#include "tile-image.hpp"
+
+namespace floormat {
+
+bool operator==(const tile_image& a, const tile_image& b) noexcept
+{
+ return a.atlas == b.atlas && a.variant == b.variant;
+}
+
+} // namespace floormat
+
diff --git a/src/tile-image.hpp b/src/tile-image.hpp
index 6c90a2d5..79a0bacc 100644
--- a/src/tile-image.hpp
+++ b/src/tile-image.hpp
@@ -1,20 +1,20 @@
-#pragma once
-#include "compat/integer-types.hpp"
-#include <compare>
-#include <memory>
-
-namespace floormat {
-
-struct tile_atlas;
-
-struct tile_image final
-{
- std::shared_ptr<tile_atlas> atlas;
- std::uint16_t variant = (std::uint16_t)-1;
-
- explicit operator bool() const noexcept { return !!atlas; }
-};
-
-bool operator==(const tile_image& a, const tile_image& b) noexcept;
-
-} // namespace floormat
+#pragma once
+#include "compat/integer-types.hpp"
+#include <compare>
+#include <memory>
+
+namespace floormat {
+
+struct tile_atlas;
+
+struct tile_image final
+{
+ std::shared_ptr<tile_atlas> atlas;
+ std::uint16_t variant = (std::uint16_t)-1;
+
+ explicit operator bool() const noexcept { return !!atlas; }
+};
+
+bool operator==(const tile_image& a, const tile_image& b) noexcept;
+
+} // namespace floormat