summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2GlobalData.h
blob: f7b3da98728f0f68d87946ba6ba34354e94cf600 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once
#include "common.h"

class AFX_CLASS_EXPORT T2GlobalData {
public:
	T2GlobalData();
	virtual ~T2GlobalData();
	void Set1stCinemaDate(int inDate);
	void RegistMovie(DWORD inCode, int inValue);
	int GetMovieParam(DWORD inCode);
    BOOL IsCheckSerial();
    int Get1stCinemaDate() { return m1stCinemaDate; }

protected:
	void Read(T2Archive& inArchive);
	void Write(T2Archive& inArchive);
	BOOL Check_Serial(char* inSerial);

    BOOL mChanged;
    int m1stCinemaDate;
    T2MovieParamArray *mMovieParamArray;
    char mSerial[20];
};