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/T2RoutingTable.h | |
parent | c0c336500955a23e344651e5412c9d9d441ef4ee (diff) | |
download | t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.tar.gz t2win-5c6a48b2ff362a70416a6a00fda7d06e0f276f2d.zip |
i am in hell
Diffstat (limited to 'src/T2DLL/T2RoutingTable.h')
-rw-r--r-- | src/T2DLL/T2RoutingTable.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/src/T2DLL/T2RoutingTable.h b/src/T2DLL/T2RoutingTable.h index d42616b..f2c3691 100644 --- a/src/T2DLL/T2RoutingTable.h +++ b/src/T2DLL/T2RoutingTable.h @@ -2,7 +2,7 @@ #include "common.h" #include "LArray.h" -class AFX_EXT_CLASS T2RoutingTable : private LArray { +class AFX_CLASS_EXPORT T2RoutingTable : private LArray { public: T2RoutingTable(T2FloorInfo* inFloorInfo, T2FloorPtrList* inFloorPtrList, int inWhichTable); virtual ~T2RoutingTable(); @@ -33,24 +33,3 @@ protected: T2FloorInfo *mFloorInfo; }; -class AFX_EXT_CLASS T2RoutingTableElem { -public: - T2RoutingTableElem(); - ~T2RoutingTableElem(); - BOOL IsStopFloor() const; - void SetTable(unsigned int inNextFloorID, int inFinalHPos); - BOOL IsSetTable(unsigned int inNextFloorID, unsigned int inScore, int inTime, int inFinalHPos); - BOOL HasNextRoute(unsigned int inFloorID) const; - - unsigned int GetNextFloorID() const { return mNextFloorID; } - unsigned int GetScore() const { return mScore; } - int GetTime() const { return mTime; } - int GetFinalHPos() const { return mFinalHPos; } - BOOL HasRoute() const { return (mNextFloorID != 0); } - -protected: - unsigned int mNextFloorID; - unsigned int mScore; - int mTime; - int mFinalHPos; -}; |