Mercurial > fife-parpg
comparison engine/core/pathfinder/routepather/routepather.h @ 300:1465536aec94
* Reverting revisions 2937 - 2947; these have been pathfinding related changes that partially broke some FIFE-based 3rd party games
* trunk has been copied to branches/active/pathfinding before the revert, so you can continue to work on the pathfinding changes without the risk of breaking trunk by accident
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Mon, 06 Jul 2009 19:51:22 +0000 |
parents | 6362c6812580 |
children | 8afb9b443f66 |
comparison
equal
deleted
inserted
replaced
299:ff8bc835260c | 300:1465536aec94 |
---|---|
90 SearchSpace* getSearchSpace(Layer * const layer); | 90 SearchSpace* getSearchSpace(Layer * const layer); |
91 | 91 |
92 std::string getName() const { return "RoutePather"; }; | 92 std::string getName() const { return "RoutePather"; }; |
93 private: | 93 private: |
94 typedef std::list<Location> Path; | 94 typedef std::list<Location> Path; |
95 typedef PriorityQueue<RoutePatherSearch*, int> SessionQueue; | 95 typedef PriorityQueue<Search*, int> SessionQueue; |
96 typedef std::list<int> SessionList; | 96 typedef std::list<int> SessionList; |
97 typedef std::map<int, Path> PathMap; | 97 typedef std::map<int, Path> PathMap; |
98 typedef std::map<Layer*, SearchSpace*> SearchSpaceMap; | 98 typedef std::map<Layer*, SearchSpace*> SearchSpaceMap; |
99 typedef std::map<int, Location> LocationMap; | 99 typedef std::map<int, Location> LocationMap; |
100 /** Makes the instance follow the given path. | 100 /** Makes the instance follow the given path. |