From 9813d9263e0b45f46b90579ea217117da823dad7 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 29 Oct 2022 16:51:36 +0200 Subject: convert line endings --- src/tile-image.cpp | 22 +++++++++++----------- src/tile-image.hpp | 40 ++++++++++++++++++++-------------------- 2 files changed, 31 insertions(+), 31 deletions(-) (limited to 'src') 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 -#include - -namespace floormat { - -struct tile_atlas; - -struct tile_image final -{ - std::shared_ptr 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 +#include + +namespace floormat { + +struct tile_atlas; + +struct tile_image final +{ + std::shared_ptr 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 -- cgit v1.2.3