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/T2MatterDef.h | |
parent | c0c336500955a23e344651e5412c9d9d441ef4ee (diff) | |
download | t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip |
i am in hell
Diffstat (limited to '')
-rw-r--r-- | src/T2DLL/T2MatterDef.h | 14 |
1 files changed, 11 insertions, 3 deletions
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; +} |