diff options
Diffstat (limited to 'src/tile-image.hpp')
-rw-r--r-- | src/tile-image.hpp | 40 |
1 files changed, 20 insertions, 20 deletions
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 |