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/T2MatterDef.h | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src/T2DLL/T2MatterDef.h') diff --git a/src/T2DLL/T2MatterDef.h b/src/T2DLL/T2MatterDef.h index 62cf41c..6894129 100644 --- a/src/T2DLL/T2MatterDef.h +++ b/src/T2DLL/T2MatterDef.h @@ -2,7 +2,7 @@ #include "common.h" #include "T2TemplatePlugin.h" -class AFX_EXT_CLASS T2MatterDef : public T2TemplatePlugin { +class AFX_CLASS_EXPORT T2MatterDef : public T2TemplatePlugin { public: T2MatterDef(DWORD type, T2PluginSpecifier& specifier, CResFile* resFile); virtual ~T2MatterDef(); @@ -10,11 +10,19 @@ public: virtual void AssignSilhouette(T2TemplatePluginList* list); virtual int GetSortKey() { return mSortKey; } - int GetAttribute() const { return mAttribute; } - virtual T2SilhouetteDef* GetSilhouetteDef() const { return mSilhouetteDef; } + int GetAttribute() const; + virtual T2SilhouetteDef* GetSilhouetteDef() const; int mSortKey; int mAttribute; int mSilhouetteID; T2SilhouetteDef *mSilhouetteDef; }; + +inline int T2MatterDef::GetAttribute() const { + return mAttribute; +} + +inline /*virtual*/ T2SilhouetteDef* T2MatterDef::GetSilhouetteDef() const { + return mSilhouetteDef; +} -- cgit v1.2.3