metaforce/Runtime/MP1/CPlayMovie.cpp

35 lines
992 B
C++
Raw Normal View History

#include "Runtime/MP1/CPlayMovie.hpp"
#include "Runtime/GuiSys/CGuiFrame.hpp"
2021-04-10 08:42:06 +00:00
namespace metaforce::MP1 {
2015-08-27 00:23:46 +00:00
const char* kMovies[] = {"Video/wingame.thp", "Video/wingame_good.thp", "Video/wingame_best.thp",
2018-12-08 05:30:43 +00:00
"Video/losegame.thp", "Video/05_tallonText.thp", "Video/AfterCredits.thp",
"Video/SpecialEnding.thp", "Video/creditBG.thp"};
2015-08-27 00:23:46 +00:00
2018-12-08 05:30:43 +00:00
bool CPlayMovie::IsResultsScreen(EWhichMovie which) { return int(which) <= 2; }
CPlayMovie::CPlayMovie(EWhichMovie which) : CIOWin("CPlayMovie"), x18_which(which) {}
CIOWin::EMessageReturn CPlayMovie::OnMessage(const CArchitectureMessage& msg, CArchitectureQueue& queue) {
return EMessageReturn::RemoveIOWinAndExit;
}
void CPlayMovie::Draw() {
if (x14_ != 3) {
return;
}
DrawVideo();
if (x78_27_) {
x40_quitScreen->Draw();
} else if (x78_26_resultsScreen) {
DrawText();
}
}
2021-06-07 19:29:18 +00:00
void CPlayMovie::DrawVideo() {}
void CPlayMovie::DrawText() {}
2021-04-10 08:42:06 +00:00
} // namespace metaforce::MP1