blob: 37c813a336ddef1451fb573dec70730c176b6e14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef T2DLL_T2MATTERDEF_H
#define T2DLL_T2MATTERDEF_H
#include "../common.h"
#include "T2TemplatePlugin.h"
class AFX_CLASS_EXPORT T2MatterDef : public T2TemplatePlugin {
public:
T2MatterDef(DWORD type, T2PluginSpecifier& specifier, CResFile* resFile);
virtual ~T2MatterDef();
virtual void GetName(CString& outStr);
virtual void AssignSilhouette(T2TemplatePluginList* list);
virtual int GetSortKey() { return mSortKey; }
int GetAttribute() const;
virtual T2SilhouetteDef* GetSilhouetteDef() const;
int mSortKey;
int mAttribute;
int mSilhouetteID;
T2SilhouetteDef *mSilhouetteDef;
};
inline int T2MatterDef::GetAttribute() const {
return mAttribute;
}
inline /*virtual*/ T2SilhouetteDef* T2MatterDef::GetSilhouetteDef() const {
return mSilhouetteDef;
}
#endif
|