#pragma once #include "common.h" #include "T2SubPlugin.h" // unknown name struct MovieInfo { int mCC_0; int mCC_1; int mCC_2; int mCC_3; int mCC_4; int mCC_5; }; class AFX_CLASS_EXPORT T2MoviePlugin : public T2SubPlugin { public: T2MoviePlugin(DWORD inType, T2PluginSpecifier& inSpecifier); virtual ~T2MoviePlugin(); virtual void GlobalData(T2GlobalData* inGlobalData); int GetMovieLifePhase(T2DateTime* inDateTime, int inStartDay); void UnfoldPluginSelf(); void ReMake(); void GetTitle(CString& outStr, int inNum); int GetNOPersonsR(); void SetNOPersonsR(int inNum); int GetNOPersonsF(); void SetNOPersonsF(int inNum); BOOL IsFamousFilm(); BOOL IsRoadshowFilm(); void ChkReMake(int inNum); static void sDummyRead(T2Archive& inArchive); void Read(T2Archive& inArchive); void Write(T2Archive& inArchive); virtual DWORD LoadSelf(); protected: virtual void LoadRsrcFromStream(CResFile& inResFile); unsigned short mResID; MovieInfo mInfo; CString mE4; int _E8; CString mEC; CString mF0; CString mF4; int mBindTime; int mFC; CString m100; int m104; int m108; int m10C; int m110; int mNamingScheme; int m118; int m11C; int mCustomTitleCount; CString *mCustomTitles; int mNOPersonsR; int mNOPersonsF; unsigned int mAttribute; int mRemakeCount; int mNewNOPersonsR; int mNewNOPersonsF; };