#ifndef T2DLL_T2SILHOUETTEDEF_H #define T2DLL_T2SILHOUETTEDEF_H #include "../common.h" #include "T2TemplatePlugin.h" class AFX_CLASS_EXPORT 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; int GetRouteType() const; protected: T2BitImage *mImage; BOOL mHasImage; int mSilhouetteType; int mWidth; int mRouteType; int mResID; char mName[32]; }; inline int T2SilhouetteDef::GetWidth() const { return mWidth; } inline int T2SilhouetteDef::GetRouteType() const { return mRouteType; } #endif