Mercurial > minori
comparison include/core/anime.h @ 189:649786bae914
*: etc. code cleanup
I've removed most macros and stuff
dep/animia: [UNTESTED] use raw C++ instead of Objective-C++
| author | Paper <mrpapersonic@gmail.com> |
|---|---|
| date | Wed, 06 Dec 2023 19:42:33 -0500 |
| parents | 62e336597bb7 |
| children | c130f47f6f48 |
comparison
equal
deleted
inserted
replaced
| 188:168382a89b21 | 189:649786bae914 |
|---|---|
| 67 POINT_10_DECIMAL, // 0.0-10.0 | 67 POINT_10_DECIMAL, // 0.0-10.0 |
| 68 POINT_10, // 0-10 | 68 POINT_10, // 0-10 |
| 69 POINT_5, // 0-5, should be represented in stars | 69 POINT_5, // 0-5, should be represented in stars |
| 70 POINT_3 // 1-3, should be represented in smileys | 70 POINT_3 // 1-3, should be represented in smileys |
| 71 }; | 71 }; |
| 72 | |
| 73 constexpr std::array<ScoreFormat, 5> ScoreFormats{ScoreFormat::POINT_100, ScoreFormat::POINT_10_DECIMAL, ScoreFormat::POINT_10, | |
| 74 ScoreFormat::POINT_5, ScoreFormat::POINT_3}; | |
| 72 | 75 |
| 73 struct ListInformation { | 76 struct ListInformation { |
| 74 int id = 0; | 77 int id = 0; |
| 75 int progress = 0; | 78 int progress = 0; |
| 76 int score = 0; // note that this will ALWAYS be in POINT_100 format and must be converted | 79 int score = 0; // note that this will ALWAYS be in POINT_100 format and must be converted |
