summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2HaveOutViewObject.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/T2HaveOutViewObject.h
parentc0c336500955a23e344651e5412c9d9d441ef4ee (diff)
downloadt2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz
t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip
i am in hell
Diffstat (limited to 'src/T2DLL/T2HaveOutViewObject.h')
-rw-r--r--src/T2DLL/T2HaveOutViewObject.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/T2DLL/T2HaveOutViewObject.h b/src/T2DLL/T2HaveOutViewObject.h
index a035fa1..73081ed 100644
--- a/src/T2DLL/T2HaveOutViewObject.h
+++ b/src/T2DLL/T2HaveOutViewObject.h
@@ -2,7 +2,7 @@
#include "common.h"
#include "T2DrawableObject.h"
-class AFX_EXT_CLASS T2HaveOutViewObject : public T2DrawableObject {
+class AFX_CLASS_EXPORT T2HaveOutViewObject : public T2DrawableObject {
public:
T2HaveOutViewObject();
virtual ~T2HaveOutViewObject();
@@ -15,8 +15,7 @@ public:
T2ToolDef* GetToolDef() const;
void SetToolDef(T2ToolDef*);
int CalcMentenanceCost(T2TowerDoc*) const;
-
- unsigned int GetValiation() const { return mValiation; }
+ unsigned int GetValiation() const;
T2ToolDef *mToolDef;
int mRefCon;
@@ -27,3 +26,7 @@ protected:
virtual void SetUsed(BOOL inUsed);
virtual void InitLoaded();
};
+
+inline unsigned int T2HaveOutViewObject::GetValiation() const {
+ return mValiation;
+}