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/T2MoverRoutingTable.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/T2DLL/T2MoverRoutingTable.h') diff --git a/src/T2DLL/T2MoverRoutingTable.h b/src/T2DLL/T2MoverRoutingTable.h index 4ea411a..a310821 100644 --- a/src/T2DLL/T2MoverRoutingTable.h +++ b/src/T2DLL/T2MoverRoutingTable.h @@ -2,7 +2,7 @@ #include "common.h" #include "LArray.h" -class AFX_EXT_CLASS T2MoverRoutingTable : private LArray { +class AFX_CLASS_EXPORT T2MoverRoutingTable : private LArray { public: T2MoverRoutingTable(T2FloorInfo* inFloorInfo, T2FloorPtrList* inFloorPtrList, T2Mover* inMover); virtual ~T2MoverRoutingTable(); @@ -16,8 +16,8 @@ public: BOOL GetNextRoute(POINT inPt, unsigned int inFloorID, POINT& ioPt, unsigned int inFloorID2, unsigned int& outScore); T2Tenant* SelectNearFloor(POINT inPt, int& outFinalHPos, unsigned int& ioScore); - T2Mover* GetMover() const { return mMover; } - int GetMoverHPos() const { return mMoverHPos; } + T2Mover* GetMover() const; + int GetMoverHPos() const; protected: BOOL IsStopFloor(int inIndex); @@ -31,3 +31,6 @@ protected: T2FloorPtrList *mFloorPtrList; T2FloorInfo *mFloorInfo; }; + +inline T2Mover* T2MoverRoutingTable::GetMover() const { return mMover; } +inline int T2MoverRoutingTable::GetMoverHPos() const { return mMoverHPos; } -- cgit v1.2.3