|
|||||||||||||||||||||||
|
Need a shoulder to cry on while trying to convince Windows to properly work with our software? Just want to chat about something related to the site? Feel free to use the forums slash news slash blog. (Unsolicited commercial spam will be deleted, obviously.) |
Looking for something?
|
|
Subject: Pathfinder2d: Where is the shortest path saved? Author: Todd Coleman Date/Time: 11/8/2003 12:05:08 AM (237.0) Just a quick question. I`m using some of the Pathfinder2d code in a web-based, real-time strategy game. I`ve basically pulled the AStarHeapInteger code out and ported it to C#. That doesn`t take too much brainpower. Just neuter the pointer references and a couple other miner tweaks here and there and it`s ready to go. |
|||
|
Subject: RE:Pathfinder2d: Where is the shortest path saved? Author: Lewis Sellers Date/Time: 11/10/2003 1:10:11 PM (238.237) A good question. (Tries to remember.) As I recall, what I did was that since I had to reference the map data anyway, I stored final movement for that method in routes. The heap/nodes are only used when computing the path. |