summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2FloorInfo.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/T2FloorInfo.h
parentc0c336500955a23e344651e5412c9d9d441ef4ee (diff)
downloadt2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz
t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip
i am in hell
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2FloorInfo.h42
1 files changed, 28 insertions, 14 deletions
diff --git a/src/T2DLL/T2FloorInfo.h b/src/T2DLL/T2FloorInfo.h
index d76eac9..bcb6165 100644
--- a/src/T2DLL/T2FloorInfo.h
+++ b/src/T2DLL/T2FloorInfo.h
@@ -1,7 +1,7 @@
#pragma once
#include "common.h"
-class AFX_EXT_CLASS T2FloorInfo {
+class AFX_CLASS_EXPORT T2FloorInfo {
public:
T2FloorInfo(const T2WorldDef* inWorldDef);
virtual ~T2FloorInfo();
@@ -63,19 +63,19 @@ public:
T2Tenant* GetTenantByPID(DWORD inPluginID);
BOOL BuildFinishForce(const RECT& inRect);
- int GetVRange() const { return mVRange; }
- int GetHRange() const { return mHRange; }
- int GetGroundLine() const { return mGroundLine; }
- int GetTopFloorLine() const { return mTopFloorLine; }
- int GetBottomFloorLine() const { return mBottomFloorLine; }
- int GetEntranceWidth() const { return mEntranceWidth; }
- void GetBuildArea(RECT& outRect) const { outRect = mBuildArea; }
- void GetFloorArea(RECT& outRect) const { outRect = mFloorArea; }
- T2TenantArrayList* GetTenantArrayList() const { return mTenantArrayList; }
- T2MoverArrayList* GetMoverArrayList() const { return mMoverArrayList; }
- T2RequestArrayList* GetRequestArrayList() const { return mRequestArrayList; }
- T2OutObjArrayList* GetOutObjArrayList() const { return mOutObjArrayList; }
- T2OutsideInfo* GetOutsideInfo() const { return mOutsideInfo; }
+ int GetVRange() const;
+ int GetHRange() const;
+ int GetGroundLine() const;
+ int GetTopFloorLine() const;
+ int GetBottomFloorLine() const;
+ int GetEntranceWidth() const;
+ void GetBuildArea(RECT& outRect) const;
+ void GetFloorArea(RECT& outRect) const;
+ T2TenantArrayList* GetTenantArrayList() const;
+ T2MoverArrayList* GetMoverArrayList() const;
+ T2RequestArrayList* GetRequestArrayList() const;
+ T2OutObjArrayList* GetOutObjArrayList() const;
+ T2OutsideInfo* GetOutsideInfo() const;
int mVRange;
int mHRange;
@@ -98,3 +98,17 @@ protected:
int CalcRequestRightEnd(POINT inPt, int inMaxH);
int CalcRequestLeftEnd(POINT inPt, int inMinH);
};
+
+inline int T2FloorInfo::GetVRange() const { return mVRange; }
+inline int T2FloorInfo::GetHRange() const { return mHRange; }
+inline int T2FloorInfo::GetGroundLine() const { return mGroundLine; }
+inline int T2FloorInfo::GetTopFloorLine() const { return mTopFloorLine; }
+inline int T2FloorInfo::GetBottomFloorLine() const { return mBottomFloorLine; }
+inline int T2FloorInfo::GetEntranceWidth() const { return mEntranceWidth; }
+inline void T2FloorInfo::GetBuildArea(RECT& outRect) const { outRect = mBuildArea; }
+inline void T2FloorInfo::GetFloorArea(RECT& outRect) const { outRect = mFloorArea; }
+inline T2TenantArrayList* T2FloorInfo::GetTenantArrayList() const { return mTenantArrayList; }
+inline T2MoverArrayList* T2FloorInfo::GetMoverArrayList() const { return mMoverArrayList; }
+inline T2RequestArrayList* T2FloorInfo::GetRequestArrayList() const { return mRequestArrayList; }
+inline T2OutObjArrayList* T2FloorInfo::GetOutObjArrayList() const { return mOutObjArrayList; }
+inline T2OutsideInfo* T2FloorInfo::GetOutsideInfo() const { return mOutsideInfo; }