#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