nint22 / dwarfcraft

Automatically exported from code.google.com/p/dwarfcraft
Other
0 stars 0 forks source link

Dwarf random paths should be based on flood-fill valid paths #192

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently when a dwarf idles and walks around, the target is just a randomly 
chosen block. Instead, using a flood-fill algo (BFS is best), find all 
reachable locations within a set distance and path to one.

Original issue reported on code.google.com by nin...@gmail.com on 14 Mar 2012 at 11:34