From 5c6a48b2ff362a70416a6a00fda7d06e0f276f2d Mon Sep 17 00:00:00 2001 From: Ash Wolf Date: Sat, 1 Jul 2023 02:43:29 +0100 Subject: i am in hell --- src/T2DLL/T2SilhouetteDef.h | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to 'src/T2DLL/T2SilhouetteDef.h') 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; +} -- cgit v1.2.3