diff options
author | Ash Wolf <ninji@wuffs.org> | 2023-07-01 02:43:29 +0100 |
---|---|---|
committer | Ash Wolf <ninji@wuffs.org> | 2023-07-01 02:43:29 +0100 |
commit | 5c6a48b2ff362a70416a6a00fda7d06e0f276f2d (patch) | |
tree | 62cf542c68d91aa6f7a4e3bfa9eddca4ab352970 /src/T2DLL/T2SilhouetteDef.h | |
parent | c0c336500955a23e344651e5412c9d9d441ef4ee (diff) | |
download | t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip |
i am in hell
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2SilhouetteDef.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/T2DLL/T2SilhouetteDef.h b/src/T2DLL/T2SilhouetteDef.h index 5675c90..ba3b750 100644 --- a/src/T2DLL/T2SilhouetteDef.h +++ b/src/T2DLL/T2SilhouetteDef.h @@ -2,7 +2,7 @@ #include "common.h" #include "T2TemplatePlugin.h" -class AFX_EXT_CLASS T2SilhouetteDef : public T2TemplatePlugin { +class AFX_CLASS_EXPORT T2SilhouetteDef : public T2TemplatePlugin { public: T2SilhouetteDef(DWORD type, T2PluginSpecifier& specifier, CResFile* resFile); virtual ~T2SilhouetteDef(); @@ -11,8 +11,8 @@ public: 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; } + int GetWidth() const; + int GetRouteType() const; protected: T2BitImage *mImage; @@ -22,4 +22,13 @@ protected: int mRouteType; int mResID; char mName[32]; + }; + +inline int T2SilhouetteDef::GetWidth() const { + return mWidth; +} + +inline int T2SilhouetteDef::GetRouteType() const { + return mRouteType; +} |