2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 20:27:42 +00:00

New code style refactor

This commit is contained in:
Jack Andersen
2018-12-07 19:30:43 -10:00
parent 41ae32be31
commit 636c82a568
1451 changed files with 171430 additions and 203303 deletions

View File

@@ -1,30 +1,15 @@
#include "CPlayMovie.hpp"
namespace urde::MP1
{
namespace urde::MP1 {
const char* kMovies[] =
{
"Video/wingame.thp",
"Video/wingame_best.thp",
"Video/wingame_best.thp",
"Video/losegame.thp",
"Video/05_tallonText.thp",
"Video/AfterCredits.thp",
"Video/SpecialEnding.thp",
"Video/creditBG.thp"
};
const char* kMovies[] = {"Video/wingame.thp", "Video/wingame_best.thp", "Video/wingame_best.thp",
"Video/losegame.thp", "Video/05_tallonText.thp", "Video/AfterCredits.thp",
"Video/SpecialEnding.thp", "Video/creditBG.thp"};
bool CPlayMovie::IsResultsScreen(EWhichMovie which)
{
return int(which) <= 2;
bool CPlayMovie::IsResultsScreen(EWhichMovie which) { return int(which) <= 2; }
CPlayMovie::CPlayMovie(EWhichMovie which) : CPlayMovieBase("CPlayMovie", kMovies[int(which)]), x18_which(which) {
(void)x18_which;
}
CPlayMovie::CPlayMovie(EWhichMovie which)
: CPlayMovieBase("CPlayMovie", kMovies[int(which)]), x18_which(which)
{
(void)x18_which;
}
}
} // namespace urde::MP1