[Ohrrpgce] SVN: james/8775 Pathfinding: now works properly over the edges of wraparound maps

subversion at HamsterRepublic.com subversion at HamsterRepublic.com
Mon May 29 13:28:50 PDT 2017


james
2017-05-29 13:28:49 -0700 (Mon, 29 May 2017)
327
Pathfinding: now works properly over the edges of wraparound maps
moved xypair_direction_to() from util.bas to walkabouts.bas because it needs to be aware of map width/height
Added error checking for a case where an empty node gets included in the parent chain, so it won't crash anymore, but I don't know why it is happening.
---
U   wip/pathfinding.bas
U   wip/pathfinding.bi
U   wip/testgame/a-star.rpg
U   wip/util.bas
U   wip/util.bi
U   wip/walkabouts.bas
U   wip/walkabouts.bi


More information about the Ohrrpgce mailing list