summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2GlobalData.h
blob: 1e13644f6f9690fd254d7be7e4423568e100bc2a (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; }

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

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