@@ -28,10 +28,10 @@ Using this code:
2828* Company of Heroes and Company of Heroes Online, Relic Entertainment
2929* Angel Engine, a game prototyping engine http://code.google.com/p/angel-engine/
3030
31- Installing
32- ==========
31+ Compilation
32+ ===========
3333
34- Build in place using :
34+ Build via GCC like so :
3535
3636 g++ findpath.cpp -o findpath
3737
@@ -79,68 +79,12 @@ Microsoft Visual C++ : Confirmed working with version 8.0.50727 with some deprec
7979I'm going to leave the deprecation warnings in so that it still works cleanly with GCC.
8080TODO Make a non-deprecated compliant version using compiler checking
8181
82- GCC notes : Compiled using version 3.4.4
82+ GCC notes : Compiled using version 4.2.1
8383
8484Please let me know if it doesn't work for you and I will try to help. I cannot help if you are using
8585an old compiler such as Turbo C++, since I update the code to meet Ansi Standard C++ as required.
86-
87- At least in as far as the Microsoft and GCC compilers adhere to Ansi and add breaking changes.
88-
89- History:
90-
91- Updated 3rd August 2006
92- -----------------------
93-
94- Fixed memory leak
95- Fixed special case handling for finding better path to a closed node
96- Fixed bug with comparing the start node with a new node by pointer instead of value
97- Changed code to use Manhattan distance heuristic with pathfind.cpp as it is more correct
98-
99-
100- Updated 27th September 2005
101- ---------------------------
102-
103- Thanks to Gyan singh for pointing out the code no longer compiles under GCC.
104-
105- Well, that was the case. I've removed a Gnu offending conio.h include, and added lots more typename
106- keywords, which seem to be required now when making an iterator using a template type.
107-
108- If anyone knows what the breaking change to the compiler was for, let me know.
109-
110- Updated 6th September 2005
111- --------------------------
112-
113- Finally set the path to fsa.h correctly, sorry about that.
114- 8puzzle.cpp now defaults to using a demo puzzle that solves in a short time.
115- Added typename keyword to comply with latest ISO standards.
116-
117- Updated November 26th 2001
118- --------------------------
119-
120- Fixed a bug. When a node is deleted from the Open list I did sort_heap when make_heap
121- is needed to keep the heap structure valid. This causes the search to go awry under some
122- conditions. Thanks to Mike Ryynanen for tracking this down.
123-
124-
125-
126-
127-
128-
129-
130-
131-
132-
133-
134-
135-
136-
137-
138-
139-
140-
141-
142-
143-
14486
14587
88+ Cheers!
14689
90+ Justin
0 commit comments