Mercurial > fife-parpg
diff engine/core/pathfinder/routepather/routepather.h @ 292:6362c6812580
combine routepathersearch and search class to clean up the code.
author | wenlin_fife@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Fri, 26 Jun 2009 18:04:57 +0000 |
parents | f970f7dab2dd |
children | 1465536aec94 |
line wrap: on
line diff
--- a/engine/core/pathfinder/routepather/routepather.h Wed Jun 24 14:12:50 2009 +0000 +++ b/engine/core/pathfinder/routepather/routepather.h Fri Jun 26 18:04:57 2009 +0000 @@ -92,7 +92,7 @@ std::string getName() const { return "RoutePather"; }; private: typedef std::list<Location> Path; - typedef PriorityQueue<Search*, int> SessionQueue; + typedef PriorityQueue<RoutePatherSearch*, int> SessionQueue; typedef std::list<int> SessionList; typedef std::map<int, Path> PathMap; typedef std::map<Layer*, SearchSpace*> SearchSpaceMap;