#pragma once #include "common.h" #include "T2TemplatePlugin.h" class AFX_EXT_CLASS T2SilhouetteDef : public T2TemplatePlugin { public: T2SilhouetteDef(DWORD type, T2PluginSpecifier& specifier, CResFile* resFile); virtual ~T2SilhouetteDef(); virtual void GetName(CString& outStr); virtual int GetSortKey() { return mSilhouetteType; } int GetSilhouetteType() { return mSilhouetteType; } int GetSilhouette(int a, int b) { return (a * 3) + b; } int GetWidth() const { return mWidth; } int GetRouteType() const { return mRouteType; } protected: T2BitImage *mImage; BOOL mHasImage; int mSilhouetteType; int mWidth; int mRouteType; int mResID; char mName[32]; };