aystar.h
changeset 1459 19333d7f99b3
parent 193 0a7025304867
child 1617 c3d3caad6d1e
equal deleted inserted replaced
1458:d4d918bdb74a 1459:19333d7f99b3
    54  * This function is called to check if the end-tile is found
    54  * This function is called to check if the end-tile is found
    55  *  return values can be:
    55  *  return values can be:
    56  *	AYSTAR_FOUND_END_NODE : indicates this is the end tile
    56  *	AYSTAR_FOUND_END_NODE : indicates this is the end tile
    57  *	AYSTAR_DONE : indicates this is not the end tile (or direction was wrong)
    57  *	AYSTAR_DONE : indicates this is not the end tile (or direction was wrong)
    58  */
    58  */
    59 typedef int32 AyStar_EndNodeCheck(AyStar *aystar, OpenListNode *current);
    59 typedef int32 AyStar_EndNodeCheck(AyStar *aystar, AyStarNode *node);
    60 
    60 
    61 /*
    61 /*
    62  * This function is called to calculate the G-value for AyStar Algorithm.
    62  * This function is called to calculate the G-value for AyStar Algorithm.
    63  *  return values can be:
    63  *  return values can be:
    64  *	AYSTAR_INVALID_NODE : indicates an item is not valid (e.g.: unwalkable)
    64  *	AYSTAR_INVALID_NODE : indicates an item is not valid (e.g.: unwalkable)