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/T2RouteNavigator.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'src/T2DLL/T2RouteNavigator.h') diff --git a/src/T2DLL/T2RouteNavigator.h b/src/T2DLL/T2RouteNavigator.h index 1ba8749..a667e07 100644 --- a/src/T2DLL/T2RouteNavigator.h +++ b/src/T2DLL/T2RouteNavigator.h @@ -10,7 +10,7 @@ enum { kMaxRouteType = 4 }; -class AFX_EXT_CLASS T2RouteNavigator { +class AFX_CLASS_EXPORT T2RouteNavigator { public: T2RouteNavigator(T2FloorInfo* inFloorInfo); virtual ~T2RouteNavigator(); @@ -24,8 +24,7 @@ public: BOOL IsConnectRouteFromLobby(POINT inPt) const; BOOL GetNextRoute(POINT inFromPt, POINT& ioToPt, int inRouteType) const; T2Tenant* SelectNearTenant(POINT inPt, unsigned int inSearchScore) const; - - T2FloorPtrList* GetFloorPtrList() const { return mFloorPtrList; } + T2FloorPtrList* GetFloorPtrList() const; protected: BOOL GetNextRouteUsingEStair(POINT inFromPt, POINT&) const; @@ -34,3 +33,7 @@ protected: T2FloorInfo *mFloorInfo; T2RoutingTable *mRoutingTables[kMaxRouteType]; }; + +inline T2FloorPtrList* T2RouteNavigator::GetFloorPtrList() const { + return mFloorPtrList; +} -- cgit v1.2.3