Mercurial > minori
diff include/core/anime.h @ 413:192da585a0a8 default tip
*: fix formatting
the clang-format file was broken andjust using LLVM defaults.
now it's fixed and is more in line with what I actually prefer my
code to look like -- esp. with regards to tabulators
| author | Paper <paper@tflc.us> |
|---|---|
| date | Sat, 25 Jul 2026 14:54:32 -0400 |
| parents | 47c9f8502269 |
| children |
line wrap: on
line diff
--- a/include/core/anime.h Sat Jul 25 14:33:03 2026 -0400 +++ b/include/core/anime.h Sat Jul 25 14:54:32 2026 -0400 @@ -21,7 +21,11 @@ }; constexpr std::array<ListStatus, 5> ListStatuses{ - ListStatus::Current, ListStatus::Completed, ListStatus::Paused, ListStatus::Dropped, ListStatus::Planning, + ListStatus::Current, + ListStatus::Completed, + ListStatus::Paused, + ListStatus::Dropped, + ListStatus::Planning, }; enum class SeriesStatus { @@ -34,8 +38,12 @@ }; constexpr std::array<SeriesStatus, 6> SeriesStatuses{ - SeriesStatus::Unknown, SeriesStatus::Finished, SeriesStatus::Releasing, - SeriesStatus::NotYetReleased, SeriesStatus::Cancelled, SeriesStatus::Hiatus, + SeriesStatus::Unknown, + SeriesStatus::Finished, + SeriesStatus::Releasing, + SeriesStatus::NotYetReleased, + SeriesStatus::Cancelled, + SeriesStatus::Hiatus, }; enum class SeriesFormat { @@ -50,8 +58,14 @@ }; constexpr std::array<SeriesFormat, 8> SeriesFormats{ - SeriesFormat::Unknown, SeriesFormat::Tv, SeriesFormat::TvShort, SeriesFormat::Movie, - SeriesFormat::Special, SeriesFormat::Ova, SeriesFormat::Ona, SeriesFormat::Music, + SeriesFormat::Unknown, + SeriesFormat::Tv, + SeriesFormat::TvShort, + SeriesFormat::Movie, + SeriesFormat::Special, + SeriesFormat::Ova, + SeriesFormat::Ona, + SeriesFormat::Music, }; enum class TitleLanguage { @@ -61,9 +75,9 @@ }; constexpr std::array<TitleLanguage, 3> TitleLanguages{ - TitleLanguage::Romaji, - TitleLanguage::Native, - TitleLanguage::English, + TitleLanguage::Romaji, + TitleLanguage::Native, + TitleLanguage::English, }; enum class Service { @@ -76,9 +90,9 @@ /* this doesn't include MAL and Kitsu because they aren't really * "valid" services yet. */ constexpr std::array<Service, 3> Services{ - Service::AniList, - Service::MyAnimeList, - Service::Kitsu, + Service::AniList, + Service::MyAnimeList, + Service::Kitsu, }; enum class ScoreFormat { @@ -90,7 +104,11 @@ }; constexpr std::array<ScoreFormat, 5> ScoreFormats{ - ScoreFormat::Point100, ScoreFormat::Point10Decimal, ScoreFormat::Point10, ScoreFormat::Point5, ScoreFormat::Point3, + ScoreFormat::Point100, + ScoreFormat::Point10Decimal, + ScoreFormat::Point10, + ScoreFormat::Point5, + ScoreFormat::Point3, }; struct ListInformation {
