summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2SilhouetteDef.h
diff options
context:
space:
mode:
authorAsh Wolf <ninji@wuffs.org>2023-07-01 02:43:29 +0100
committerAsh Wolf <ninji@wuffs.org>2023-07-01 02:43:29 +0100
commit5c6a48b2ff362a70416a6a00fda7d06e0f276f2d (patch)
tree62cf542c68d91aa6f7a4e3bfa9eddca4ab352970 /src/T2DLL/T2SilhouetteDef.h
parentc0c336500955a23e344651e5412c9d9d441ef4ee (diff)
downloadt2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz
t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip
i am in hell
Diffstat (limited to 'src/T2DLL/T2SilhouetteDef.h')
-rw-r--r--src/T2DLL/T2SilhouetteDef.h15
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;
+}