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