metaforce/Runtime/MP1/CPlayMovie.hpp

45 lines
785 B
C++
Raw Normal View History

2016-04-13 06:07:23 +00:00
#ifndef __URDE_CPLAYMOVIE_HPP__
#define __URDE_CPLAYMOVIE_HPP__
2015-08-27 00:23:46 +00:00
#include "CPlayMovieBase.hpp"
#include "RetroTypes.hpp"
2015-08-27 00:23:46 +00:00
2017-12-29 08:08:12 +00:00
namespace urde::MP1
2015-08-27 00:23:46 +00:00
{
class CPlayMovie : public CPlayMovieBase
{
public:
2015-11-21 01:16:07 +00:00
enum class EWhichMovie
2015-08-27 00:23:46 +00:00
{
WinGameBad,
WinGameGood,
WinGameBest,
LoseGame,
TalonTest,
AfterCredits,
SpecialEnding,
CreditBG
2015-08-27 00:23:46 +00:00
};
private:
EWhichMovie x18_which;
union
{
struct
{
bool x78_24_ : 1;
bool x78_25_ : 1;
bool x78_26_resultsScreen : 1;
bool x78_27_ : 1;
};
u16 _dummy = 0;
};
static bool IsResultsScreen(EWhichMovie which);
2015-08-27 00:23:46 +00:00
public:
CPlayMovie(EWhichMovie which);
2015-08-27 00:23:46 +00:00
};
}
2016-04-13 06:07:23 +00:00
#endif // __URDE_CPLAYMOVIE_HPP__