summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2WordDef.h
blob: 8613c7b04377ca4d1a67bed92f7695ae3c80fa10 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#ifndef T2DLL_T2WORDDEF_H
#define T2DLL_T2WORDDEF_H
#include "../common.h"

class AFX_CLASS_EXPORT T2WordDef {
public:
	T2WordDef();
	void Read(CResFile&);
	virtual ~T2WordDef();
	void GetWords(unsigned int sex, unsigned int age, unsigned int flags, unsigned int level, CString& outStr) const;

protected:
	unsigned int mSexMask;
	unsigned int mAgeMask;
	unsigned int mFlags;
	unsigned int mLevel;
	char mStr[32];
};
#endif