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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user