summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2MoviePlugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/T2DLL/T2MoviePlugin.h')
-rw-r--r--src/T2DLL/T2MoviePlugin.h70
1 files changed, 52 insertions, 18 deletions
diff --git a/src/T2DLL/T2MoviePlugin.h b/src/T2DLL/T2MoviePlugin.h
index 676ea5f..78f5b70 100644
--- a/src/T2DLL/T2MoviePlugin.h
+++ b/src/T2DLL/T2MoviePlugin.h
@@ -1,29 +1,63 @@
#pragma once
#include "common.h"
+#include "T2SubPlugin.h"
-class T2MoviePlugin {
+// unknown name
+struct MovieInfo {
+ int mCC_0;
+ int mCC_1;
+ int mCC_2;
+ int mCC_3;
+ int mCC_4;
+ int mCC_5;
+};
+
+class AFX_EXT_CLASS T2MoviePlugin : public T2SubPlugin {
public:
- T2MoviePlugin(unsigned long, T2PluginSpecifier&);
+ T2MoviePlugin(DWORD inType, T2PluginSpecifier& inSpecifier);
virtual ~T2MoviePlugin();
-protected:
- virtual void LoadRsrcFromStream(CResFile&);
-public:
- virtual void GlobalData(T2GlobalData*);
- int GetMovieLifePhase(T2DateTime*, int);
+ virtual void GlobalData(T2GlobalData* inGlobalData);
+ int GetMovieLifePhase(T2DateTime* inDateTime, int inStartDay);
void UnfoldPluginSelf();
void ReMake();
- void GetTitle(CString&, int);
+ void GetTitle(CString& outStr, int inNum);
int GetNOPersonsR();
- void SetNOPersonsR(int);
+ void SetNOPersonsR(int inNum);
int GetNOPersonsF();
- void SetNOPersonsF(int);
- int IsFamousFilm();
- int IsRoadshowFilm();
- void ChkReMake(int);
- static void sDummyRead(T2Archive&);
- void Read(T2Archive&);
- void Write(T2Archive&);
- virtual unsigned long LoadSelf();
+ 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);
- T2MoviePlugin& operator=(T2MoviePlugin&) {}
+ 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;
};