summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2WordDef.h
blob: 6dc69b0bf6e1738fefd2b1a14c40dc33aa9d332f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once
#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];
};