diff include/core/anime.h @ 15:cde8f67a7c7d

*: update, megacommit :)
author Paper <mrpapersonic@gmail.com>
date Tue, 19 Sep 2023 22:36:08 -0400
parents 4b198a111713
children 75c804f713b2
line wrap: on
line diff
--- a/include/core/anime.h	Tue Sep 19 16:33:07 2023 -0400
+++ b/include/core/anime.h	Tue Sep 19 22:36:08 2023 -0400
@@ -16,8 +16,8 @@
 	PAUSED
 };
 
-constexpr std::array<ListStatus, 5> ListStatuses{ListStatus::CURRENT, ListStatus::PLANNING, ListStatus::COMPLETED,
-												 ListStatus::DROPPED, ListStatus::PAUSED};
+constexpr std::array<ListStatus, 5> ListStatuses{ListStatus::CURRENT, ListStatus::COMPLETED, ListStatus::PAUSED,
+                                                 ListStatus::DROPPED, ListStatus::PLANNING};
 
 enum class SeriesStatus {
 	UNKNOWN,
@@ -63,37 +63,37 @@
 };
 
 struct ListInformation {
-	int id = 0;
-	int progress = 0;
-	int score = 0;
-	ListStatus status = ListStatus::NOT_IN_LIST;
-	Date started;
-	Date completed;
-	bool is_private = false;
-	unsigned int rewatched_times = 0;
-	bool rewatching = false;
-	uint64_t updated = 0;
-	std::string notes;
+		int id = 0;
+		int progress = 0;
+		int score = 0;
+		ListStatus status = ListStatus::NOT_IN_LIST;
+		Date started;
+		Date completed;
+		bool is_private = false;
+		unsigned int rewatched_times = 0;
+		bool rewatching = false;
+		uint64_t updated = 0;
+		std::string notes;
 };
 
 struct SeriesInformation {
-	int id;
-	struct {
-			std::string romaji;
-			std::string english;
-			std::string native;
-	} title;
-	std::vector<std::string> synonyms;
-	int episodes = 0;
-	SeriesStatus status = SeriesStatus::UNKNOWN;
-	Date air_date;
-	std::vector<std::string> genres;
-	std::vector<std::string> producers;
-	SeriesFormat format = SeriesFormat::UNKNOWN;
-	SeriesSeason season = SeriesSeason::UNKNOWN;
-	int audience_score = 0;
-	std::string synopsis;
-	int duration = 0;
+		int id;
+		struct {
+				std::string romaji;
+				std::string english;
+				std::string native;
+		} title;
+		std::vector<std::string> synonyms;
+		int episodes = 0;
+		SeriesStatus status = SeriesStatus::UNKNOWN;
+		Date air_date;
+		std::vector<std::string> genres;
+		std::vector<std::string> producers;
+		SeriesFormat format = SeriesFormat::UNKNOWN;
+		SeriesSeason season = SeriesSeason::UNKNOWN;
+		int audience_score = 0;
+		std::string synopsis;
+		int duration = 0;
 };
 
 class Anime {