2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 05:07:43 +00:00

Make CMain a polymorphic class

This commit is contained in:
2016-09-16 23:40:45 -07:00
parent 386e9445e5
commit f721d0494e
12 changed files with 87 additions and 45 deletions

View File

@@ -73,8 +73,9 @@ std::string CFrontEndUI::GetAttractMovieFileName(int idx)
std::string CFrontEndUI::GetNextAttractMovieFileName()
{
GetAttractMovieFileName(xbc_nextAttract);
std::string ret = GetAttractMovieFileName(xbc_nextAttract);
xbc_nextAttract = (xbc_nextAttract + 1) % xc0_attractCount;
return ret;
}
void CFrontEndUI::SetCurrentMovie(EMenuMovie movie)