summaryrefslogtreecommitdiff
path: root/src/T2DLL/T2RouteNavigator.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/T2RouteNavigator.h
parentc0c336500955a23e344651e5412c9d9d441ef4ee (diff)
downloadt2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz
t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip
i am in hell
Diffstat (limited to '')
-rw-r--r--src/T2DLL/T2RouteNavigator.h9
1 files changed, 6 insertions, 3 deletions
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;
+}