Devilution
Diablo devolved - magic behind the 1996 computer game

◆ path_parent_path()

BOOL path_parent_path ( PATHNODE pPath,
int  dx,
int  dy,
int  sx,
int  sy 
)

add a step from pPath to (dx,dy), return 1 if successful, and update the frontier/visited nodes accordingly

Returns
TRUE if step successfully added, FALSE if we ran out of nodes to use

Definition at line 202 of file path.cpp.