metaforce/Runtime/MP1/CPlayMovie.hpp

39 lines
642 B
C++
Raw Normal View History

2018-10-07 03:42:33 +00:00
#pragma once
2015-08-27 00:23:46 +00:00
#include "Runtime/CPlayMovieBase.hpp"
#include "Runtime/RetroTypes.hpp"
2015-08-27 00:23:46 +00:00
2018-12-08 05:30:43 +00:00
namespace urde::MP1 {
2015-08-27 00:23:46 +00:00
2018-12-08 05:30:43 +00:00
class CPlayMovie : public CPlayMovieBase {
2015-08-27 00:23:46 +00:00
public:
2018-12-08 05:30:43 +00:00
enum class EWhichMovie {
WinGameBad,
WinGameGood,
WinGameBest,
LoseGame,
TalonTest,
AfterCredits,
SpecialEnding,
CreditBG
};
2015-08-27 00:23:46 +00:00
private:
2018-12-08 05:30:43 +00:00
EWhichMovie x18_which;
union {
struct {
bool x78_24_ : 1;
bool x78_25_ : 1;
bool x78_26_resultsScreen : 1;
bool x78_27_ : 1;
};
2018-12-08 05:30:43 +00:00
u16 _dummy = 0;
};
static bool IsResultsScreen(EWhichMovie which);
2015-08-27 00:23:46 +00:00
public:
2018-12-08 05:30:43 +00:00
CPlayMovie(EWhichMovie which);
2015-08-27 00:23:46 +00:00
};
2018-12-08 05:30:43 +00:00
} // namespace urde::MP1