blob: 68941294dea65540eb391266b7a0272357a91d90 (
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
|
#pragma once
#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;
}
|