From: <js...@us...> - 2005-12-18 01:29:58
|
Update of /cvsroot/exult/exult/pathfinder In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28425/pathfinder Modified Files: path.cc Log Message: Removed use of vec.h Index: path.cc =================================================================== RCS file: /cvsroot/exult/exult/pathfinder/path.cc,v retrieving revision 1.36 retrieving revision 1.37 diff -u -d -r1.36 -r1.37 --- path.cc 17 Dec 2005 20:12:09 -0000 1.36 +++ path.cc 18 Dec 2005 01:29:45 -0000 1.37 @@ -27,11 +27,11 @@ #include "hash_utils.h" #include "PathFinder.h" #include "exult_constants.h" -#include "vec.h" using std::cout; using std::endl; using std::size_t; +using std::vector; Tile_coord *Find_path ( @@ -285,7 +285,7 @@ */ class A_star_queue { - Exult_vector<Search_node*> open;// Nodes to be done, by priority. Each + vector<Search_node*> open; // Nodes to be done, by priority. Each // is a ->last node in chain. int best; // Index of 1st non-null ent. in open. // For finding each tile's node: |